Problem 277. chance in percent for minimum K heads when a good coin is tossed N times?
For example, chance is 100% for minimum 0 heads when a coin is tossed 7 times. Chance is 50% for minimum 2 heads when a coin is tossed 3 times. Chance is 0% for minimum 12 heads when a coin is tossed 11 times.
Solution Stats
Problem Comments
-
1 Comment
Martijn
on 9 Feb 2012
this problem could use some nontrivial testcases
Solution Comments
Show commentsProblem Recent Solvers52
Suggested Problems
-
Return the 3n+1 sequence for n
8374 Solvers
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1897 Solvers
-
120 Solvers
-
Penny flipping - calculate winning probability (easy)
183 Solvers
-
Given a matrix, swap the 2nd & 3rd columns
1169 Solvers
More from this Author100
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!