MathLabs

Problem 2

Let n≥2n\ge2 be an integer. Consider an n×nn\times n chessboard consisting of n2n^2 unit squares. A configuration of nn rooks on this board is peaceful if every row and every column contains exactly one rook. Find the greatest positive integer kk such that, for each peaceful configuration of nn rooks, there is a k×kk\times k square which does not contain a rook on any of its k2k^2 unit squares.
Step 3 of 5: Lower bound: an explicit peaceful configuration for n = ℓ²
n=ℓ2:rook at (r,c), r=pℓ+q  ⟹  c≡qℓ+p(modℓ2)n = \ell^2 : \text{rook at } (r,c),\ r=p\ell+q \implies c \equiv q\ell+p \pmod{\ell^2}
Detailed analysis

For n=ℓ2n=\ell^2, number rows and columns 0,…,ℓ2−10,\ldots,\ell^2-1 and, writing row r=pℓ+qr=p\ell+q with 0≤p,q<ℓ0\le p,q<\ell, place the rook of row rr in column qℓ+pq\ell+p; this uses each column exactly once. One checks every ℓ×ℓ\ell\times\ell square meets one of these positions: for ℓ\ell consecutive rows starting at row pℓ+qp\ell+q, the occupied columns, sorted, increase by steps of at most ℓ\ell and start at most ℓ−1\ell-1, so any block of ℓ\ell consecutive columns catches one of them.