The table of dimensions n×n, n∈N, is filled with numbers from 1 to n2, but the difference
any two numbers on adjacent fields is at most n, and that for every k=1,2,…,n2 set of fields
whose numbers are 1,2,…,k is connected, as well as the set of fields whose numbers are k,k+1,…,n2. Neighboring fields are fields with a common side, while a set of fields is considered connected if from each field to every other field of that set can be reached going only to the neighboring fields within that set.
We call a pair of adjacent numbers, ie. numbers on adjacent fields, good, if their absolute difference is exactly n
(one number can be found in several good pairs). Prove that the table has at least 2(n−1) good pairs. combinatoricsnumbers in a tableSerbian competition