Maths Olympiad Prep

Library / International Mathematical Olympiad China National Team Selection Test /1 of 11

International Mathematical Olympiad China National Team Selection Test, 2025

Combinatorics Difficulty 8.3 Shortlist Prove it China

Given an odd positive integer nn, let m=n+12m = \frac{n+1}{2}. Let positive integers a1,a2,…,ama_1, a_2, \dots, a_m be pairwise incongruent modulo nn, and positive integers b1,b2,…,bmb_1, b_2, \dots, b_m be pairwise incongruent modulo nn. Prove that the set
C={ai+bj (least nonnegative residue modulo n)∣i,j∈{1,2,…,m},i≠j} C = \{a_i + b_j \text{ (least nonnegative residue modulo } n) \mid i, j \in \{1, 2, \dots, m\}, i \neq j\}
has more than n−n−12n - \sqrt{n} - \frac{1}{2} elements.

Solution

Let X={0,…,n−1}X = \{0, \dots, n-1\}, A={a1,…,am}A = \{a_1, \dots, a_m\}, B={b1,…,bm}B = \{b_1, \dots, b_m\}, and S=X∖CS = X \setminus C. We need to show that ∣S∣<n+12|S| < \sqrt{n} + \frac{1}{2}.

Consider the bipartite graph G:=(X⊔X,E)G := (X \sqcup X, E), where the edge set E:={(x,y):x+y∈S}E := \{(x, y) : x + y \in S\}. In particular, the restriction of GG to A⊔BA \sqcup B consists of several edges with no common vertices, meaning no vertex has degree at least 2. If this were not the case, suppose ai∈Aa_i \in A is connected to both bj1b_{j_1} and bj2b_{j_2}, where j1≠j2j_1 \neq j_2. Since ai+bj1,ai+bj2∈Sa_i + b_{j_1}, a_i + b_{j_2} \in S do not belong to CC, it follows that E∩(A×B)⊆{(ai,bi):1≤i≤m}E \cap (A \times B) \subseteq \{(a_i, b_i) : 1 \le i \le m\}. Hence, i=j1i = j_1 and i=j2i = j_2, contradicting j1≠j2j_1 \neq j_2. Therefore, every vertex in GG restricted to A⊔BA \sqcup B has degree at most 1.

If GG contains a cycle C4C_4 of length 4, since GG is bipartite, C4C_4 must take the form c1,c2c_1, c_2 in the first copy of XX and d1,d2d_1, d_2 in the second copy, with edges c1d1,c1d2,c2d1,c2d2∈Ec_1d_1, c_1d_2, c_2d_1, c_2d_2 \in E. By the definition of GG, for any u∈Xu \in X, the quadruple (c1+u,c2+u;d1−u,d2−u)(c_1 + u, c_2 + u; d_1 - u, d_2 - u) also forms a C4C_4 in GG. Letting uu range over all elements of XX, since ∣A∣+∣B∣=n+1>n|A| + |B| = n + 1 > n, an averaging or pigeonhole argument shows that there exists a uu such that at least three of these four points lie in A⊔BA \sqcup B. This would force a vertex in GG restricted to A⊔BA \sqcup B to have degree at least 2, a contradiction.

Consequently, SS cannot contain two distinct pairs (s1,s2)(s_1, s_2) and (s1′,s2′)(s'_1, s'_2) satisfying s1−s2=s1′−s2′s_1 - s_2 = s'_1 - s'_2. Otherwise, (0,−s1+s1′;s1,s2)(0, -s_1 + s'_1; s_1, s_2) would form a C4C_4 in GG, again a contradiction. Thus, XX must contain at least ∣S∣2−∣S∣+1|S|^2 - |S| + 1 elements, implying ∣S∣<n+12|S| < \sqrt{n} + \frac{1}{2}. □\square

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.