The integers from 1 to are written on each square of a board. For every row and column the difference between the maximum and minimum numbers is computed. Let be the sum of these 4016 numbers. Find the greatest possible value of .
OIM 2008
Iberoamerican Mathematical Olympiad 2008.
Other problems
Given a triangle , let be the external bisector of . and are the feet of the perpendiculars from and to . If and , show that , and concur.
Let be an integer polynomial satisfying that if is divisible by 107, then is divisible by 107 as well, where and are integers. Prove that 107 divides .
Biribol is a game played between two teams of 4 people each (teams are not fixed). Find all the possible values of for which it is possible to arrange a tournament with players in such a way that every couple of people plays a match in opposite teams exactly once.