Assume a coin has a probability p to get a head H. Suppose a coin is tossed until the partern T,T appear in the last 2 tosses. Once he got T,T then the game is finished. What is the expected number of flips is expected for the game?
I tried to find out the distribution of $N$ where $N$ stands for the expected value of the no. of tosses before getting T,T, but i don't know what kind of distribution is that, seems need another apporaches
1+n
, notn
. This happens with probabilityp
hencem = (1-p)1 + p(1+n) = 1 + pn
. – Did Nov 07 '12 at 23:43