Qm

The monkey who rolls again on a six

A monkey rolls a fair six-sided die. If it shows 1 to 5, the monkey eats that many bananas and stops. If it shows 6, the monkey eats 5 bananas and rolls again, and the same rule applies to every subsequent roll, possibly forever.

What is the expected total number of bananas the monkey eats?

Show a hint

Call the expected total E. After a six the monkey has eaten 5 and is back where it started, so it expects E more.

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?The country where every family wants a boyThe gambler's two betsRelabel one die so that every total is equally likelyThe expected length of the middle piece
All questions →