A Game with Limited Steps
Source: INAMO 2023 P3 (OSN 2023)
August 29, 2023
combinatoricsGame TheoryPerfect SquareIndonesiaIndonesia MO
Problem Statement
A natural number is written on a board. On every step, Neneng and Asep changes the number on the board with the following rule: Suppose the number on the board is . Initially, Neneng chooses the sign up or down. Then, Asep will pick a positive divisor of , and replace with if Neneng chose the sign "up" or if Neneng chose "down". This procedure is then repeated. Asep wins if the number on the board is a nonzero perfect square, and loses if at any point he writes zero.Prove that if , Asep can win in at most steps.