poor pigeon's egg got eaten by seagull
Source: 2022 IMOC C1
September 5, 2022
combinatoricsIMOC
Problem Statement
Given a positive integer , a pigeon and a seagull play a game on an board. The pigeon goes first, and they take turns doing the operations. The pigeon will choose grids and lay an egg in each grid he chooses. The seagull will choose a grids and eat all the eggs inside them. If at any point every grid in the board has an egg in it, then the pigeon wins. Else, the seagull wins. For every integer , find all such that the pigeon wins.Proposed by amano_hina