MathDB
Determine the value of S

Source: Middle European Mathematical Olympiad 2011 - Individuals I-2

September 6, 2011
combinatorics proposedcombinatorics

Problem Statement

Let n3n \geq 3 be an integer. John and Mary play the following game: First John labels the sides of a regular nn-gon with the numbers 1,2,,n1, 2,\ldots, n in whatever order he wants, using each number exactly once. Then Mary divides this nn-gon into triangles by drawing n3n-3 diagonals which do not intersect each other inside the nn-gon. All these diagonals are labeled with number 11. Into each of the triangles the product of the numbers on its sides is written. Let S be the sum of those n2n - 2 products.
Determine the value of SS if Mary wants the number SS to be as small as possible and John wants SS to be as large as possible and if they both make the best possible choices.