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 hypercube
(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!
{{multiple issues| {{More citations needed|date=October 2010}} {{Cleanup|reason=the mathematical expressions [[Help:Displaying a formula|need to be rewritten in AMS-LaTeX markup]]|date=March 2014}} {{essay-like|date=October 2017}} }} In [[mathematics]], a '''magic hypercube''' is the [[dimension|''k''-dimensional]] generalization of [[magic square]]s and [[magic cube]]s, that is, an ''n'' Γ ''n'' Γ ''n'' Γ ... Γ ''n'' array of [[integers]] such that the sums of the numbers on each pillar (along any axis) as well as on the main [[space diagonal]]s are all the same. The common sum is called the [[magic constant]] of the hypercube, and is sometimes denoted ''M''<sub>''k''</sub>(''n''). If a magic hypercube consists of the numbers 1, 2, ..., ''n''<sup>''k''</sup>, then it has magic number :<math>M_k(n) = \frac{n(n^k+1)}{2}</math>. For ''k'' = 4, a magic hypercube may be called a '''magic tesseract''', with sequence of magic numbers given by {{OEIS2C|id=A021003}}. The side-length ''n'' of the magic hypercube is called its ''order''. Four-, five-, six-, seven- and eight-dimensional magic hypercubes of order three have been constructed by [[J. R. Hendricks]]. Marian Trenkler proved the following theorem: A ''p''-dimensional magic hypercube of order ''n'' exists if and only if ''p'' > 1 and ''n'' is different from 2 or ''p'' = 1. A construction of a magic hypercube follows from the proof. The [[R (programming language)|R programming language]] includes a module, <code>library(magic)</code>, that will create magic hypercubes of any dimension with ''n'' a multiple of 4.
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)