Olympiad Maths Prep

Track / Stage 5 / 395 of 400 #995 of 2000

Problem 995

AIME late
Number theory Difficulty 6.0 Prove it

2492 \cdot 49 Consider a set formed by n(n3)n(n \geqslant 3) natural numbers, where no three numbers form an arithmetic progression. Prove that among all such sets, there exists a set whose sum of the reciprocals of all its elements is the largest.

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

[Proof] For each set A={a1,a2,,an}A=\left\{a_{1}, a_{2}, \cdots, a_{n}\right\} that meets the requirements of the problem, let SA=S_{A}= i=1n1ai\sum_{i=1}^{n} \frac{1}{a_{i}}.

For any two natural numbers aa and bb, at most 3 numbers 2ab,a+b2,2ba2 a-b, \frac{a+b}{2}, 2 b-a can form an arithmetic sequence with a,ba, b. Let
M={1,2,,n+3Cn12}. M=\left\{1,2, \cdots, n+3 C_{n-1}^{2}\right\} .

It is easy to see that for any two elements in MM, a third element can be found that does not form an arithmetic sequence with these two elements; for these 3 elements, a fourth element can be found that does not form an arithmetic sequence with any two of the 3 elements; \cdots; finally, when there are n1n-1 elements, a nn-th element can be found that does not form an arithmetic sequence with any two of the n1n-1 elements. This shows that there exists a subset of nn natural numbers in MM that meets the requirements of the problem. There are only a finite number of such nn-element subsets, so there must be one that maximizes the sum of the reciprocals of its elements, denoted as AMA \subset M.

For any nn-element set BB that meets the requirements of the problem, if BMB \subset M, then SBSAS_{B} \leqslant S_{A}. If BMB-M \neq \varnothing, then BM<n|B \cap M|<n. Since M=n+3Cn12|M|=n+3 C_{n-1}^{2}, the elements in BMB-M can be sequentially replaced by elements in MM. Clearly, each replacement increases SBS_{B}. Thus, SBSAS_{B} \leqslant S_{A}. This shows that for all nn-element sets that meet the requirements, SAS_{A} is the maximum.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.