Maths Olympiad Prep

Library / USA IMO /20 of 29

USA IMO

Number theory Difficulty 8.7 Shortlist Prove it United States

For a set SS, let ∣S∣|S| denote the number of elements in SS. Let AA be a set of positive integers with ∣A∣=2001|A| = 2001. Prove that there exists a set BB such that
(i) B⊆AB \subseteq A;
(ii) ∣B∣≥668|B| \geq 668;
(iii) for any u,v∈Bu, v \in B (not necessarily distinct), u+v∉Bu + v \notin B.

Solutions — 2

Solution 1

First Solution. (By Reid Barton) For a positive integer nn, let ZnZ_n denote the set of residues modulo nn. Let ϕ(n)\phi(n) be the Euler function which is defined to be the number of integers between 11 and nn relatively prime to nn. Call a set AA of residues modulo 3n3^n sum-free if for any a,b∈Aa, b \in A, a+ba+b is not (congruent to) an element of AA.

Lemma. For any n≥1n \ge 1, there exist 3n−13^n - 1 sum-free sets of 3n−13^{n-1} residues modulo 3n3^n such that every nonzero residue modulo 3n3^n appears in exactly 3n−13^{n-1} of the subsets.

Proof. We construct the desired subsets inductively. For n=1n = 1 we take the sets {1}\{1\} and {2}\{2\}.

Let n≥1n \ge 1, and suppose that the statement holds for nn, that is, we have 3n−13^n - 1 sum-free subsets A1,A2,…,A3n−1A_1, A_2, \dots, A_{3^{n-1}} of Z3nZ_{3^n} such that every nonzero element of Z3nZ_{3^n} belongs to exactly 3n−13^{n-1} of the AiA_i. Construct sets B1,B2,…,B3n−1B_1, B_2, \dots, B_{3^{n-1}} by
Bi={x∈Z3n+1∣x≡m′(mod3n),m′∈Ai}. B_i = \{ x \in Z_{3^{n+1}} \mid x \equiv m' \pmod{3^n}, m' \in A_i \}.
Then each BiB_i contains 3∣Ai∣=3n3|A_i| = 3^n residues, and the BiB_i are sum-free, because if a,b∈Bia, b \in B_i, (a+b)(mod3n)(a+b) \pmod{3^n} is not in AiA_i so a+ba+b is not in BiB_i. Moreover, each element xx of Z3n+1Z_{3^{n+1}} which is not 00 modulo 3n3^n (i.e., all elements except 0,3n,2⋅3n0, 3^n, 2 \cdot 3^n) is in exactly 3n−13^{n-1} of the BiB_i, namely those corresponding to the AiA_i containing x(mod3n)x \pmod{3^n}.

Now define sets
C={3n,3n+1,…,2⋅3n−1} C = \{3^n, 3^n + 1, \dots, 2 \cdot 3^n - 1\}
and
U={x∈Z3n+1∣gcd⁡(x,3)=1}. U = \{ x \in Z_{3^{n+1}} \mid \gcd(x, 3) = 1 \}.
Then C⊂Z3n+1C \subset Z_{3^{n+1}}, ∣C∣=3n|C| = 3^n. Note that CC is sum-free, because if a,b∈Ca, b \in C with 3n≤a,b<2⋅3n3^n \le a, b < 2 \cdot 3^n then 2⋅3n≤a+b<4⋅3n2 \cdot 3^n \le a+b < 4 \cdot 3^n so a+ba+b is not congruent modulo 3n+13^{n+1} to an element of CC. For each y∈Uy \in U, let Cy=yC={yx∣x∈C}C_y = yC = \{yx \mid x \in C\}. Then CyC_y is also sum-free for every y∈Uy \in U, because if we had yaya and ybyb in CyC_y with ya+yb∈Cyya + yb \in C_y, then aa and bb would be elements of CC summing to an element of CC. Also, every CyC_y contains ∣C∣=3n|C| = 3^n residues because multiplication by yy is invertible. Since ∣U∣=ϕ(3n+1)=2×3n|U| = \phi(3^{n+1}) = 2 \times 3^n, there are 2⋅3n2 \cdot 3^n of sets CyC_y.

Consider the sets
B1,B2,…,B3n−1,C1,C2,C4,C5,C7,…,C3n+1−2,C3n+1−1B_1, B_2, \dots, B_{3^{n-1}}, C_1, C_2, C_4, C_5, C_7, \dots, C_{3^{n+1}-2}, C_{3^{n+1}-1}.
There are 3n−1+2⋅3n=3n+1−13^n - 1 + 2 \cdot 3^n = 3^{n+1} - 1 of these sets, so it suffices to check that every nonzero residue modulo 3n+13^{n+1} appears in exactly 3n3^n of them.

Let mm be a nonzero residue modulo 3n+13^{n+1}, and write m=3ksm = 3^k s, 0≤k≤n0 \le k \le n, gcd⁡(s,3)=1\gcd(s, 3) = 1. We consider two cases.

(i) k<nk < n. Then mm is a nonzero residue modulo 3n3^n, so mm is contained in exactly 3n−13^{n-1} of the sets BiB_i, namely those which correspond to AiA_i with m′∈Aim' \in A_i (where m≡m′(mod3n)m \equiv m' \pmod{3^n}). The number of sets CiC_i containing mm is the number of solutions to y−1m∈Cy^{-1}m \in C with y∈Uy \in U, or the number of z∈Uz \in U such that zm∈Czm \in C. Since m≠0m \neq 0, as zz ranges over Z3n+1Z_{3^{n+1}}, one third of the residues zmzm are in CC; likewise, since 3m≠03m \neq 0, one third of the residues 3zm3zm are in CC. Since U=Z3n+1∖3Z3n+1U = Z_{3^{n+1}} \setminus 3Z_{3^{n+1}}, zm∈Czm \in C for one third of the values z∈Uz \in U. So mm is in one third of the sets CyC_y, giving 13∣U∣=2⋅3n−1\frac{1}{3}|U| = 2 \cdot 3^{n-1} more sets containing mm. The total number of sets containing mm is then 3n−1+2⋅3n−1=3n3^{n-1} + 2 \cdot 3^{n-1} = 3^n.

(ii) k=nk=n. Then m=3nm = 3^n or 2⋅3n2 \cdot 3^n (s=1s=1 or 22 respectively). Then m mod 3n=0m \bmod 3^n = 0, so mm does not appear in any of the sets AiA_i. However, mm appears in every set CyC_y with y≡s(mod3)y \equiv s \pmod 3, so mm appears in 3n3^n of the CyC_y. Thus the total number of sets containing mm is again 3n3^n.

Thus the sets {Bi}\{B_i\}, {Cy}\{C_y\} have the desired properties and the Lemma holds by induction.
■\blacksquare

Now let 3n3^n be a power of 33 larger than the sum of any two elements of AA. By the Lemma, there exist 3n−13^n - 1 sets S1,…,S3n−1S_1, \dots, S_{3^{n-1}} of 3n−13^{n-1} residues modulo 3n3^n such that every nonzero residue modulo 3n3^n appears in exactly 3n−13^{n-1} of the SiS_i. Let nin_i be the number of elements of AA contained in SiS_i. Since every element of AA appears 3n−13^{n-1} times,
∑i=13n−1ni=3n−1∣A∣ \sum_{i=1}^{3^n-1} n_i = 3^{n-1} |A|
so some nin_i is at least
3n−1∣A∣3n−1>13∣A∣=20013=667. \frac{3^{n-1}|A|}{3^n-1} > \frac{1}{3}|A| = \frac{2001}{3} = 667.
Let BB be the set of elements of AA contained in SiS_i. Then ∣B∣≥668|B| \ge 668, and if u,v∈Bu, v \in B, then u+v∉Bu + v \notin B, because SiS_i is sum-free. Thus the set BB has the desired properties.

Solution 2

Second Solution. Let the elements of AA be a1,…,a2001a_1, \dots, a_{2001}. Let pp be a prime number such that p≡2(mod3)p \equiv 2 \pmod 3 and pp is larger than all the aia_i. Such a prime pp exists by Dirichlet's Theorem, although the result can also be easily proven directly. There is at least one prime congruent to 22 modulo 33 (namely, 22). Suppose there were only finitely many primes congruent to 22 modulo 33, and let their product be PP. Then 3P−13P-1, which is larger than PP and congruent to 22 modulo 33, must have another prime divisor congruent to 22 modulo 33, contradiction. Thus, the original assumption was wrong, and there are infinitely many odd primes that are congruent to 22 modulo 33. Specifically, one such prime is larger than all aia_i.

All elements of SS are distinct and nonzero modulo pp. Call a number nn mediocre if the least positive residue of nn modulo pp lies in [(p+1)/3,(2p−1)/3][(p+1)/3, (2p-1)/3]. For any 1≤i≤20011 \le i \le 2001, there are exactly (p+1)/3(p+1)/3 integer values of k∈[1,p−1]k \in [1, p-1] such that kaika_i is mediocre. Thus, there are
2001(p+1)3=667(p+1) \frac{2001(p+1)}{3} = 667(p+1)
pairs of (k,i)(k, i) such that kaika_i is mediocre. By the Pigeonhole Principle, there exists some kk for which the set
B={ai∣kai is mediocre} B = \{a_i \mid ka_i \text{ is mediocre}\}
has at least 668668 elements.

We now claim that this BB satisfies the desired properties. It suffices to show that kk times the sum of any two elements of BB is not mediocre and hence cannot equal kk times any element of BB. To that end, note that kk times the sum of any two elements of BB cannot be mediocre because it is congruent modulo pp to some number in [2(p+1)/3,2(2p−1)/3][2(p+1)/3, 2(2p-1)/3] or, equivalently, to some number in [0,(p−2)/3]∪[(2p+2)/3,p−1][0, (p-2)/3] \cup [(2p+2)/3, p-1], which is a set containing no mediocre numbers. Thus, the set BB satisfies the desired properties.

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.