Skip to main content
OlympiadHQ

Browse · MATH

Print

jmc

algebra senior

Problem

Let be the maximum possible value of where is a permutation of and let be the number of permutations for which this maximum is attained. Evaluate .
Solution
Arrange the five numbers 1, 2, 3, 4, 5 in a circle, in some order. We can place the 5 at the top; let the other numbers be Then the sum we are interested in is the sum of the product of adjacent pairs.



Assume that the numbers have been arranged so that the sum we are interested in has been maximized. The sum for this arrangement is This means that if we were to change the arrangement, the sum must either stay the same or decrease.

Suppose we swap 5 and :



The sum is now Hence, This reduces to which factors as We know so And since and are distinct,

Now, suppose we swap 5 and :



The sum is now Hence, This reduces to which factors as We know so And since and are distinct,

Finally, by reflecting the diagram along the vertical axis, we can assume that This leaves three cases to check: Hence, the largest possible sum is 48. Furthermore, there are ten permutations that work: The five cyclic permutations of and the five cyclic permutations of its reverse, namely Thus,
Final answer
58