@Arpit: No. The probability of getting 6 consecutive heads is 1/5 * 1 + 4/5 * (1/2)^6 ) = 17/80, while the probability of getting 5 consecutive heads is 1/5 * 1 + 4/5 * (1/2)^6 ) = 9/40. Thus, the probability of getting a head on the sixth roll given that you have gotten heads on all five previous rolls is (17/80) / (9/40), which is 17/18.
Dave On Aug 9, 7:59 am, "arpit.gupta" <[email protected]> wrote: > it is (1/5)/( (4/5 *(1/2)^6) + (1/5 * 1)) = 80/85 = 16/17 > > On Aug 7, 10:54 pm, Nitish Garg <[email protected]> wrote: > > > > > Should be (4/5 *(1/2)^6) + (1/5 * 1) = 17/80 -- You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/algogeeks?hl=en.
