Topics / Counting & Probability
Games & Processes
Turn-based games, iterated processes, tournaments, scheduling
## What you need to know
- Round-robin: teams each playing every other once play games, which is also the total number of wins.
- Single elimination: players need exactly matches; each match eliminates one player.
- Invariants: a parity or residue preserved by every step rules out impossible final states.
- Winning and losing positions: a position is losing if every move leads to a winning position, winning if some move leads to a losing one; in "remove to stones," multiples of are losing.
## How AMC 10 tests it
- Problems 5–12: games in a tournament, handshakes at a party, days until a schedule repeats.
- Problems 12–20: a number is repeatedly transformed by a rule; find its value after many steps.
- Problems 15–22: two-player take-away games, asking which starting sizes are first-player wins.
- Problems 18–25: an iterated process with a counting answer.
## Standard approaches
1. Simulate the first several steps; a cycle or pattern usually appears quickly.
2. Look for an invariant (parity, sum mod ) the process preserves.
3. For two-player games, work backward from the end, labeling positions W or L.
4. For tournaments, use total wins to set up an equation.
5. For "how many starting values," find the pattern and count with divisibility.
## Worked example
Alice and Bob alternately remove , , or coins from a pile of coins, Alice first; whoever takes the last coin wins. For how many integers with does Bob have a winning strategy?
(A) (B) (C) (D) (E)
Solution. Call losing if the player to move loses under best play. is losing; is winning exactly when some move lands on a losing position. Computing upward: W, L, – W, L, W, L, – W, L, L. Since the status of depends only on , , , the pattern has period : losing positions are or . Bob wins exactly when the start is losing. For , multiples of give values and gives . Total , answer .
## Pitfalls
- Counting round-robin games as instead of .
- Stopping a simulation before the cycle has clearly repeated and extrapolating a false pattern.
- Labeling a position W because one move leads to W; it must lead to an L position.
- Off-by-one errors between "after steps" and "at step ."
Traps that recur
- Treating the game as ordinary Nim (using wall sizes 6, 2, 1 directly) even though removing a middle brick splits a wall into two. (2021 AMC 10B #24)
- Treating the 18 games as freely arrangeable (choosing which 3 go in each round) without enforcing that every player plays exactly once per round. (2013 AMC 10A #24)
- Reporting the number of transitive triples, 945 (choice C), or the total number of triples, 1330 (choice E), instead of their difference. (2016 AMC 10B #22)
- Trying to simulate all the exchanges by hand, or assuming the process ends with 0 tokens of each color. (2013 AMC 10B #17)
Problems, easiest first
What is the minimum number of successive swaps of adjacent letters in the string that are needed to change the string to (For example, swaps are required to change to one such sequence of swaps is )
Mia is “helping” her mom pick up toys that are strewn on the floor. Mia’s mom manages to put toys into the toy box every seconds, but each time immediately after those seconds have elapsed, Mia takes toys out of the box. How much time, in minutes, will it take Mia and her mom to put all toys …
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 …
There are players in a single tennis tournament. The tournament is single elimination, meaning that a player who loses a match is eliminated. In the first round, the strongest players are given a bye, and the remaining players are paired off to play. After each round, the remaining players play in the …
Jerry likes to play with numbers. One day, he wrote all the integers from to on the whiteboard. Then he repeatedly chose four numbers on the whiteboard, erased them, and replaced them by either their sum or their product. (For example, Jerry's first step might have been to erase , , , and , …
In a table tennis tournament every participant played every other participant exactly once. Although there were twice as many right-handed players as left-handed players, the number of games won by left-handed players was more than the number of games won by right-handed players. (There were no ties and no …
Bela and Jenn play the following game on the closed interval of the real number line, where is a fixed integer greater than . They take turns playing, with Bela going first. At his first turn, Bela chooses any real number in the interval . Thereafter, the player whose turn it is chooses a real …
Bernardo and Silvia play the following game. An integer between 0 and 999, inclusive, is selected and given to Bernardo. Whenever Bernardo receives a number, he doubles it and passes the result to Silvia. Whenever Silvia receives a number, she adds 50 to it and passes the result to Bernardo. The winner is the last …
In a round-robin tournament with 6 teams, each team plays one game against each other team, and each game results in one team winning and one team losing. At the end of the tournament, the teams are ranked by the number of games won. What is the maximum number of teams that could be tied for the most wins at the end of …
A set of teams held a round-robin tournament in which every team played every other team exactly once. Every team won games and lost games; there were no ties. How many sets of three teams were there in which beat , beat , and beat
Alex has red tokens and blue tokens. There is a booth where Alex can give two red tokens and receive in return a silver token and a blue token, and another booth where Alex can give three blue tokens and receive in return a silver token and a red token. Alex continues to exchange tokens until no more …
Seven students count from 1 to 1000 as follows: - Alice says all the numbers, except she skips the middle number in each consecutive group of three numbers. That is, Alice says 1, 3, 4, 6, 7, 9, ..., 997, 999, 1000. - Barbara says all of the numbers that Alice doesn't say, except she also skips the middle number in …
Arjun and Beth play a game in which they take turns removing one brick or two adjacent bricks from one "wall" among a set of several walls of bricks, with gaps possibly creating new walls. The walls are one brick tall. For example, a set of walls of sizes and can be changed into any of the following by one …
Central High School is competing against Northern High School in a backgammon match. Each school has three players, and the contest rules require that each player play two games against each of the other school's players. The match takes place in six rounds, with three games played simultaneously in each round. In how …