First to three of a kind in a row

Anna wins the moment three heads appear in a row; Brenda wins the moment three tails appear in a row. You flip a fair coin until one of them wins. What is the expected number of flips?

Show hints (2)+
  1. By symmetry track just the current run length kk; a mismatch resets you to run length 11, not 00.
  2. Solve e1=1+12e2+12e1, e2=1+12e1e_1=1+\tfrac12 e_2+\tfrac12 e_1,\ e_2=1+\tfrac12 e_1 to get e1=6e_1=6, then add the first flip. (Or 2312^3-1.)

Answer

Reveal answer →

7

Want the full step-by-step worked solution? It's part of Premium - along with a worked solution for every question in the bank.

Asked at: Jane Street, SIG

Related questions