P227
projecteuler.net

The Chase

ℹ️Published on Saturday, 10th January 2009, 01:00 am; Solved by 2354;
Difficulty rating: 65%

The Chase is a game played with two dice and an even number of players.

The players sit around a table and the game begins with two opposite players having one die each. On each turn, the two players with a die roll it.

If the player rolls 1, then the die passes to the neighbour on the left.
If the player rolls 6, then the die passes to the neighbour on the right.
Otherwise, the player keeps the die for the next turn.

The game ends when one player has both dice after they have been rolled and passed; that player has then lost.

In a game with 100 players, what is the expected number of turns the game lasts?

Give your answer rounded to ten significant digits.



Soluzione

Last modified: May 01, 2025. Website built with Franklin.jl and the lovely Julia programming language.