Maths Olympiad Prep

Library / International Mathematical Olympiad Spain /3 of 12

International Mathematical Olympiad Spain

Number theory Difficulty 8.6 Shortlist Prove it IMO

Let a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} be distinct positive integers, n≥3n \geq 3. Prove that there exist distinct indices ii and jj such that ai+aja_{i}+a_{j} does not divide any of the numbers 3a1,3a2,…,3an3 a_{1}, 3 a_{2}, \ldots, 3 a_{n}.

Solution

Without loss of generality, let 0<a1<a2<⋯<an0<a_{1}<a_{2}<\cdots<a_{n}. One can also assume that a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} are coprime. Otherwise division by their greatest common divisor reduces the question to the new sequence whose terms are coprime integers.

Suppose that the claim is false. Then for each i<ni<n there exists a jj such that an+aia_{n}+a_{i} divides 3aj3 a_{j}. If an+aia_{n}+a_{i} is not divisible by 33 then an+aia_{n}+a_{i} divides aja_{j} which is impossible as 0<aj≤an<an+ai0<a_{j} \leq a_{n}<a_{n}+a_{i}. Thus an+aia_{n}+a_{i} is a multiple of 33 for i=1,…,n−1i=1, \ldots, n-1, so that a1,a2,…,an−1a_{1}, a_{2}, \ldots, a_{n-1} are all congruent (to −an-a_{n}) modulo 33.

Now ana_{n} is not divisible by 33 or else so would be all remaining aia_{i}'s, meaning that a1,a2,…,ana_{1}, a_{2}, \ldots, a_{n} are not coprime. Hence an≡r(mod3)a_{n} \equiv r \pmod{3} where r∈{1,2}r \in\{1,2\}, and ai≡3−r(mod3)a_{i} \equiv 3-r \pmod{3} for all i=1,…,n−1i=1, \ldots, n-1.

Consider a sum an−1+aia_{n-1}+a_{i} where 1≤i≤n−21 \leq i \leq n-2. There is at least one such sum as n≥3n \geq 3. Let jj be an index such that an−1+aia_{n-1}+a_{i} divides 3aj3 a_{j}. Observe that an−1+aia_{n-1}+a_{i} is not divisible by 33 since an−1+ai≡2ai≢0(mod3)a_{n-1}+a_{i} \equiv 2 a_{i} \not\equiv 0 \pmod{3}. It follows that an−1+aia_{n-1}+a_{i} divides aja_{j}, in particular an−1+ai≤aja_{n-1}+a_{i} \leq a_{j}. Hence an−1<aj≤ana_{n-1}<a_{j} \leq a_{n}, implying j=nj=n. So ana_{n} is divisible by all sums an−1+aia_{n-1}+a_{i}, 1≤i≤n−21 \leq i \leq n-2. In particular an−1+ai≤ana_{n-1}+a_{i} \leq a_{n} for i=1,…,n−2i=1, \ldots, n-2.

Let jj be such that an+an−1a_{n}+a_{n-1} divides 3aj3 a_{j}. If j≤n−2j \leq n-2 then an+an−1≤3aj<aj+2an−1a_{n}+a_{n-1} \leq 3 a_{j}<a_{j}+2 a_{n-1}. This yields an<an−1+aja_{n}<a_{n-1}+a_{j}; however an−1+aj≤ana_{n-1}+a_{j} \leq a_{n} for j≤n−2j \leq n-2. Therefore j=n−1j=n-1 or j=nj=n.

For j=n−1j=n-1 we obtain 3an−1=k(an+an−1)3 a_{n-1}=k\left(a_{n}+a_{n-1}\right) with kk an integer, and it is straightforward that k=1k=1 (k≤0k \leq 0 and k≥3k \geq 3 contradict 0<an−1<an0<a_{n-1}<a_{n}; k=2k=2 leads to an−1=2an>an−1a_{n-1}=2 a_{n}>a_{n-1}). Thus 3an−1=an+an−13 a_{n-1}=a_{n}+a_{n-1}, i.e. an=2an−1a_{n}=2 a_{n-1}.

Similarly, if j=nj=n then 3an=k(an+an−1)3 a_{n}=k\left(a_{n}+a_{n-1}\right) for some integer kk, and only k=2k=2 is possible. Hence an=2an−1a_{n}=2 a_{n-1} holds true in both cases remaining, j=n−1j=n-1 and j=nj=n.

Now an=2an−1a_{n}=2 a_{n-1} implies that the sum an−1+a1a_{n-1}+a_{1} is strictly between an/2a_{n}/2 and ana_{n}. But an−1a_{n-1} and a1a_{1} are distinct as n≥3n \geq 3, so it follows from the above that an−1+a1a_{n-1}+a_{1} divides ana_{n}. This provides the desired contradiction.

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.