Maths Olympiad Prep

Track / Stage 8 / 41 of 180 #1741 of 1964

Problem 1741

IMO Shortlist mid-range; USAMO P2/P5
Number theory Difficulty 8.1 Prove it

Let n,mn, m be integers greater than 11, and let a1,a2,,ama_1, a_2, \dots, a_m be positive integers not greater than nmn^m. Prove that there exist positive integers b1,b2,,bmb_1, b_2, \dots, b_m not greater than nn, such that gcd(a1+b1,a2+b2,,am+bm)<n, \gcd(a_1 + b_1, a_2 + b_2, \dots, a_m + b_m) < n, where gcd(x1,x2,,xm)\gcd(x_1, x_2, \dots, x_m) denotes the greatest common divisor of x1,x2,,xmx_1, x_2, \dots, x_m.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Official solution

1. Initial Setup:
Let n n and m m be integers greater than 1, and let a1,a2,,am a_1, a_2, \dots, a_m be positive integers not greater than nm n^m . We need to prove that there exist positive integers b1,b2,,bm b_1, b_2, \dots, b_m not greater than n n such that
gcd(a1+b1,a2+b2,,am+bm)<n. \gcd(a_1 + b_1, a_2 + b_2, \dots, a_m + b_m) < n.

2. Vector Definition:
Since bi{1,2,,n} b_i \in \{1, 2, \ldots, n\} , we have nm n^m vectors (b1,b2,,bm) (b_1, b_2, \ldots, b_m) . Label them as vi v_i where i i ranges from 1 to nm n^m . The ordering of the i i -s does not matter.

3. GCD Definition:
Define
lvi:=gcd(a1+b1,,am+bm) l_{v_i} := \gcd(a_1 + b_1, \ldots, a_m + b_m)
where vi v_i is the vector associated with (b1,,bm) (b_1, \ldots, b_m) .

4. Claim 1:
If ai=aj a_i = a_j for any i<j i < j , then the problem condition holds true.
- Proof:
If ai=aj a_i = a_j , consider vectors vx=(b1,,bi,,bj,,bm) v_x = (b_1, \ldots, b_i, \ldots, b_j, \ldots, b_m) and vy=(b1,,bi+1,,bj,,bm) v_y = (b_1, \ldots, b_i + 1, \ldots, b_j, \ldots, b_m) . Note that pu p \mid u and pu+1 p \mid u + 1 cannot both hold true for any prime p p . Therefore, at least one of lvx l_{v_x} or lvy l_{v_y} equals 1. Since n>1 n > 1 , we are done here. \blacksquare

5. Assumption for Contradiction:
Assume on the contrary that lvin l_{v_i} \ge n for all the nm n^m vectors vi v_i .

6. Claim 2:
We cannot have lvi=lvj l_{v_i} = l_{v_j} for any ij i \ne j , i.e., all the lvi l_{v_i} are distinct numbers.
- Proof:
Assume on the contrary that ij i \ne j and lvi=lvj l_{v_i} = l_{v_j} . Since ij i \ne j , at least one of the bi b_i -s is different for both, say bivi b_i \in v_i and bivj b_i' \in v_j with bibi b_i \ne b_i' . Then
lvi(ai+bi)andlvi(ai+bi)    lvi(bibi)    nlvibibi l_{v_i} \mid (a_i + b_i) \quad \text{and} \quad l_{v_i} \mid (a_i + b_i') \implies l_{v_i} \mid (b_i - b_i') \implies n \le l_{v_i} \le |b_i - b_i'|
which is a contradiction as 1bi,bin 1 \le b_i, b_i' \le n . \blacksquare

7. **Range of lvi l_{v_i} :**
Note that
nlvimax1in{ai+bi}nm+n n \le l_{v_i} \le \max_{1 \le i \le n} \{a_i + b_i\} \le n^m + n
for all 1inm 1 \le i \le n^m .

8. Maximum Value Case:
If lvi=nm+n l_{v_i} = n^m + n for some vi v_i , then we must have vi=(n,n,,n) v_i = (n, n, \ldots, n) (i.e., b1==bm=n b_1 = \cdots = b_m = n ) and a1=a2==am=nm a_1 = a_2 = \cdots = a_m = n^m . Since m2 m \ge 2 , we have at least two equal numbers a1,a2 a_1, a_2 , leading to a contradiction by Claim 1.

9. Distinct Values:
Thus,
{lv1,lv2,,lvnm}{n,n+1,,nm+n1} \{l_{v_1}, l_{v_2}, \ldots, l_{v_{n^m}}\} \equiv \{n, n+1, \ldots, n^m + n - 1\}
i.e., the two sets are equal. Hence lvi=nm+n1 l_{v_i} = n^m + n - 1 for some i i .

10. **Contradiction for m3 m \ge 3 :**
If m3 m \ge 3 , then we will find two equal numbers among {a1,a2,a3} \{a_1, a_2, a_3\} , leading to a contradiction by Claim 1.

11. **Case m=2 m = 2 :**
For m=2 m = 2 , we must have {a1,a2}{n2,n21} \{a_1, a_2\} \equiv \{n^2, n^2 - 1\} . Suppose a1=n2 a_1 = n^2 and a2=n21 a_2 = n^2 - 1 . Then choose b1=b2=n b_1 = b_2 = n . Hence
gcd(a1+b1,a2+b2)=gcd(n2+n,n2+n1)=1<n, \gcd(a_1 + b_1, a_2 + b_2) = \gcd(n^2 + n, n^2 + n - 1) = 1 < n,
a contradiction.

12. Conclusion:
Hence, we will find a vi v_i with lvi<n l_{v_i} < n , as desired. \blacksquare

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.