MathCastle
Counting & ProbabilityHardExpected Value, Linearity & Advanced Probability

Expected Value, Linearity & Advanced Probability · Hard problem

A biased coin shows heads with probability 23\tfrac23. Find the expected number of flips until two consecutive heads first appear.

The answer is a fraction mn\tfrac{m}{n} in lowest terms; find m+nm + n.