Maths Olympiad Prep

Library / China Team Selection Test for IMO /1 of 8

China Team Selection Test for IMO, 2022

Combinatorics Difficulty 7.2 National Olympiad, round 2 Prove it China

Let mm and nn be two positive integers with m≥n≥2022m \ge n \ge 2022. Let a1,a2,…,an,b1,b2,…,bna_1, a_2, \dots, a_n, b_1, b_2, \dots, b_n be 2n2n real numbers. Prove that the numbers of ordered pairs (i,j)(i, j) (1≤i,j≤n1 \le i, j \le n) such that
∣ai+bj−ij∣≤m |a_i + b_j - ij| \le m
is less than or equal to 3nmlog⁡n3n\sqrt{m \log n}.

Solution

Proof: Mark red all points (i,j)(i, j) for which ∣ai+bj−ij∣≤m|a_i + b_j - ij| \le m.

Lemma: If (i1,j1)(i_1, j_1), (i1,j2)(i_1, j_2), (i2,j1)(i_2, j_1), (i2,j2)(i_2, j_2) are all red, then ∣(i2−i1)(j2−j1)∣≤4m|(i_2 - i_1)(j_2 - j_1)| \le 4m.

Proof of the lemma: By the definition of red points, we know
∣ai1+bj1−i1j1∣≤m,∣ai1+bj2−i1j2∣≤m,∣ai2+bj1−i2j1∣≤m,∣ai2+bj2−i2j2∣≤m. |a_{i_1} + b_{j_1} - i_1 j_1| \le m, \quad |a_{i_1} + b_{j_2} - i_1 j_2| \le m, \quad |a_{i_2} + b_{j_1} - i_2 j_1| \le m, \quad |a_{i_2} + b_{j_2} - i_2 j_2| \le m.
Taking the differences of these expressions to eliminate ai1a_{i_1}, ai2a_{i_2}, bj1b_{j_1}, and bj2b_{j_2}, we get ∣i1j1−i1j2−i2j1+i2j2∣≤4m|i_1j_1 - i_1j_2 - i_2j_1 + i_2j_2| \le 4m. This proves the lemma.

We first calculate, for a given pair 1≤i1<i2≤n1 \le i_1 < i_2 \le n, the number of jj's such that (i1,j)(i_1, j) and (i2,j)(i_2, j) are all red points. Put d=i2−i1d = i_2 - i_1. Since the difference of any two such jj's is at most 4md\frac{4m}{d}, we can have at most 4md+1\frac{4m}{d} + 1 such jj's.

Moreover, when the difference dd is given, there are n−dn-d ways to choose i1i_1 and i2i_2, so the total number of 1≤i1<i2≤n1 \le i_1 < i_2 \le n and 1≤j≤n1 \le j \le n for which (i1,j)(i_1, j) and (i2,j)(i_2, j) are all red points cannot be larger than
∑d=1n−1(n−d)(4md+1)=∑d=1n−1(n−d)−4mn+4m∑d=1n−1nd<n(n−1)2+4mnln⁡n. \sum_{d=1}^{n-1} (n-d)\left(\frac{4m}{d} + 1\right) = \sum_{d=1}^{n-1} (n-d) - 4mn + 4m \sum_{d=1}^{n-1} \frac{n}{d} < \frac{n(n-1)}{2} + 4mn \ln n.

On the other hand, for 1≤j≤n1 \le j \le n, assume that there are xjx_j red points in (1,j)(1, j), (2,j)(2, j), ..., (n,j)(n, j). Then
∑j=1nCxj2<n(n−1)2+4mnln⁡n. \sum_{j=1}^n C_{x_j}^2 < \frac{n(n-1)}{2} + 4mn \ln n.
So
∑j=1n(xj−12)2<n2−14n+8mnln⁡n. \sum_{j=1}^n \left(x_j - \frac{1}{2}\right)^2 < n^2 - \frac{1}{4}n + 8mn \ln n.
By Cauchy's inequality, we know
∑j=1n(xj−12)≤n(n2−14n+8mnln⁡n), \sum_{j=1}^n \left(x_j - \frac{1}{2}\right) \le \sqrt{n\left(n^2 - \frac{1}{4}n + 8mn \ln n\right)},
i.e.
∑j=1nxj≤n2+nn−14+8mln⁡n. \sum_{j=1}^n x_j \le \frac{n}{2} + n\sqrt{n - \frac{1}{4} + 8m \ln n}.
When m≥n≥2022m \ge n \ge 2022, some elementary estimate shows that ≤3nmln⁡n\le 3n\sqrt{m \ln n}.

Want a route through all this instead of an archive? The track puts 2,604 problems in a working order, from Junior Challenge level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.