2023 Fall Theme p3B
Source:
December 23, 2023
2023FAlLthemeCombo
Problem Statement
Evin and Jerry are playing a game with a pile of marbles. On each players' turn, they can remove , , , or
marbles. If they can’t make a move, because there's or marble left, they lose the game. Given that Evin goes first and both players play optimally, for how many values of from to does Evin lose the game?Proposed by Evin LiangSolution.
Observe that no matter how many marbles a one of them removes, the next player can always remove marbles such
that the total number of marbles removed is . Thus, when the number of marbles is a multiple of , the first player loses the game. We analyse this game based on the number of marbles modulo :If the number of marbles is modulo , the first player loses the game If the number of marbles is , , , or modulo , the first player wins the game by moving to modulo 10 If the number of marbles is modulo , the first player loses the game because every move leads to , , , or modulo In summary, the first player loses if it is mod 5, and wins if it is or mod . Now we solve the remaining cases by induction. The first player loses when it is modulo and wins when it is modulo . The base case is when there is marble, where the first player loses because there is no move. When it is modulo , then the first player can always remove marbles and win by the inductive hypothesis. When it is modulo , every move results in or modulo , which allows the other player to win by the inductive hypothesis.
Thus, Evin loses the game if n is or modulo . There are such values of from to .