Browse · MathNet
Print75th NMO Selection Tests
Romania number theory
Problem
Let and let be an arbitrary set of positive integers. For each , denote by the number of elements in the set . Determine the maximum possible value of the sum , when runs over all subsets of size of . Cristi Săvescu
Solution
Let us denote by and by for each . Observe that , where for , and therefore .
For any , we have where the index is considered modulo . Hence, , for every .
Thus, Since the indices are modulo , so we get
We want to maximize under the constraint . Note that replacing any two distinct pairs and by and does not decrease the value of , because Therefore, the maximum is achieved when only one pair is nonzero, with .
Using the inequality between arithmetic and geometric means, we have . The maximum value is attained, for example, by any set having exactly multiples of and numbers congruent to .
For any , we have where the index is considered modulo . Hence, , for every .
Thus, Since the indices are modulo , so we get
We want to maximize under the constraint . Note that replacing any two distinct pairs and by and does not decrease the value of , because Therefore, the maximum is achieved when only one pair is nonzero, with .
Using the inequality between arithmetic and geometric means, we have . The maximum value is attained, for example, by any set having exactly multiples of and numbers congruent to .
Final answer
2n^3
Techniques
Modular ArithmeticQM-AM-GM-HM / Power MeanCombinatorial optimizationColoring schemes, extremal arguments