Call a triple of numbers nice if one of them is the average of the other two. Assume that we have distinct numbers with nice triples. Prove that these numbers can be divided into two arithmetic progressions with equal ratios.
Solution
Let the numbers be in increasing order. First notice that the numbers can be the middle element of at most nice triples, respectively. Therefore, in total we have at most nice triples, and the equality holds when we reach all above upper bounds. In particular, has to be the middle element of nice triples, meaning that the set is symmetric with respect to .
We use induction to prove a stronger statement, namely we can divide the numbers into two arithmetic progressions with equal ratios, which are both symmetric with respect to . For two subsets and work.
Now for the numbers with nice triples, we know that form a nice triple. So appears in at most nice triples (the middle element for such triples is not bigger than ), also appears in at most nice triples (the middle element for such triples is not smaller than ), with one nice triple in common. Therefore, in total there are at most nice triples having or (or both). Therefore, there are at least nice triples all in the set . Thus the equality holds for all above bounds, and the induction hypothesis shows that one can split the set into two arithmetic progressions with equal ratios, say , which are both symmetric with respect to .
Now consider the numbers forming a nice triple while at least two of them are consecutive elements of an arithmetic progression with ratio . This means that the difference between is or , the latter case is forcibly the case that the numbers form an arithmetic progression with ratio .
On the other hand, forms a nice triple with , and also with and another number, say . So the difference is twice the difference , which is or as claimed above. In the first case, which states that is the next element in the arithmetic progression having , (also is an element of such progression because both arithmetic progressions are symmetric with respect to ). In the second case, is an arithmetic progression with ratio and we have , so . In this case the two subsets and are arithmetic progressions with ratio , both symmetric with respect to . This concludes the induction statement in both cases. ■