Roll a die with two re-rolls allowed, price it
Asked at SIG, Optiver
You roll a fair six-sided die and are paid its face value in dollars. This time you may re-roll up to twice (so up to three rolls in total), and whenever you re-roll you must keep taking the later roll unless you still have a re-roll left.
What is the optimal strategy, and what is the fair value of the game?
Show a hint
Solve the one-re-roll game first. Its value is the continuation value for the very first roll.