Magic Cube

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, denoted M3(n). It can be shown that if a magic cube consists of the numbers 1, 2, ..., n3, then it has magic constant (sequence A027441 in OEIS)

If, in addition, the numbers on every cross section diagonal also sum up to the cube's magic number, the cube is called a perfect magic cube; otherwise, it is called a semiperfect magic cube. The number n is called the order of the magic cube. If the sums of numbers on a magic cube's broken space diagonals also equal the cube's magic number, the cube is called a pandiagonal cube.

Read more about Magic Cube:  Alternate Definition, Multimagic Cubes, Magic Cubes Based On Dürer's and Gaudi Magic Squares

Famous quotes containing the word magic:

    And thus they sang their mysterious duo, sang of their nameless hope, their death-in-love, their union unending, lost forever in the embrace of night’s magic kingdom. O sweet night, everlasting night of love! Land of blessedness whose frontiers are infinite!
    Thomas Mann (1875–1955)