Maths Olympiad Prep

Library / /286 of 397

, 2021

Number theory Difficulty 6.5 National Olympiad Prove it Taiwan

Let SS be a set consisting of n3n \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 ai1+ai+1a_{i-1} + a_{i+1} nor ai1ai+1a_{i-1} - a_{i+1} is divided by aia_i for all i=2,3,,n1i = 2, 3, \dots, n-1.

Solution

We prove by induction. Let a=maxSa = \max S and use the inductive hypothesis to find an ordering b1,b2,,bn1b_1, b_2, \dots, b_{n-1} of S{a}S \setminus \{a\} so that bib_i does not divide bi1±bi+1b_{i-1} \pm b_{i+1} for all 2in12 \le i \le n-1. Observe that
bjbj+1<abj+bj+1<2a, |b_j - b_{j+1}| < a \neq b_j + b_{j+1} < 2a,
so that aa divides neither bjbj+1b_j - b_{j+1} nor bj+bj+1b_j + b_{j+1}. Thus if b1,b2,,bj,a,bj+1,,bn1b_1, b_2, \dots, b_j, a, b_{j+1}, \dots, b_{n-1} does not satisfy the desired property, then either bja+ϵbj1b_j \mid a + \epsilon b_{j-1} or bj+1a+ϵ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 n1n-1 of bjb_j, at least one bjb_j “violates the condition twice as the divider”, meaning bja+ϵ1bj1b_j \mid a + \epsilon_1 b_{j-1} and bja+ϵ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+1aϵ1bj1(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,000 problems in a working order, from AMC 10 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.