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.
- What is the expected value of your final bankroll?
- What is the probability that you end with more than you started with?
- 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
- No full solutions here. Hints and approaches only.
- Complexity, edge cases and intuition are the point.
- 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 →