Qm

Doubling up until you lose

You start with 1 dollar and a fair coin. You bet your entire bankroll on heads. If you win, your bankroll doubles and you bet the whole thing again. You plan to stop after n consecutive wins, or when you first lose.

  1. What is the expected value of your final bankroll?
  2. What is the probability that you end with more than you started with?
  3. What does this say about using expected value alone to judge a gamble?
Show a hint

Each bet is fair, so the expected value after each bet equals the value before it. Then look at what actually happens in almost every run.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Is chuck-a-luck a fair game?One bid for a widget of unknown valueThe gladiators who absorb their opponents' strengthHow much to bet on a coin that lands heads 60 per cent of the timeIs 1, 2, 3, 4, 5, 6 a bad lottery ticket?
All questions →