Question 173
Is it possible to write positive integers in the cells of the board $2022 \times 2022$ in such a way that the sum of the numbers in any rectangle $R$ is a perfect square if and only if $R$ is a square?
(Arsenii Nikolaiev)
(Arsenii Nikolaiev)