Opentopia Directory Encyclopedia Tools

Magic constant

Encyclopedia : M : MA : MAG : Magic constant


The magic constant or magic sum of a magic square is the sum of numbers in any row, column, and diagonal of the magic square. For example, the magic square shown below has a magic constant of 15.

MagicSquare-ExplicitSums.png

The term magic constant or magic sum is similarly applied to other "magic" figures such as magic stars and magic cubes.

Normal magic squares

If a magic square of order n is normal (i.e., it contains the numbers 1 to n2), then the magic constant depends only on n; its value is

[M_2(n) = \frac].
This formula is a consequence of the formula for the sum of the first n integers
[1 + 2 + ... + k = \frac]
applied to the case k = n2, yielding n2(n2+1)/2, which is then divided by n because there are n rows, all of which sum to the same value.

The magic constants of normal magic squares of order n = 3, 4, 5, … are (sequence in OEIS):

15, 34, 65, 111, 175, 260, 369, 505, 671, 870
The numbers in any row, column, or diagonal of a normal magic square form a magic series.

External link

 


From Wikipedia, the Free Encyclopedia. Original article here. Support Wikipedia by contributing or donating.
All text is available under the terms of the GNU Free Documentation License See Wikipedia Copyrights for details.

Search Titles
0123456789
ABCDEFGHIJ
KLMNOPQRST
UVWXYZ?

E-mail this article to:

Personal Message: