Browse · MathNet
PrintThe 37th Korean Mathematical Olympiad Final Round
South Korea algebra
Problem
Let be a positive integer, and be distinct positive integers less than or equal to . Determine the maximum value of ( for )
Solution
The answer is if is even, and if is odd. It is easy when is even. Let . Then, and the equality holds when and for . So, the maximum of is .
Let be odd. Without loss of generality, let . If for all , then a contradiction. So, there exists such that , and thus there exist distinct such that , and , .
Now we consider the value of . If and have the same sign then , and if and have different signs then So is at most Let . Then, Therefore, and the equality is attained when and , for . Thus the maximum of is .
Let be odd. Without loss of generality, let . If for all , then a contradiction. So, there exists such that , and thus there exist distinct such that , and , .
Now we consider the value of . If and have the same sign then , and if and have different signs then So is at most Let . Then, Therefore, and the equality is attained when and , for . Thus the maximum of is .
Final answer
n^2 if n is even; n^2 - 5 if n is odd
Techniques
Combinatorial optimizationLinear and quadratic inequalitiesColoring schemes, extremal arguments