- #1
member 428835
Hi PF!
Given a die with probability ##p## for heads, how many flips to achieve HHTH?
The method I was thinking is Markov chains: $$E = (1-p)(E+1)+p(1-p)(2+E)+p^3(3+E) + p^2(1-p)^2(4+E) + p^3(1-p)4$$ and solve this for ##E##, which implies 30 flips on average for a fair sided coin. My thought process was to find the expected number of tosses for H, HT, HHH, HHTT, HHTH respectively (each separated by a sum ##+## respectively).
Is this correct? If so, is there an approach to this using expected value and infinite sums?
Given a die with probability ##p## for heads, how many flips to achieve HHTH?
The method I was thinking is Markov chains: $$E = (1-p)(E+1)+p(1-p)(2+E)+p^3(3+E) + p^2(1-p)^2(4+E) + p^3(1-p)4$$ and solve this for ##E##, which implies 30 flips on average for a fair sided coin. My thought process was to find the expected number of tosses for H, HT, HHH, HHTT, HHTH respectively (each separated by a sum ##+## respectively).
Is this correct? If so, is there an approach to this using expected value and infinite sums?