← All problems

82.Roll Until a Six Ruins You

★★★
optimal stoppingJane Street
You roll a fair six-sided die repeatedly, accumulating the total of your rolls. You may stop at any point and keep the total, but if you ever roll a 6 your score drops to 0 and the game ends. Playing optimally, what is your expected score?

Sign in to submit an answer and track it toward your stats.

Sign in

Want timed drills, mental math, and a market-making game too? Try the full practice suite →