Maths Olympiad Prep

Library / USA IMO /22 of 29

USA IMO

Number theory Difficulty 8.8 Shortlist Prove it United States

Suppose a1,…,ana_1, \dots, a_n are integers whose greatest common divisor is 11. Let SS be a set of integers with the following properties.

a. For i=1,…,ni = 1, \dots, n, ai∈Sa_i \in S.

b. For i,j=1,…,ni, j = 1, \dots, n (not necessarily distinct), ai−aj∈Sa_i - a_j \in S.

c. For any integers x,y∈Sx, y \in S, if x+y∈Sx + y \in S, then x−y∈Sx - y \in S.

Prove that SS must be equal to the set of all integers.

Solutions — 2

Solution 1

We may as well assume that none of the aia_i is equal to 00. We start with the following observations.

d. 0=a1−a1∈S0 = a_1 - a_1 \in S by (b).

e. −s=0−s∈S-s = 0 - s \in S whenever s∈Ss \in S, by (a) and (d).

f. If x,y∈Sx, y \in S and x−y∈Sx - y \in S, then x+y∈Sx + y \in S by (c) and (e).

By (f) plus strong induction on mm, we have that ms∈Sms \in S for any m≥0m \ge 0 whenever s∈Ss \in S. By (d) and (e), the same holds even if m≤0m \le 0, and so we have the following.

g. For i=1,…,ni = 1, \dots, n, SS contains all multiples of aia_i.

We next verify that

h. For i,j∈{1,…,n}i, j \in \{1, \dots, n\} and any integers ci,cjc_i, c_j, ciai+cjaj∈Sc_i a_i + c_j a_j \in S.

We do this by induction on ∣ci∣+∣cj∣|c_i| + |c_j|. If ∣ci∣≤1|c_i| \le 1 and ∣cj∣≤1|c_j| \le 1, this follows from (b), (d), (f), so we may assume that max⁡{∣ci∣,∣cj∣}≥2\max\{|c_i|, |c_j|\} \ge 2. Suppose without loss of generality (by switching ii with jj and/or negating both cic_i and cjc_j) that ci≥2c_i \ge 2; then
ciai+cjaj=ai+((ci−1)ai+cjaj) c_i a_i + c_j a_j = a_i + ((c_i - 1)a_i + c_j a_j)
and we have ai∈Sa_i \in S, (ci−1)ai+cjaj∈S(c_i - 1)a_i + c_j a_j \in S by the induction hypothesis, and (ci−2)ai+cjaj∈S(c_i - 2)a_i + c_j a_j \in S again by the induction hypothesis. So ciai+cjaj∈Sc_i a_i + c_j a_j \in S by (f), and (h) is verified.

Let eie_i be the largest integer such that 2ei2^{e_i} divides aia_i; without loss of generality we may assume that e1≥e2≥⋯≥ene_1 \ge e_2 \ge \dots \ge e_n. Let did_i be the greatest common divisor of a1,…,aia_1, \dots, a_i. We prove by induction on ii that SS contains all multiples of did_i for i=1,…,ni = 1, \dots, n; the case i=ni = n is the desired result. Our base cases are i=1i = 1 and i=2i = 2, which follow from (g) and (h), respectively.

Assume that SS contains all multiples of did_i, for some 2≤i<n2 \le i < n. Let TT be the set of integers mm such that mm is divisible by did_i and m+rai+1∈Sm + r a_{i+1} \in S for all integers rr. Then TT contains nonzero positive and negative numbers, namely any multiple of aia_i by (h). By (c), if t∈Tt \in T and ss divisible by did_i (so in SS) satisfy t−s∈Tt - s \in T, then t+s∈Tt + s \in T. By taking t=s=dit = s = d_i, we deduce that 2di∈T2d_i \in T; by induction (as in the proof of (g)), we have 2mdi∈T2md_i \in T for any integer mm (positive, negative or zero).

From the way we ordered the aia_i, we see that the highest power of 22 dividing did_i is greater than or equal to the highest power of 22 dividing ai+1a_{i+1}. In other words, ai+1/di+1a_{i+1}/d_{i+1} is odd. We can thus find integers f,gf, g with ff even such that fdi+gai+1=di+1f d_i + g a_{i+1} = d_{i+1}. (Choose such a pair without any restriction on ff, and replace (f,g)(f, g) with (f−ai+1/di+1,g+di/di+1)(f - a_{i+1}/d_{i+1}, g + d_i/d_{i+1}) if needed to get an even ff.) Then for any integer rr, we have rfdi∈Tr f d_i \in T and so rdi+1∈Sr d_{i+1} \in S. This completes the induction and the proof of the desired result.

Solution 2

(By Tony Zhang) We present a different way of completing the proof after the observing (d) through (h) of the preceding solution. We proceed to prove the following lemma by induction:

Lemma Let m≥2m \ge 2. For i1,i2,…,im∈{1,…,n}i_1, i_2, \dots, i_m \in \{1, \dots, n\} and ki1,…,kim∈Zk_{i_1}, \dots, k_{i_m} \in \mathbb{Z}:
(ki1ai1+ki2ai2)+2(ki3ai3+⋯+kimaim)∈S. (k_{i_1} a_{i_1} + k_{i_2} a_{i_2}) + 2(k_{i_3} a_{i_3} + \dots + k_{i_m} a_{i_m}) \in S.
Proof: Observation (h) proves the m=2m=2 case, so now assume that the Lemma is true for all mm less than or equal to some rr. Now by induction hypothesis, the following terms are in SS:
(ki1ai1+kir+1air+1)+2(ki3ai3+⋯+kirair)∈S (k_{i_1} a_{i_1} + k_{i_{r+1}} a_{i_{r+1}}) + 2(k_{i_3} a_{i_3} + \dots + k_{i_r} a_{i_r}) \in S
(ki2ai2+kir+1air+1)∈S. (k_{i_2} a_{i_2} + k_{i_{r+1}} a_{i_{r+1}}) \in S.
Yet their difference is
(ki1ai1−ki2ai2)+2(ki3ai3+⋯+kirair), (k_{i_1} a_{i_1} - k_{i_2} a_{i_2}) + 2(k_{i_3} a_{i_3} + \dots + k_{i_r} a_{i_r}),
which is in SS by induction hypothesis, so by observation (f), their sum is in SS:
(ki1ai1+ki2ai2)+2(ki3ai3+⋯+kirair+kir+1air+1), (k_{i_1} a_{i_1} + k_{i_2} a_{i_2}) + 2(k_{i_3} a_{i_3} + \dots + k_{i_r} a_{i_r} + k_{i_{r+1}} a_{i_{r+1}}),
which completes the induction, and the proof of the Lemma.

We apply the Lemma to prove that 1∈S1 \in S; by the comment following observation (f) in the previous solution, this will prove that S=ZS = \mathbb{Z}. Apply the lemma with m=nm = n, i1=1i_1 = 1, i2=2i_2 = 2, ..., in=ni_n = n. Since we are given that the greatest common divisor of the aia_i is 11, there exist integers k1,…,knk_1, \dots, k_n such that k1a1+⋯+knan=1k_1 a_1 + \dots + k_n a_n = 1. Since we can't have all aia_i even, without loss of generality, assume that a1a_1 is odd. Now let ii iterate from 22 to nn, and at each stage perform the following operations if kik_i is odd:

a. replace kik_i with ki+a1k_i + a_1,

b. replace k1k_1 with k1−aik_1 - a_i.

Note that this preserves the sum k1a1+⋯+knan=1k_1 a_1 + \dots + k_n a_n = 1, but it makes all the kik_i between 22 and nn even; therefore, the lemma applies, and we find that 1∈S1 \in S, as desired.

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.