Problem 2872. Feeling lucky?
Solution Stats
Problem Comments
Solution Comments
-
3 Comments
James
on 28 Jan 2015
And this is why I don't gamble: Twenty-two consecutive incorrect answers using randi(10).
Alfonso Nieto-Castanon
on 28 Jan 2015
p=.0985 (ns), now if someone makes it to 29 consecutive wrong answers that would be some significant bad luck :)
James
on 29 Jan 2015
There's an XKCD about results like this: http://xkcd.com/1478/
Problem Recent Solvers81
Suggested Problems
-
Sum all integers from 1 to 2^n
11078 Solvers
-
Number of 1s in a binary string
5244 Solvers
-
303 Solvers
-
321 Solvers
-
Sum the squares of numbers from 1 to n
192 Solvers
More from this Author1
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!