Maths Olympiad Prep

Library / /143 of 169

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}>cnnn2. \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 nn0n \ge n_0 we have
pPn(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 Pnn|P_n| \le n, it suffices to prove the inequality
pPn1p2+2npPn1p+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
2npPn1p<2ni=2n1i<2nlogn, \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 pPn1p2<r\sum_{p \in P_n} \frac{1}{p^2} < r. But
pPn1p214+19+k=1n1(2k+1)(2k+3)=14+19+k=1n12(12k+112k+3)=14+19+12(1312n+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 nn0n \ge n_0. Note that for any pPnp \in P_n there are at most np+1\frac{n}{p} + 1 numbers i{0,1,,n1}i \in \{0, 1, \dots, n-1\} such that pa+ip \mid a + i, and likewise for j{0,1,,n1}j \in \{0, 1, \dots, n-1\} such that pb+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 pgcd(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,,n1}i, j \in \{0, 1, \dots, n-1\} such that pgcd(a+i,b+j)p \mid \gcd(a + i, b + j) for some pPnp \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,,n1}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 spss \mapsto p_s is injective, for if ps=psp_s = p_{s'}, then psisisp_s \mid i_s - i_{s'}, implying is=isi_s = i_{s'}, and similarly js=jsj_s = j_{s'}, hence s=ss = s'.

We conclude that i=0n1(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=0n1(a+i)s=1Npsi=1N(n+2i1). (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+2i1)(n+2(N+1i)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+2i1)(n+2(N+1i)1)>n(2(N+1i)1)+(2i1)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)16nnn2n, a \ge \left(\frac{2}{3}\right)^{\frac{1}{6} \cdot n} \cdot n^{\frac{n}{2}} - n,
which is larger than cnnn2c^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,000 problems in a working order, from AMC 10 level to the IMO shortlist.

Source: MathNet, licensed CC-BY-4.0. Statement reproduced verbatim; metadata (topic, difficulty) added by this project.