Page 2 of 2
consecutive lottery balls
Posted: January 26th, 2007, 8:03 pm
by villi
consecutive lottery balls
Posted: March 1st, 2007, 9:20 pm
by wizwx
Correct me if my calculation is wrong.It is easier to calculate the probability that there is no two consecutive balls, and the probability isnchoosek(44, 6)/nchoosek(49, 6) = 0.5048.However this does not agree with alexandreC's simulation.The basic idea is that we can think of choosing 6 non-consecutive balls in the following pattern...../*/..../_/*/...../_/*/...../_/*/...../_/*/...../_/*/.....where /*/ stands for the ball we select. "...." stands for the balls between the selections, it can be zero, or any other possible values. For the latter 5 balls, imagine that we combine it with the ball right before it. It ensures a) no two balls selected are consecutive, b) every selection can be mapped into one and only one pattern specified above. The # of possible pattern is nchoosek(49-5, 6) = nchoosek(45, 6).
consecutive lottery balls
Posted: March 1st, 2007, 9:47 pm
by MCarreira
That is what I got ... the answer would be then 1-Binomial[44,6]/Binomial[49,6] (or 0.495198). The general result matched the direct counting results for a lower number of balls.
consecutive lottery balls
Posted: March 2nd, 2007, 5:41 am
by Disptra