Andrew and Barry plays the following game: there are two heaps with and pebbles, respectively. In the first round Barry chooses a positive integer , and Andrew takes away pebbles from one of the two heaps (if is bigger than the number of pebbles in the heap, he takes away the complete heap). In the second round the roles are reversed: Andrew chooses a positive integer and Barry takes away the pebbles from one the two heaps. This goes on, in each round the two players are reversing the roles. The player that takes the last pebble loses the game.
KöMaL problem A, 2020
Want a route through all this instead of an archive? The track
puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.