Maths Olympiad Prep

Track / Stage 8 / 22 of 180 #1722 of 1964

Problem 1722

IMO Shortlist mid-range; USAMO P2/P5
Combinatorics Difficulty 8.0 Prove it

Divide the upper right quadrant of the plane into square cells with side length 11. In this quadrant, n2n^2 cells are colored, show that there’re at least n2+nn^2+n cells (possibly including the colored ones) that at least one of its neighbors are colored.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

1. Setup and Definitions:
- Divide the upper right quadrant of the plane into square cells with side length 11.
- Denote each cell with coordinates (a,b)(a,b) where a,bNa, b \in \mathbb{N}, starting from the bottom left cell with coordinates (1,1)(1,1).
- Assume n2n^2 cells are colored.

2. Diagonal Line Analysis:
- Consider the cells colored diagonally as in a chessboard starting from (1,1)(1,1). The set of cells arranged diagonally is the set of coordinates (x,y)(x,y) such that x+yx+y is constant.
- Denote the kk-th diagonal line as the set of cells (x,y)(x,y) where x+y=kx+y=k.

3. Claim 1:
- If we have kk colored cells on some mm-th diagonal line, then there are at least k+1k+1 neighboring cells (a,b)(a,b) such that a+b>ma+b > m. These are called *upper neighbor cells*.
- The upper neighbor cells of colored cells in the kk-th diagonal line lie on the (m+1)(m+1)-th diagonal line. Therefore, the sets of upper neighbor cells in any two distinct diagonal lines are disjoint.

4. Induction Hypothesis:
- We proceed by induction on nn.
- Assume the statement is true for n1n-1, i.e., for (n1)2(n-1)^2 colored cells, there are at least (n1)2+(n1)(n-1)^2 + (n-1) cells that have at least one colored neighbor.

5. Inductive Step:
- Among the n2n^2 colored cells, take out 2n12n-1 colored cells (call them red cells) following these steps:
1. Take out cells (x,y)(x,y) in descending order of x+yx+y.
2. Among the cells (x,y)(x,y) with x+y=kx+y=k, take out cells in descending order of yy.
- After this, we are left with (n1)2(n-1)^2 colored cells (call them blue cells) which will have (n1)2+(n1)(n-1)^2 + (n-1) neighbor cells. Let Sn1S_{n-1} be the set of neighbor cells for these (n1)2(n-1)^2 blue cells.

6. Analysis of Red Cells:
- Suppose the 2n12n-1 red cells lie on hh diagonal lines starting from the kk-th diagonal line to the (k+h1)(k+h-1)-th diagonal line. Denote aia_i as the number of red cells in the ii-th diagonal line.
- From the claim, there will be no blue cells on the ii-th diagonal line where k<ik+h1k < i \leq k+h-1. Therefore, the aia_i cells on the ii-th diagonal line will contribute at least ai+1a_i + 1 neighbor cells to the total SnS_n (not including neighbor cells Sn1S_{n-1} of blue cells).

7. Special Cases:
- For aka_k red cells on the kk-th diagonal line, if there is no blue cell on the kk-th diagonal line, then we will have extra ak+1a_k + 1 neighbor cells added to SnS_n. However, if there is at least one blue cell, then the blue cells will have at most one common upper neighbor cell with such aka_k red cells, resulting in extra aka_k neighbor cells added to SnS_n (not including neighbor cells Sn1S_{n-1} of blue cells).

8. Conclusion:
- Since i=kk+h1ai=2n1\sum_{i=k}^{k+h-1} a_i = 2n-1, if either no blue cell on the kk-th diagonal line or h2h \geq 2, then:
SnSn1+i=kk+h1ai+h2=n2+n+h2n2+n. S_n \geq S_{n-1} + \sum_{i=k}^{k+h-1} a_i + h - 2 = n^2 + n + h - 2 \geq n^2 + n.
- If h=1h = 1, then all 2n12n-1 cells plus at least one blue cell can be put on the kk-th diagonal line. Hence, k2nk \geq 2n and this last kk-th diagonal line contains at least 2n2n colored cells. Denote bib_i as the number of colored cells on the ii-th diagonal line, then bk2nb_k \geq 2n. It's not hard to show that for 2ik2 \leq i \leq k, the number of neighbor cells on the ii-th diagonal line is at least (bi1+bi+1)/2(b_{i-1} + b_{i+1})/2. Note that bk+1=0b_{k+1} = 0 and the (k+1)(k+1)-th diagonal line has at least bk+12n+1b_k + 1 \geq 2n + 1 neighbor cells. Therefore,
Sni=2kbi1+bi+12+bk+1=i=1kbi+12(bkb1)+1=n2+12(bkb1)+1>n2+n. |S_n| \geq \sum_{i=2}^{k} \frac{b_{i-1} + b_{i+1}}{2} + b_k + 1 = \sum_{i=1}^{k} b_i + \frac{1}{2} (b_k - b_1) + 1 = n^2 + \frac{1}{2} (b_k - b_1) + 1 > n^2 + n.

\blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.