olymmath

VMO 2012

Vietnam Mathematical Olympiad 2012.

Other problems

Problem 4

Let nn be a natural number. There are nn boys and nn girls standing in a line, in any arbitrary order. A student XX will be eligible for receiving mm candies, if we can choose two students of opposite sex with XX standing on either side of XX in mm ways. Show that the total number of candies does not exceed 13n(n2โˆ’1).\frac 13n(n^2-1).