Maths Olympiad Prep

Library / Taiwan IMO Selection Camp /262 of 359

Taiwan IMO Selection Camp, 2021

Number theory Difficulty 6.5 National Olympiad Prove it Taiwan

Let SS be a set consisting of n≥3n \ge 3 positive integers, none of which is a sum of two other distinct members of SS. Prove that the elements of SS may be ordered as a1,a2,…,ana_1, a_2, \dots, a_n, so that neither ai−1+ai+1a_{i-1} + a_{i+1} nor ai−1−ai+1a_{i-1} - a_{i+1} is divided by aia_i for all i=2,3,…,n−1i = 2, 3, \dots, n-1.

Solution

We prove by induction. Let a=max⁡Sa = \max S and use the inductive hypothesis to find an ordering b1,b2,…,bn−1b_1, b_2, \dots, b_{n-1} of S∖{a}S \setminus \{a\} so that bib_i does not divide bi−1±bi+1b_{i-1} \pm b_{i+1} for all 2≤i≤n−12 \le i \le n-1. Observe that
∣bj−bj+1∣<a≠bj+bj+1<2a, |b_j - b_{j+1}| < a \neq b_j + b_{j+1} < 2a,
so that aa divides neither bj−bj+1b_j - b_{j+1} nor bj+bj+1b_j + b_{j+1}. Thus if b1,b2,…,bj,a,bj+1,…,bn−1b_1, b_2, \dots, b_j, a, b_{j+1}, \dots, b_{n-1} does not satisfy the desired property, then either bj∣a+ϵbj−1b_j \mid a + \epsilon b_{j-1} or bj+1∣a+ϵbj+2b_{j+1} \mid a + \epsilon b_{j+2} for some ϵ∈{1,−1}\epsilon \in \{1, -1\}. Since there are nn positions to insert aa and only n−1n-1 of bjb_j, at least one bjb_j “violates the condition twice as the divider”, meaning bj∣a+ϵ1bj−1b_j \mid a + \epsilon_1 b_{j-1} and bj∣a+ϵ2bj+1b_j \mid a + \epsilon_2 b_{j+1} for some ϵ1,ϵ2∈{1,−1}\epsilon_1, \epsilon_2 \in \{1, -1\}. Thus, ϵ2bj+1≡−a≡ϵ1bj−1(modbj)\epsilon_2 b_{j+1} \equiv -a \equiv \epsilon_1 b_{j-1} \pmod{b_j}, contradicting the induction hypothesis.

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 translated into English from zh; metadata (topic, difficulty) added by this project.