Magic constant
The magic constant or magic sum of a magic square is the sum of numbers in any row, column, or diagonal of the magic square.[src] For example, the magic square shown below has a magic constant of 15.[src] For a normal magic square of order n – that is, a magic square which contains the numbers 1, 2, ..., n 2 – the magic constant is M = n \cdot \frac{n^2 + 1}{2} .[src] For normal magic squares of orders n = 3, 4, 5, 6, 7, and 8, the magic constants are, respectively: 15, 34, 65, 111, 175, and 260 (sequence A006003 in the OEIS).[src] For example, a normal 8 × 8 square will always equate to 260 for each row, column, or diagonal.[src] The normal magic constant of order n is .[src] The largest magic constant of normal magic square which is also a: *triangular number is 15 (solve the Diophantine equation where y is divisible by 4); *square number is 1 (solve the Diophantine equation where y is even); *generalized pentagonal number is 171535 (solve the Diophantine equation where y is divisible by 12); *tetrahedral number is 2925.[src] Note that 0 and 1 are the only normal magic constants of rational order which are also rational squares.[src] However, there are infinitely many rational triangular numbers, rational generalized pentagonal numbers and rational tetrahedral numbers which are also magic constants of rational order.…[src]
The magic constant or magic sum of a magic square is the sum of numbers in any row, column, or diagonal of the magic square.[src] For example, the magic square shown below has a magic constant of 15.[src] For a normal magic square of order n – that is, a magic square which contains the numbers 1, 2, ..., n 2 – the magic constant is M = n \cdot \frac{n^2 + 1}{2} .[src] For normal magic squares of orders n = 3, 4, 5, 6, 7, and 8, the magic constants are, respectively: 15, 34, 65, 111, 175, and 260 (sequence A006003 in the OEIS).[src] For example, a normal 8 × 8 square will always equate to 260 for each row, column, or diagonal.[src] The normal magic constant of order n is .[src] The largest magic constant of normal magic square which is also a: triangular number is 15 (solve the Diophantine equation where y is divisible by 4); square number is 1 (solve the Diophantine equation where y is even); generalized pentagonal number is 171535 (solve the Diophantine equation where y is divisible by 12); tetrahedral number is 2925.[src] Note that 0 and 1 are the only normal magic constants of rational order which are also rational squares.[src] However, there are infinitely many rational triangular numbers, rational generalized pentagonal numbers and rational tetrahedral numbers which are also magic constants of rational order.[src] The term magic constant or magic sum is similarly applied to other "magic" figures such as magic stars and magic cubes.[src] Number shapes on a triangular grid divided into equal polyiamond areas containing equal sums give polyiamond magic constant.[src] ==Magic stars== The magic constant of an n-pointed normal magic star is M = 4n + 2 .[src] ==Magic series== In 2013 Dirk Kinnaes found the magic series polytope.[src] The number of unique sequences that form the magic constant is now known up to n=1000 .[src] ==Moment of inertia== In the mass model, the value in each cell specifies the mass for that cell.[src] This model has two notable properties.[src] First it demonstrates the balanced nature of all magic squares.[src] If such a model is suspended from the central cell the structure balances.[src] (consider the magic sums of the rows/columns ..[src] equal mass at an equal distance balance).[src] The second property that can be calculated is the moment of inertia.[src] Summing the individual moments of inertia (distance squared from the center × the cell value) gives the moment of inertia for the magic square, which depends solely on the order of the square.[src] ==See also== Magic number (physics) ==References== ==External links== 260 as a magic constant for the 8-queens problem and 8x8 magic square Hypercube Math formulae[src]
32 sentences · 32 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Magic constant." encyclopegia.org, 2026, https://encyclopegia.org/wiki/magic-constant. Accessed 25 November 2026.
Chicago
"Magic constant." encyclopegia.org. Accessed November 25, 2026. https://encyclopegia.org/wiki/magic-constant.
APA
encyclopegia.org. (2026). Magic constant. Retrieved November 25, 2026, from https://encyclopegia.org/wiki/magic-constant
Accessed November 25, 2026 · CC BY-SA 4.0 · citation page · JSON