Problem

Source: 2023 USA TSTST Problem 3

Tags: combinatorics, USA TSTST



Find all positive integers $n$ for which it is possible to color some cells of an infinite grid of unit squares red, such that each rectangle consisting of exactly $n$ cells (and whose edges lie along the lines of the grid) contains an odd number of red cells. Proposed by Merlijn Staps