Olympiad Maths Prep

Track / Stage 8 / 155 of 180 #1855 of 2000

Problem 1855

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.7 Prove it USA IMO · 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) BAB \subseteq A;
(ii) B668|B| \geq 668;
(iii) for any u,vBu, v \in B (not necessarily distinct), u+vBu + v \notin B.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official 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,bAa, b \in A, a+ba+b is not (congruent to) an element of AA.

Lemma. For any n1n \ge 1, there exist 3n13^n - 1 sum-free sets of 3n13^{n-1} residues modulo 3n3^n such that every nonzero residue modulo 3n3^n appears in exactly 3n13^{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 n1n \ge 1, and suppose that the statement holds for nn, that is, we have 3n13^n - 1 sum-free subsets A1,A2,,A3n1A_1, A_2, \dots, A_{3^{n-1}} of Z3nZ_{3^n} such that every nonzero element of Z3nZ_{3^n} belongs to exactly 3n13^{n-1} of the AiA_i. Construct sets B1,B2,,B3n1B_1, B_2, \dots, B_{3^{n-1}} by
Bi={xZ3n+1xm(mod3n),mAi}. B_i = \{ x \in Z_{3^{n+1}} \mid x \equiv m' \pmod{3^n}, m' \in A_i \}.
Then each BiB_i contains 3Ai=3n3|A_i| = 3^n residues, and the BiB_i are sum-free, because if a,bBia, 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,23n0, 3^n, 2 \cdot 3^n) is in exactly 3n13^{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,,23n1} C = \{3^n, 3^n + 1, \dots, 2 \cdot 3^n - 1\}
and
U={xZ3n+1gcd(x,3)=1}. U = \{ x \in Z_{3^{n+1}} \mid \gcd(x, 3) = 1 \}.
Then CZ3n+1C \subset Z_{3^{n+1}}, C=3n|C| = 3^n. Note that CC is sum-free, because if a,bCa, b \in C with 3na,b<23n3^n \le a, b < 2 \cdot 3^n then 23na+b<43n2 \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 yUy \in U, let Cy=yC={yxxC}C_y = yC = \{yx \mid x \in C\}. Then CyC_y is also sum-free for every yUy \in U, because if we had yaya and ybyb in CyC_y with ya+ybCyya + 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 23n2 \cdot 3^n of sets CyC_y.

Consider the sets
B1,B2,,B3n1,C1,C2,C4,C5,C7,,C3n+12,C3n+11B_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 3n1+23n=3n+113^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, 0kn0 \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 3n13^{n-1} of the sets BiB_i, namely those which correspond to AiA_i with mAim' \in A_i (where mm(mod3n)m \equiv m' \pmod{3^n}). The number of sets CiC_i containing mm is the number of solutions to y1mCy^{-1}m \in C with yUy \in U, or the number of zUz \in U such that zmCzm \in C. Since m0m \neq 0, as zz ranges over Z3n+1Z_{3^{n+1}}, one third of the residues zmzm are in CC; likewise, since 3m03m \neq 0, one third of the residues 3zm3zm are in CC. Since U=Z3n+13Z3n+1U = Z_{3^{n+1}} \setminus 3Z_{3^{n+1}}, zmCzm \in C for one third of the values zUz \in U. So mm is in one third of the sets CyC_y, giving 13U=23n1\frac{1}{3}|U| = 2 \cdot 3^{n-1} more sets containing mm. The total number of sets containing mm is then 3n1+23n1=3n3^{n-1} + 2 \cdot 3^{n-1} = 3^n.

(ii) k=nk=n. Then m=3nm = 3^n or 23n2 \cdot 3^n (s=1s=1 or 22 respectively). Then mmod3n=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 ys(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 3n13^n - 1 sets S1,,S3n1S_1, \dots, S_{3^{n-1}} of 3n13^{n-1} residues modulo 3n3^n such that every nonzero residue modulo 3n3^n appears in exactly 3n13^{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 3n13^{n-1} times,
i=13n1ni=3n1A \sum_{i=1}^{3^n-1} n_i = 3^{n-1} |A|
so some nin_i is at least
3n1A3n1>13A=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 B668|B| \ge 668, and if u,vBu, v \in B, then u+vBu + 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 p2(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 3P13P-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,(2p1)/3][(p+1)/3, (2p-1)/3]. For any 1i20011 \le i \le 2001, there are exactly (p+1)/3(p+1)/3 integer values of k[1,p1]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={aikai 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(2p1)/3][2(p+1)/3, 2(2p-1)/3] or, equivalently, to some number in [0,(p2)/3][(2p+2)/3,p1][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.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.