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 square
(section)
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!
===Magic constant=== {{main|Magic constant}} The constant that is the sum of any row, or column, or diagonal is called the [[magic constant]] or magic sum, ''M.'' Every normal magic square has a constant dependent on the order {{mvar|n}}, calculated by the formula <math>M = n(n^2 + 1)/2</math>. This can be demonstrated by noting that the sum of <math>1,2,...,n^2</math> is <math>n^2(n^2 + 1)/2</math>. Since the sum of each row is <math>M</math>, the sum of <math>n</math> rows is <math>n M = n^2(n^2 + 1)/2</math>, which when divided by the order {{mvar|n}} yields the magic constant as <math>M = n(n^2 + 1)/2</math>. 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]]).
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)