Maths Olympiad Prep

Library / /320 of 397

Number theory Difficulty 6.7 National Olympiad Prove it Taiwan

Suppose x1,x2,,xnx_1, x_2, \dots, x_n, with n4n \ge 4, are positive integers arranged in order around a circle so that the sum of the neighbors of each xix_i is a multiple of xix_i itself, i.e., the fraction
xi1+xi+1xi=ki. \frac{x_{i-1} + x_{i+1}}{x_i} = k_i.
is an integer, where x0=xnx_0 = x_n and xn+1=x1x_{n+1} = x_1. Prove that the sum of these multiples k1+k2++knk_1 + k_2 + \dots + k_n satisfies the inequalities
2nk1+k2++kn<3n. 2n \le k_1 + k_2 + \dots + k_n < 3n.

Solution

Solution: The left-hand inequality can be easily proved by A.M. \ge G.M., for example:
j=1nkj=j=1n(xj1xj+xjxj1)2j=1nxj1xjxjxj1=2n. \begin{aligned} \sum_{j=1}^{n} k_j &= \sum_{j=1}^{n} \left( \frac{x_{j-1}}{x_j} + \frac{x_j}{x_{j-1}} \right) \\ &\ge 2 \sum_{j=1}^{n} \sqrt{\frac{x_{j-1}}{x_j} \cdot \frac{x_j}{x_{j-1}}} = 2n. \end{aligned}

Below we deal with the right-hand inequality. In fact, the assumption n4n \ge 4 is not so important; we will prove it for all positive integers nn. We denote the middle sum by SnS_n, and what we need to prove is Sn<3nS_n < 3n.

When n=1n=1, the left and right neighbors of x1x_1 are itself. Therefore
S1=k1=x1+x1x1=2<3=31. S_1 = k_1 = \frac{x_1 + x_1}{x_1} = 2 < 3 = 3 \cdot 1.

When n=2n = 2, from the given conditions we know k1=x2+x2x1k_1 = \frac{x_2+x_2}{x_1}, i.e., k1x1=2x2k_1x_1 = 2x_2. Similarly we get k2x2=2x1k_2x_2 = 2x_1. Multiplying these two equations on both sides and canceling the common factor x1x2(0)x_1x_2(\neq 0), we know k1k2=4k_1k_2 = 4. Since k1,k2k_1, k_2 are positive integers, we have
(k1,k2)=(2,2),(1,4), or (4,1). (k_1, k_2) = (2, 2), (1, 4), \text{ or } (4, 1).
Therefore S2=4S_2 = 4 or 55, which is of course less than 32=63 \cdot 2 = 6.

Now consider the case n=3n = 3. Without loss of generality, we may assume that x3x_3 is the largest among x1,x2,x3x_1, x_2, x_3. Then
k3=x1+x2x3x3+x3x3=2. k_3 = \frac{x_1 + x_2}{x_3} \le \frac{x_3 + x_3}{x_3} = 2.
So k3=1k_3 = 1 or 22; when k3=2k_3 = 2, the three numbers must be equal, and S3=6<9=33S_3 = 6 < 9 = 3 \cdot 3. Thus when x1,x2,x3x_1, x_2, x_3 are not all equal, we have k3=1k_3 = 1. Writing out the equations, we get
k1x1=x2+x3,k2x2=x1+x3,x3=x1+x2. k_1x_1 = x_2 + x_3, \quad k_2x_2 = x_1 + x_3, \quad x_3 = x_1 + x_2.
From the first and third equations, we know (k11)x1=2x2(k_1 - 1)x_1 = 2x_2. Similarly, from the second and third equations, we know (k21)x2=2x1(k_2 - 1)x_2 = 2x_1. This is exactly the same as the case n=2n = 2, and we can obtain
(k1,k2,k3)=(3,3,1),(2,5,1), or (5,2,1). (k_1, k_2, k_3) = (3, 3, 1), (2, 5, 1), \text{ or } (5, 2, 1).
Hence S3=7S_3 = 7 or 88, both of which are less than 33=93 \cdot 3 = 9. This concludes the case n=3n = 3.

Now consider the general case n4n \ge 4. If among these xx's, the largest number appears consecutively 2 or more times, then all the numbers must be equal. This is because if the xjx_j's are not all equal, then there will always be some xix_i at one end such that one of its neighbors is the largest number while the other neighbor is a positive integer strictly less than xjx_j, so the sum of the left and right neighbors cannot possibly be divisible by xjx_j (since the sum lies strictly between xjx_j and 2xj2x_j). So under this assumption, Sn=2n<3nS_n = 2n < 3n.

In the case where the largest numbers among the xx's all appear in isolation, let xjx_j be one of these largest numbers. As in the case n=3n = 3, we can deduce that
kj=1,i.e.xj=xj1+xj+1.(1) k_j = 1, \quad \text{i.e.} \quad x_j = x_{j-1} + x_{j+1}. \qquad (1)
The equations obtained from the two neighbors on either side are
kj1xj1=xj2+xj,kj+1xj+1=xj+xj+2. k_{j-1}x_{j-1} = x_{j-2} + x_j, \quad k_{j+1}x_{j+1} = x_j + x_{j+2}.

Combining with (1), we get
(kj11)xj1=xj2+xj+1, and (kj+11)xj+1=xj+2+xj1. (k_{j-1} - 1)x_{j-1} = x_{j-2} + x_{j+1}, \text{ and } (k_{j+1} - 1)x_{j+1} = x_{j+2} + x_{j-1}.
(Note that from the maximality of xjx_j, we know that the two neighboring multiples kj1,kj+1k_{j-1}, k_{j+1} are both greater than 1.) Observe: when xjx_j is deleted, the two neighbors of xj1x_{j-1} become xj2x_{j-2} and xj+1x_{j+1}; similarly, the two neighbors of xj+1x_{j+1} become xj+2x_{j+2} and xj1x_{j-1}. This argument tells us that when one of the largest numbers xjx_j is removed, the remaining n1n-1 numbers still satisfy the conditions of the problem (i.e., the sum of the left and right neighbors is a multiple of itself), and among the multiples, besides the one 1 (namely kjk_j) being removed, the two neighboring multiples (namely kj1k_{j-1} and kj+1k_{j+1}) each also decrease by 1. Therefore we obtain Sn1=Sn3S_{n-1} = S_n - 3. Since we have already proved the cases n=1,2,3n=1,2,3, the result for general positive integers nn follows by mathematical induction. Q.E.D.

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.