MathDB
Mysterious Fixed Sum

Source: Junior Olympiad of Malaysia 2013 P3

July 20, 2015
combinatorics

Problem Statement

The cells of an n×nn \times n table are filled with the numbers 1,2,,n1,2,\dots,n for the first row, n+1,n+2,,2nn+1,n+2,\dots,2n for the second, and so on until n2n,n2n+1,,n2n^2-n,n^2-n+1,\dots,n^2 for the nn-th row. Peter picks nn numbers from this table such that no two of them lie on the same row or column. Peter then calculates the sum SS of the numbers he has chosen. Prove that Peter always gets the same number for SS, no matter how he chooses his nn numbers.