Problem

Source: IMO ShortList 1988, Problem 14, Hungary 1, Problem 31 of ILL

Tags: linear algebra, matrix, combinatorics, Extremal combinatorics, IMO Shortlist



For what values of $ n$ does there exist an $ n \times n$ array of entries -1, 0 or 1 such that the $ 2 \cdot n$ sums obtained by summing the elements of the rows and the columns are all different?