eh i went ahead and did this brilliant.org/community-prob
Conversation
Replying to
In general it is (total number of tails so far +1)/(total number of flips so far +2)
Replying to
You mean if it is from range [p,q] not [0,1]? Then integrals become messy and there is no neat and short formula I think.
1
Show replies

