Consider a set formed by 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.
Problem 995
Official solution
[Proof] For each set that meets the requirements of the problem, let .
For any two natural numbers and , at most 3 numbers can form an arithmetic sequence with . Let
It is easy to see that for any two elements in , 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; ; finally, when there are elements, a -th element can be found that does not form an arithmetic sequence with any two of the elements. This shows that there exists a subset of natural numbers in that meets the requirements of the problem. There are only a finite number of such -element subsets, so there must be one that maximizes the sum of the reciprocals of its elements, denoted as .
For any -element set that meets the requirements of the problem, if , then . If , then . Since , the elements in can be sequentially replaced by elements in . Clearly, each replacement increases . Thus, . This shows that for all -element sets that meet the requirements, is the maximum.