An antimagic square is an array of integers from 1 to such that each row, column, and main diagonal produces a different sum such that these sums form a sequence of consecutive integers.
Example #1 :
Notice that in the above example, the sums contain eight consecutive numbers, namely 32 to 39 inclusive.
Here’s an example of anti-magic square containing more than eight consecutive numbers in its sums.
Example #2 :
the sums are 30, 31, 32, 33, 34, 35, 36, 37, 38, 39
Source and explanation: