This site is supported by donations to The OEIS Foundation.

Magic squares

From OeisWiki
Jump to: navigation, search


This article page is a stub, please help by expanding it.


A magic square is a square arrangement of numbers in which each row, column and diagonal adds up to the same value (called the magic constant). Usually, the magic square has the numbers
1
to
n 2
(such squares are called normal). One of the best known magic squares has
n = 3
and magic constant
15
:


9 1 5
3 4 8
6 7 2

Magic constant

The magic constant of an
n  ×  n
magic square with numbers
1
to
n 2
is
(A006003)
where
Tk
is the k-th triangular number.

External links