HOME

TheInfoList



OR:

An antimagic square of order ''n'' is an arrangement of the numbers 1 to ''n''2 in a square, such that the sums of the ''n'' rows, the ''n'' columns and the two diagonals form a sequence of 2''n'' + 2 consecutive
integer An integer is the number zero (), a positive natural number (, , , etc.) or a negative integer with a minus sign ( −1, −2, −3, etc.). The negative numbers are the additive inverses of the corresponding positive numbers. In the languag ...
s. The smallest antimagic squares have order 4. Antimagic squares contrast with magic squares, where each row, column, and diagonal sum must have the same value.


Examples


Order 4 antimagic squares

In both of these antimagic squares of order 4, the rows, columns and diagonals sum to ten different numbers in the range 29–38.


Order 5 antimagic squares

In the antimagic square of order 5 on the left, the rows, columns and diagonals sum up to numbers between 60 and 71. In the antimagic square on the right, the rows, columns and diagonals add up to numbers in the range 59–70.


Open problems

The following questions about antimagic squares have not been solved. * How many antimagic squares of a given order exist? * Do antimagic squares exist for all orders greater than 3? * Is there a simple proof that no antimagic square of order 3 exists?


Generalizations

A sparse antimagic square (SAM) is a square matrix of size ''n'' by ''n'' of nonnegative integers whose nonzero entries are the consecutive integers 1,\ldots,m for some m\leq n^2, and whose row-sums and column-sums constitute a set of consecutive integers. If the diagonals are included in the set of consecutive integers, the array is known as a sparse totally anti-magic square (STAM). Note that a STAM is not necessarily a SAM, and vice versa. A filling of the square with the numbers 1 to ''n''2 in a square, such that the rows, columns, and diagonals all sum to different values has been called a ''heterosquare''. (Thus, they are the relaxation in which no particular values are required for the row, column, and diagonal sums.) There are no heterosquares of order 2, but heterosquares exist for any order ''n'' ≥ 3: if ''n'' is
odd Odd means unpaired, occasional, strange or unusual, or a person who is viewed as eccentric. Odd may also refer to: Acronym * ODD (Text Encoding Initiative) ("One Document Does it all"), an abstracted literate-programming format for describing X ...
, filling the square in a spiral pattern will produce a heterosquare, and if ''n'' is
even Even may refer to: General * Even (given name), a Norwegian male personal name * Even (surname) * Even (people), an ethnic group from Siberia and Russian Far East ** Even language, a language spoken by the Evens * Odd and Even, a solitaire game w ...
, a heterosquare results from writing the numbers 1 to ''n''2 in order, then exchanging 1 and 2. It is suspected that there are exactly 3120 essentially different heterosquares of order 3.Peter Bartsch's Heterosquares
at magic-squares.net


See also

* Magic square * J. A. Lindon


References


External links

* {{DEFAULTSORT:Antimagic Square Magic squares