According to Google translate, "driemaal is scheepsrecht" means "third time lucky" in Dutch.
I was wondering who would try this one, and how many iterations it would take. :-)
You can also try this solution style with another Cody problem.
http://www.mathworks.com/matlabcentral/cody/problems/648-cumulative-probability-of-finding-an-unlikely-combination
233 Solvers
Make a random, non-repeating vector.
2819 Solvers
171 Solvers
Generate a vector like 1,2,2,3,3,3,4,4,4,4
3641 Solvers
408 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!