Olympiad Maths Prep

Track / Stage 8 / 82 of 180 #1782 of 2000

Problem 1782

IMO Shortlist mid-range; USAMO P2/P5
Algebra Difficulty 8.3 Prove it Selection Examinations for the IMO 2013 · Slovenia · 2013

Find all natural numbers nn for which there exist a1,a2,,anNa_1, a_2, \dots, a_n \in \mathbb{N} such that
a1+2a2++nan=6n a_1 + 2a_2 + \dots + n a_n = 6n
and
1a1+2a2++nan=2+1n. \frac{1}{a_1} + \frac{2}{a_2} + \dots + \frac{n}{a_n} = 2 + \frac{1}{n}.

This one wants a proof. Work it on paper, read the official solution, then mark yourself honestly — the ladder only means something if the record is true.

Official solution

Each of the sums a1+2a2++nana_1 + 2a_2 + \dots + n a_n and 1a1+2a2++nan\frac{1}{a_1} + \frac{2}{a_2} + \dots + \frac{n}{a_n} contains 1+2++n=n(n+1)21 + 2 + \dots + n = \frac{n(n+1)}{2} numbers. From the given data, the arithmetic mean AA and the harmonic mean HH of numbers a1,a2,a3,a3,a3,,an,an,,ana_1, a_2, a_3, a_3, a_3, \dots, a_n, a_n, \dots, a_n can be calculated. We get
A=a1+2a2++nann(n+1)2=6nn(n+1)2=12n+1 A = \frac{a_1 + 2a_2 + \dots + n a_n}{\frac{n(n+1)}{2}} = \frac{6n}{\frac{n(n+1)}{2}} = \frac{12}{n+1}
and
H=n(n+1)21a1+2a2++nan=n(n+1)22+1n=n2(n+1)2(2n+1) H = \frac{\frac{n(n+1)}{2}}{\frac{1}{a_1} + \frac{2}{a_2} + \dots + \frac{n}{a_n}} = \frac{\frac{n(n+1)}{2}}{2 + \frac{1}{n}} = \frac{n^2(n+1)}{2(2n+1)}
Since all the numbers are positive, the inequality of arithmetic and geometric means states
n2(n+1)2(2n+1)=HA=12n+1, \frac{n^2(n+1)}{2(2n+1)} = H \le A = \frac{12}{n+1},
which is equivalent to
n2(n+1)224(2n+1). n^2(n+1)^2 \le 24(2n+1).
But for n4n \ge 4 we have n32642=32>24\frac{n^3}{2} \ge \frac{64}{2} = 32 > 24 and hence
n2(n+1)2=n2(n+1)(2n+2)2(2n+1)n32>24(2n+1), n^2(n+1)^2 = \frac{n^2(n+1)(2n+2)}{2} \ge (2n+1)\frac{n^3}{2} > 24(2n+1),
from which we conclude that nn may be at most 33.

For n=1n=1 we get the conditions a1=6a_1 = 6 and 1a1=3\frac{1}{a_1} = 3, which is impossible. For n=2n=2 we get the conditions a1+2a2=12a_1 + 2a_2 = 12 and 1a1+2a2=52\frac{1}{a_1} + \frac{2}{a_2} = \frac{5}{2}. The second condition can now only be satisfied if one of the numbers is equal to 11. If this is not the case, when a12a_1 \ge 2 and a22a_2 \ge 2, the left side of the equality is too small. The first condition says that only a2a_2 can be odd, hence a2=1a_2 = 1 and a1=10a_1 = 10. This is inconsistent with the second condition. We conclude that for n=2n=2 again such numbers a1a_1 and a2a_2 do not exist.

In contrast, for n=3n=3 such three numbers can be found. Consider a1=6a_1 = 6, a2=3a_2 = 3 and a3=2a_3 = 2. It holds true
a1+2a2+3a3=6+23+32=18=63 a_1 + 2a_2 + 3a_3 = 6 + 2 \cdot 3 + 3 \cdot 2 = 18 = 6 \cdot 3
and
1a1+2a2+3a3=16+23+32=1+4+96=146=2+13. \frac{1}{a_1} + \frac{2}{a_2} + \frac{3}{a_3} = \frac{1}{6} + \frac{2}{3} + \frac{3}{2} = \frac{1+4+9}{6} = \frac{14}{6} = 2 + \frac{1}{3}.
The only natural number that solves the problem is thus 33.

Source: MathNet, licensed CC-BY-4.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.