'

Magic cube (simple)

Description

In mathematics, a magic cube is the 3-dimensional equivalent of a magic square, that is, a number of integers arranged in a n x n x n pattern such that the sum of the numbers on each row, each column, each pillar and the four main space diagonals is equal to a single number, the so-called magic constant of the cube. A simple magic cube is the lowest of six basic classes of magic cube. All lines parallel to the faces, and all 4 triagonals sum correctly. No planar diagonals (2-agonals) are required to sum correctly, so there are probably no magic squares in the cube.

Related formulas

Variables

SMagic constant (Sum) (dimensionless)
nThe order of the magic cube (dimensionless)