Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Magic constant
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
{{For|unnamed numerical constants|Magic number (programming)#Unnamed numerical constants}} 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. For example, the magic square shown below has a magic constant of 15. For a normal magic square of order ''n'' β that is, a magic square which contains the numbers 1, 2, ..., ''n''<sup>2</sup> β the magic constant is <math>M = n \cdot \frac{n^2 + 1}{2}</math>. [[File:Magicsquareexample.svg|center]] 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 [[OEIS:A006003|A006003]] in the [[On-Line Encyclopedia of Integer Sequences|OEIS]]). For example, a normal 8 Γ 8 square will always equate to 260 for each row, column, or diagonal. The normal magic constant of order ''n'' is {{sfrac|''n''<sup>3</sup> + ''n''|2}}. The largest magic constant of normal magic square which is also a: *[[triangular number]] is [[15 (number)|15]] (solve the Diophantine equation {{nowrap|1=''x''<sup>2</sup> = ''y''<sup>3</sup> + 16''y'' + 16,}} where ''y'' is divisible by 4); *[[square number]] is [[1 (number)|1]] (solve the Diophantine equation {{nowrap|1=''x''<sup>2</sup> = ''y''<sup>3</sup> + 4''y'',}} where ''y'' is even); *[[generalized pentagonal number]] is 171535 (solve the Diophantine equation {{nowrap|1=''x''<sup>2</sup> = ''y''<sup>3</sup> + 144''y'' + 144,}} where ''y'' is divisible by 12);<!-- This can be considered Original Research [[WP:OR]] --> *[[tetrahedral number]] is 2925. Note that 0 and 1 are the only normal magic constants of rational order which are also rational squares. However, there are infinitely many rational triangular numbers, rational generalized pentagonal numbers and rational tetrahedral numbers which are also magic constants of rational order. The term '''magic constant''' or '''magic sum''' is similarly applied to other "magic" figures such as [[magic star]]s and [[magic cube]]s. Number shapes on a triangular grid divided into equal polyiamond areas containing equal sums give polyiamond magic constant.<ref name="Polyiamond Magic Constant">{{Cite web|url=http://oeis.org/A303295/|title=A303295 - Oeis}}</ref> ==Magic stars== The magic constant of an ''n''-pointed normal magic star is <math>M = 4n + 2</math>. ==Magic series== In 2013 Dirk Kinnaes found the [[magic series]] polytope. The number of unique sequences that form the magic constant is now known up to <math>n=1000</math>.<ref name = "Trump">Walter Trump http://www.trump.de/magic-squares/</ref> ==Moment of inertia== In the mass model, the value in each cell specifies the mass for that cell.<ref name="Heinz">Heinz http://www.magic-squares.net/ms-models.htm#A 3 dimensional magic square/</ref> This model has two notable properties. First it demonstrates the balanced nature of all magic squares. If such a model is suspended from the central cell the structure balances. (consider the magic sums of the rows/columns .. equal mass at an equal distance balance). The second property that can be calculated is the [[moment of inertia]]. 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.<ref name="Ivars Peterson">Peterson http://www.sciencenews.org/view/generic/id/7485/description/Magic_Square_Physics/</ref> ==See also== * [[Magic number (physics)]] ==References== {{reflist|1}} ==External links== * [https://web.archive.org/web/20050319105620/http://www.muljadi.org/EightQueens.htm 260 as a magic constant for the 8-queens problem and 8x8 magic square] * [http://members.shaw.ca/tesseracts/t_math.htm Hypercube Math formulae] {{Magic polygons}} [[Category: Magic squares]] [[Category:Integer sequences]]
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)
Pages transcluded onto the current version of this page
(
help
)
:
Template:Cite web
(
edit
)
Template:For
(
edit
)
Template:Magic polygons
(
edit
)
Template:Nowrap
(
edit
)
Template:Reflist
(
edit
)
Template:Sfrac
(
edit
)