Minimum Red Cells in a 7x7 Grid Forcing a Red 2x2 Square
Board: Olympiad | Grade: Olympiad | Chapter: Pigeonhole Principle
Problem
Find the smallest positive integer $k$ such that however $k$ cells of a $7 \times 7$ grid are colored Red (with the remaining $49 - k$ cells colored Blue), there is guaranteed to be at least one $2 \times 2$ subgrid whose four cells are all Red.
Step-by-Step Textbook Solution
Equivalently, we find the minimum number of Blue cells needed to hit every $2 \times 2$ subgrid (so that no $2 \times 2$ subgrid is all Red).
-
Lower bound on Blue cells (Pigeonhole Principle): Consider the $6 \times 6$ top-left corner of the $7 \times 7$ grid, and partition it into $9$ pairwise disjoint $2 \times 2$ subgrids: $$B_{i,j} = {2i-1, 2i} \times {2j-1, 2j}, \quad i, j \in {1, 2, 3}.$$ If fewer than $9$ cells are Blue, then by the Pigeonhole Principle at least one of these $9$ disjoint $2 \times 2$ blocks contains $0$ Blue cells—hence all $4$ of its cells are Red. Therefore, any valid coloring without an all-Red $2 \times 2$ subgrid must have at least $9$ Blue cells, meaning at most $49 - 9 = 40$ Red cells.
-
Achievability of $40$ Red cells ($9$ Blue cells): Color the $9$ cells $(2i, 2j)$ for $i, j \in {1, 2, 3}$ Blue, and all remaining $40$ cells Red. Every $2 \times 2$ subgrid of the $7 \times 7$ grid spans two consecutive rows ${r, r+1}$ and two consecutive columns ${c, c+1}$ ($1 \le r, c \le 6$). Since every pair of consecutive integers in ${1, 2, \dots, 7}$ contains an even integer from ${2, 4, 6}$, every $2 \times 2$ subgrid contains one of the $9$ Blue cells $(2i, 2j)$.
Thus $40$ Red cells can avoid an all-Red $2 \times 2$ subgrid, while $41$ Red cells leave at most $8$ Blue cells and therefore guarantee an all-Red $2 \times 2$ subgrid. Hence $k =$ $41$.
NityaDhi Solution (Intuitive Method)
Use the Minimum Hitting Set Grid Formula: In an $m \times n$ grid, every $2 \times 2$ subgrid must contain a cell with both coordinates even (since every two consecutive numbers in ${1..m}$ contain an even number).
- Number of even-even cells in a $7 \times 7$ grid is $\lfloor 7/2 \rfloor \times \lfloor 7/2 \rfloor = 3 \times 3 = 9$.
- Those same $9$ cells index $9$ disjoint $2\times 2$ blocks ${1,2}^2, \dots, {5,6}^2$, proving $9$ is both necessary and sufficient! Minimum Red cells $= 49 - 9 + 1 =$ $41$.
Common Mistakes to Avoid
- Using the $7 \times 7$ parity chessboard coloring ($25$ Red, $24$ Blue): That avoids smaller patterns, whereas $2 \times 2$ subgrids only require one Blue cell per $2\times 2$ block, allowing far more Red cells ($40$).
- Reporting $40$ instead of $41$: Confusing the maximum number of Red cells that can avoid the pattern ($40$) with the minimum number that guarantees the pattern ($41$).