Daily Math Puzzle 2026/11/18
English
Let \(n\geq 2\) be an integer. Each cell of an \(n\times n\) grid contains one of the numbers 0, 1, 2, and 3, and the sum of the numbers in every row and every column is divisible by 3.
Prove that the numbers can be replaced by 0 or 3 while preserving the sum of each row and each column.
日本語
\(n\) を2以上の整数とする. \(n\times n\) のマス目の各マスに0,1,2,3のいずれかが書かれており,どの行の数の和も,どの列の数の和も3の倍数である.
各マスの数を0または3に書き換えて,すべての行と列について,数の和をそれぞれ書き換える前と同じにできることを示せ.