Maths Olympiad Prep

Track / Stage 6 / 182 of 400 #1662 of 2444

Problem 1662

National Olympiad, first round
Number theory Difficulty 6.3 Prove it Taiwan IMO Selection Camp · Taiwan · 2018

Find the smallest positive integer nn satisfying the following condition, or prove that no positive integer nn satisfying the following condition exists:
There exist infinitely many tuples (a1,a2,,an)(a_1, a_2, \cdots, a_n) consisting of nn distinct positive rational numbers, such that
a1+a2++anand1a1+1a2++1an a_1 + a_2 + \cdots + a_n \quad \text{and} \quad \frac{1}{a_1} + \frac{1}{a_2} + \cdots + \frac{1}{a_n}
are both integers.

This one wants a proof. Work it on paper, then read the official solution and mark yourself. Be honest about it: the record is only any use to you if it is.

Next problem →

Official solution

n=3n = 3

It's clear that the only solution when n=1n = 1 is a1=1a_1 = 1. Now we show that:

(1) There are only finitely many (x,y)Q>02(x, y) \in \mathbb{Q}_{>0}^2 such that x+yx + y and 1x+1y\frac{1}{x} + \frac{1}{y} are both integers.

Write x=a/bx = a/b and y=c/dy = c/d in the standard form. Then, x+yZx + y \in \mathbb{Z} and 1x+1yZ\frac{1}{x} + \frac{1}{y} \in \mathbb{Z} is equivalent to the following two conditions

(i) bdad+bcbd \mid ad + bc.

Notice that this leads to dad+bcdbcbcd \mid ad + bc \Rightarrow d \mid bc \Rightarrow b \mid c since (c,d)=1(c, d) = 1.

Symmetrically, we get bdb \mid d. This leads to b=db = d.

(ii) acad+bcac \mid ad + bc.

A same procedure as above give us a=ca = c.

Hence, we must have x=yx = y, so the problem becomes finding xQ>0x \in \mathbb{Q}_{>0} such that 2xZ2x \in \mathbb{Z} and 2xZ\frac{2}{x} \in \mathbb{Z}. It's clear that the only solutions are x=1/2,1,2x = 1/2, 1, 2.

(2) There are infinitely many (x,y,z)Q>03(x, y, z) \in \mathbb{Q}_{>0}^3 such that x+y+zx + y + z and 1x+1y+1z\frac{1}{x} + \frac{1}{y} + \frac{1}{z} are all integers.

In particular, let us show that there are infinitely many such solutions satisfying x+y+z=1x + y + z = 1. Note that in this case, we can rewrite
(x,y,z)=(aa+b+c,ba+b+c,ca+b+c) (x, y, z) = \left( \frac{a}{a+b+c}, \frac{b}{a+b+c}, \frac{c}{a+b+c} \right)
with a,b,cZa, b, c \in \mathbb{Z}. We want this to satisfy
1x+1y+1z=a+b+ca+a+b+cb+a+b+ccZ, \frac{1}{x} + \frac{1}{y} + \frac{1}{z} = \frac{a+b+c}{a} + \frac{a+b+c}{b} + \frac{a+b+c}{c} \in \mathbb{Z},
or equivalently,
b+ca+a+cb+a+bcZ. \frac{b+c}{a} + \frac{a+c}{b} + \frac{a+b}{c} \in \mathbb{Z}.
We further fix a=1a = 1, then we only need to show that there exists infinitely many integers (b,c)(b, c) such that
1b+1c+cb+bc=3b2+c23bc+b+c=0.(1) \frac{1}{b} + \frac{1}{c} + \frac{c}{b} + \frac{b}{c} = 3 \Leftrightarrow b^2 + c^2 - 3bc + b + c = 0. \quad (1)
To show that there are infinitely many solutions to Eq. (1), we use the Vieta jumping (a.k.a. root flipping): starting with (b,c)=(2,3)(b, c) = (2, 3). The following algorithm generates infinitely many solutions. Let cbc \ge b, and view Eq. (1) as a quadratic equation in bb of a fixed cc as
b2(3c1)×b+(c2+c)=0.(2) b^2 - (3c - 1) \times b + (c^2 + c) = 0. \quad (2)
Then there exists another root b0Zb_0 \in \mathbb{Z} of Eq. (2) which satisfies b+b0=3c1b+b_0 = 3c - 1 and b×b0=c2+cb \times b_0 = c^2 + c. Since cbc \ge b by assumption,
b0=c2+cbc2+cc>c. b_0 = \frac{c^2 + c}{b} \ge \frac{c^2 + c}{c} > c.
Hence, from solution (b,c)(b, c), we obtain another solution (c,b0)(c, b_0) with b0>cb_0 > c. We can then do this jump again, but this time treat cc as the variable in the quadratic equation. Continue this process, and we get infinitely many solutions.

Source: MathNet, licensed CC-BY-4.0. Statement translated into English from zh; metadata (topic, difficulty, ordering) added by this project.