MathDB
Diagonalized Latin squares

Source: Philippines MO 2018/3

August 4, 2018
linear algebramatrixcombinatorics

Problem Statement

Let nn be a positive integer. An n×nn \times n matrix (a rectangular array of numbers with nn rows and nn columns) is said to be a platinum matrix if:
[*] the n2n^2 entries are integers from 11 to nn; [*] each row, each column, and the main diagonal (from the upper left corner to the lower right corner) contains each integer from 11 to nn exactly once; and [*] there exists a collection of nn entries containing each of the numbers from 11 to nn, such that no two entries lie on the same row or column, and none of which lie on the main diagonal of the matrix.
Determine all values of nn for which there exists an n×nn \times n platinum matrix.