MathDB
There is a box with 2020 stones

Source: May Olimpiad 2020 L2 P3

November 27, 2020
combinatorics

Problem Statement

There is a box with 2020 stones. Ana and Beto alternately play removing stones from the box and starting with Ana. Each player in turn must remove a positive number of stones that is capicua. Whoever leaves the box empty wins. Determine which of the two has a strategy winner and explain what that strategy is. Note:Note: A positive integer is capicua if it can be read equally from right to right. left and left to right. For example, 3, 22, 484 and 2002 are capicuas.