Problem

Source: Tournament of Towns, Junior A-Level Paper, Spring 2020 , p4

Tags: combinatorics, square grid, table



For which integers $N$ it is possible to write real numbers into the cells of a square of size $N \times N$ so that among the sums of each pair of adjacent cells there are all integers from $1$ to $2(N-1)N$ (each integer once)? Maxim Didin