2004 AMC 10A Problem 8
A game is played with tokens according to the following rule. In each round, the player with the most tokens gives one token to each of the other players and also places one token in the discard pile. The game ends when some player runs out of tokens. Players , , and start with , , and tokens, respectively. How many rounds will there be in the game?
Show solution without answering
Key insight
Every three rounds, each player ends up with exactly one fewer token. So after 36 rounds they hold 3, 2, 1, and round 37 leaves A with nothing.
Solution
1. Play a few rounds by hand, writing the holdings of . In each round the leader loses and the other two gain each.
2. Compare the start with the result after rounds: became . The pattern is the same, but everyone has exactly one token fewer.
3. Why this happens: in those three rounds each player is the leader once, paying tokens, and receives token in each of the other two rounds. The net change is for everybody.
4. So every block of rounds takes one token from each player. After blocks, which is rounds, the holdings are
Nobody has hit zero yet, since the smallest amount in each block is still at least .
5. Round : has the most, tokens, and gives them all away (one to , one to , one to the discard pile). Now has and the game ends.
The answer is .
Why this works
Repeated processes on the AMC usually fall into a short cycle. Play until the situation looks the same as before except for a simple shift, find how much changes per cycle, and jump ahead. The last few rounds must still be played one at a time, because the game checks for zero after every round.
Concise solution
A shorter write-up, the way contest solutions are usually written. It may take a different route from the solution above.
Simulate the first few rounds, listing :
After three rounds the holdings are again "consecutive, decreasing in the order ," but each player has exactly one token fewer. This makes sense: in a three-round block every player leads once, paying tokens, and receives token in each of the other two rounds, for a net loss of .
So after rounds the holdings are . Taking , after rounds the players hold ; nobody has hit zero yet, since within each block the smallest count is at least less than the leader's starting count.
In round , player has the most tokens () and must give away all three, one to each opponent and one to the discard pile. now has tokens and the game ends.
The answer is .
Review in the AoPS books
- Intermediate Counting & Probability, Chapter 13: Events With States (§13.4)
- Prealgebra, Chapter 15: Problem-Solving Strategies (§15.1)
- Introduction to Number Theory, Chapter 12: Introduction to Modular Arithmetic (§12.6)
Similar problems
Problem © Mathematical Association of America (MAA), American Mathematics Competitions. Reproduced for non-commercial educational use. Solution and commentary are original to this site. Also appeared as 2004 12A #7.