Magic hypercube
Description
In mathematics, a magic hypercube is the k-dimensional generalization of magic squares, magic cubes and magic tesseracts; that is, a number of integers arranged in an n × n × n × ... × n pattern such that the sum of the numbers on each pillar (along any axis) as well as the main space diagonals is equal to a single number, the so-called magic constant of the hypercube.
Related formulasVariables
Mk | Magic constant (Sum) (dimensionless) |
n | The number that denotes the dimension (the number of directions within a hypercube) (dimensionless) |
k | The number that denotes the order (k-dimensional) (dimensionless) |