@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" <arpitg1...@gmail.com> 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 <nitishgarg1...@gmail.com> 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 algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to