Quoto

Learn / Library / Expected value

Unlimited paid rerolls

Expected valueHard

You roll a fair -sided die. After each roll you may stop and take the face as payoff, or pay a fee of and roll again. There is no limit on the number of rerolls. The net payoff is the last face minus the total fees paid. Playing optimally, what is the expected net payoff before the first roll?

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Let be the value before a roll; rerolling restarts the game at a cost, giving an equation for itself.

Solution
  1. Let be the optimal expected value before a roll. After seeing face you either keep or pay and restart, worth .
  2. So you keep exactly when , and satisfies .
  3. Guess that faces to are kept: , so .
  4. Then , so face is rerolled and face is kept, which confirms the guess.
  5. The expected net payoff is .

Answer: