Problem

Source: India TST 2017 D1 P3

Tags: linear algebra, matrix, combinatorics



Let $n \ge 1$ be a positive integer. An $n \times n$ matrix is called good if each entry is a non-negative integer, the sum of entries in each row and each column is equal. A permutation matrix is an $n \times n$ matrix consisting of $n$ ones and $n(n-1)$ zeroes such that each row and each column has exactly one non-zero entry. Prove that any good matrix is a sum of finitely many permutation matrices.