A heterosquare is an array of the integers from 1 to such that the rows, columns, and diagonals have different
sums. (By contrast, in a magic square, they have
the same sum.) There are no heterosquares of order two, but heterosquares
of every odd order exist. They can be constructed by
placing consecutive integers in a spiral
pattern (Fults 1974, Madachy 1979).
An antimagic square is a special case of a heterosquare for which the sums of rows, columns, and main diagonals form a sequence
of consecutive integers.