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 5 of 5: Conclusion
k=⌊n−1⌋=max⁡{ℓ:ℓ2<n}k = \left\lfloor \sqrt{n-1} \right\rfloor = \max\{\ell : \ell^2 < n\}
Detailed analysis

Combining the two parts: ℓ\ell works for every peaceful configuration exactly when ℓ2<n\ell^2<n, and fails to be forced when ℓ2≥n\ell^2\ge n. The greatest such ℓ\ell is the largest integer with ℓ2<n\ell^2<n, i.e. ℓ2≤n−1\ell^2\le n-1, which is ℓ=⌊n−1⌋\ell=\lfloor\sqrt{n-1}\rfloor; this is the required value of kk.