Maths Olympiad Prep

Library / USAMO /131 of 156

USAMO

Number theory Difficulty 7.7 National Olympiad, round 2 Prove it United States

Prove that there is a constant c>0c > 0 with the following property: If a,b,na, b, n are positive integers such that gcd⁡(a+i,b+j)>1\gcd(a + i, b + j) > 1 for all i,j∈{0,1,…,n}i, j \in \{0, 1, \dots, n\}, then
min⁡{a,b}>cn⋅nn2. \min\{a, b\} > c^n \cdot n^{\frac{n}{2}}.

Solution

(by Titu Andreescu and Gabriel Dospinescu). Let a,b,na, b, n be positive integers as in the statement of the problem. Let PnP_n be the set of prime numbers not exceeding nn. We will need the following

Lemma 1. There is a positive integer n0n_0 such that for all n≥n0n \ge n_0 we have
∑p∈Pn(np+1)2<23n2. \sum_{p \in P_n} \left( \frac{n}{p} + 1 \right)^2 < \frac{2}{3} n^2.

Proof. Expanding and dividing by n2n^2, and observing that ∣Pn∣≤n|P_n| \le n, it suffices to prove the inequality
∑p∈Pn1p2+2n∑p∈Pn1p+1n<23. \sum_{p \in P_n} \frac{1}{p^2} + \frac{2}{n} \sum_{p \in P_n} \frac{1}{p} + \frac{1}{n} < \frac{2}{3}.
Since
2n∑p∈Pn1p<2n∑i=2n1i<2nlog⁡n, \frac{2}{n} \sum_{p \in P_n} \frac{1}{p} < \frac{2}{n} \sum_{i=2}^n \frac{1}{i} < \frac{2}{n} \log n,
it suffices to prove the existence of a constant r<23r < \frac{2}{3} such that ∑p∈Pn1p2<r\sum_{p \in P_n} \frac{1}{p^2} < r. But
∑p∈Pn1p2≤14+19+∑k=1n1(2k+1)(2k+3)=14+19+∑k=1n12(12k+1−12k+3)=14+19+12(13−12n+3)<14+19+16<13 \begin{aligned} \sum_{p \in P_n} \frac{1}{p^2} & \le \frac{1}{4} + \frac{1}{9} + \sum_{k=1}^n \frac{1}{(2k+1)(2k+3)} \\ &= \frac{1}{4} + \frac{1}{9} + \sum_{k=1}^n \frac{1}{2} \left( \frac{1}{2k+1} - \frac{1}{2k+3} \right) \\ &= \frac{1}{4} + \frac{1}{9} + \frac{1}{2} \left( \frac{1}{3} - \frac{1}{2n+3} \right) < \frac{1}{4} + \frac{1}{9} + \frac{1}{6} < \frac{1}{3} \end{aligned}

From now on we fix such n0n_0, and we prove the statement assuming n≥n0n \ge n_0. Note that for any p∈Pnp \in P_n there are at most np+1\frac{n}{p} + 1 numbers i∈{0,1,…,n−1}i \in \{0, 1, \dots, n-1\} such that p∣a+ip \mid a + i, and likewise for j∈{0,1,…,n−1}j \in \{0, 1, \dots, n-1\} such that p∣b+jp \mid b + j. Thus there are at most (np+1)2\left(\frac{n}{p} + 1\right)^2 pairs (i,j)(i, j) such that p∣gcd⁡(a+i,b+j)p \mid \gcd(a + i, b + j). Using the previous lemma, we deduce that there are less than 23n2\frac{2}{3}n^2 pairs (i,j)(i, j) with i,j∈{0,1,…,n−1}i, j \in \{0, 1, \dots, n-1\} such that p∣gcd⁡(a+i,b+j)p \mid \gcd(a + i, b + j) for some p∈Pnp \in P_n.

Let NN be the least integer greater than or equal to n23\frac{n^2}{3}. By the above, there are at least NN pairs (i,j)(i, j) with i,j∈{0,1,…,n−1}i, j \in \{0, 1, \dots, n-1\} such that gcd⁡(a+i,b+j)\gcd(a + i, b + j) is not divisible by any prime in PnP_n. Call these pairs (is,js)(i_s, j_s) for s=1,2,…,Ns = 1, 2, \dots, N. For each pair, choose a prime psp_s that divides gcd⁡(a+is,b+js)\gcd(a+i_s, b+j_s) (since, by hypothesis, gcd⁡(a+is,b+js)>1\gcd(a+i_s, b+j_s) > 1); thus ps>np_s > n. The map s↦pss \mapsto p_s is injective, for if ps=ps′p_s = p_{s'}, then ps∣is−is′p_s \mid i_s - i_{s'}, implying is=is′i_s = i_{s'}, and similarly js=js′j_s = j_{s'}, hence s=s′s = s'.

We conclude that ∏i=0n−1(a+i)\prod_{i=0}^{n-1} (a+i) is a multiple of ∏s=1Nps\prod_{s=1}^N p_s. Since the psp_s are distinct prime numbers greater than nn, then,
(a+n)n>∏i=0n−1(a+i)≥∏s=1Nps≥∏i=1N(n+2i−1). (a+n)^n > \prod_{i=0}^{n-1} (a+i) \ge \prod_{s=1}^N p_s \ge \prod_{i=1}^N (n+2i-1).
Let XX be this last product. Then
X2=∏i=1N[(n+2i−1)(n+2(N+1−i)−1)]>∏i=1N(2Nn)=(2Nn)N, X^2 = \prod_{i=1}^N [(n+2i-1)(n+2(N+1-i)-1)] > \prod_{i=1}^N (2Nn) = (2Nn)^N,
where the inequality holds because
(n+2i−1)(n+2(N+1−i)−1)>n(2(N+1−i)−1)+(2i−1)n=2Nn. (n + 2i - 1)(n + 2(N + 1 - i) - 1) > n(2(N + 1 - i) - 1) + (2i - 1)n = 2Nn.
Finally
(a+n)n>(2Nn)N2≥(2n33)n26. (a+n)^n > (2Nn)^{\frac{N}{2}} \ge \left(\frac{2n^3}{3}\right)^{\frac{n^2}{6}}.
Thus,
a≥(23)16⋅n⋅nn2−n, a \ge \left(\frac{2}{3}\right)^{\frac{1}{6} \cdot n} \cdot n^{\frac{n}{2}} - n,
which is larger than cn⋅nn2c^n \cdot n^{\frac{n}{2}} when nn is large enough, for any constant c<(23)16c < \left(\frac{2}{3}\right)^{\frac{1}{6}}. Similarly, the same inequality holds for bb.

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.