MathDB
Wim and his challenging little brother in the Centro

Source: Centroamerican and Caribbean Math Olympiad 2024 P6

October 18, 2024
OMCCcombinatoricswinning strategy

Problem Statement

Let nn \geq 22 and kk \geq 22 be positive integers. A cat and a mouse are playing Wim, which is a stone removal game. The game starts with nn stones and they take turns removing stones, with the cat going first. On each turn they are allowed to remove 11, 22, \dotsb, or kk stones, and the player who cannot remove any stones on their turn loses. \\\\ A raccoon finds Wim very boring and creates Wim 2, which is Wim but with the following additional rule: You cannot remove the same number of stones that your opponent removed on the previous turn. \\\\Find all values of kk such that for every nn, the cat has a winning strategy in Wim if and only if it has a winning strategy in Wim 2.