Quant Memo
Probability/●●●●

How many flips until the gambler stops?

Asked at Jane Street, Citadel

You start with \20andrepeatedlybetand repeatedly bet$1onafaircoinflip,stoppingwhenyoureachon a fair coin flip, stopping when you reach$100orgobroke.Youalreadyknowtheprobabilityofreachingor go broke. You already know the probability of reaching$100isis\tfrac15$.

What is the expected number of bets you make before stopping?

Show a hint

Let DiD_i be the expected number of remaining bets from bankroll ii. Write a one-step recurrence: one bet happens now, then you are at i1i-1 or i+1i+1.

Your answer

More Probability questions