Perfect Magic Cubes
Many documents about perfect magic cubes have to be written new, because of
New Discoveries in the History of Magic Cubes
made by Holger Becker and Walter Trump.


Please read the paper New Discoveries in the History of Magic Cubes (pdf) by Holger Becker and Walter Trump, June 20, 2024


Abstract for this web page

Holger Becker discovered in February 2024, that the first perfect magic cube was already published in 1833 by Ferdinand Julius Brede, also known as de Fibre. This cube was of order 7.
In March 2024, misinterpretations of Frost's perfect magic cube of order 9 could be corrected. Thus there is no doubt that Andrew H. Frost found the first normal perfect magic cube of order 9 in 1878.
Formerly, it was believed that perfect magic cubes of orders smaller than 7 do not exist. However, in September 2003, I found a perfect magic cube of order 6.
Together with my friend Christian Boyer from France, I searched for a perfect magic cube of order 5, and on November 13, 2003, we finally succeeded.
It is not possible to construct perfect magic cubes of order m with 1 < m < 5.



History of perfect magic cubes
(updated in June 2024)

order year discoverer pD pT A
5 2003 Walter Trump and Christian Boyer - - -
6 2003 Walter Trump - - -
7 1833 Ferdinand J. Brede alias de Fibre X - X
8 1875 Gustavus Frankenstein - - X
9 1878 Andrew H. Frost X X X
... ... ...

pD = pandiagonal, pT = pantriagonal, A = associated


Definitions

A perfect magic cube of order m > 1 is an m×m×m array of the numbers from 1 to m3, where the sum of m numbers along any straight line equals the magic constant S = m·(m3+1)/2 .
There are 3m2+6m+4 straight lines: m2 rows, m2 colums, m2 pillars, 6m diagonals (= short diagonals) and 4 triagonals (= long diagonals).
These are the minimum requirements for a perfect magic cube.
Higher degrees of perfectness are reached, if the cube is pandiagonal, pantriagonal or associated.

In a (simple) magic cube the sums of the numbers in the diagonals may differ from S.

According to John Hendricks the expression 'perfect' should be reserved for magic cubes that are pandiagonal and pantriagonal. Therefore Harvey Heinz (the author of the 'Magic Squares Lexicon') calls our 'perfect' cubes diagonal magic (suggested by Aale de Winkel).

A magic cross section is a cross section (of the cube with a plane) that contains a non-normal magic square (its numbers are not consecutive). A perfect magic cube of order m has 3m orthogonal magic cross sections (the planes are perpendicular to the x-, y- or z-axis) and 6 diagonal magic cross sections (planes through 2 space diagonals).

There is an interesting subgroup: cubes where all squares in the surface planes are magic.
Let us call such cubes s-magic cubes (s = surface).
Of course each perfect magic cube is s-magic.

The numbers of a magic cube are often decreased by one and presented by 3 digits in base-m positional notation. Several magic properties can be more easily detected in this notation. You obtain the decimal number from the base-m notation (abc)m by calculating a·m2+b·m+c+1.

Order 3

There are only four magic cubes of order 3. They all are associated.
The 3 squares in the center planes are magic.
The squares in the surface planes are not magic.
There are no s-magic cubes of order 3.
We can even prove that non-normal s-magic cubes of order 3 are impossible. (In a non-normal cube the integers are not consecutive.)

Assume a square in any surface plane would be magic.
We show that the integer e in the center cell must equal S/3.
Considering the center column and the two diagonals we can write:
(b+e+h)+ (a+e+i)+ (c+e+g)= 3S
Bring the terms in another order:
(a+b+c)+ (g+h+i)+ 3e=3S
Since the rows are magic we can conclude: 3e=S
But only one of the 6 magic squares in the different surface planes can have S/3 in its center cell, because each integer can occur only once.
Thus it is impossible to construct a s-magic order-3 cube.

Order 4

I estimate that there are about 7·1012 magic cubes of order 4. Amoung the plane symmetrical cubes I found 8 cubes that contain 6 magic squares and additionally one oblique magic square. All in all each cube has 14 magic diagonals.
See spreadsheet for more details: nearly-diagonal-4.xls
6 magic squares would be enough to build a s-magic cube. But the above mentioned cubes have at most 4 magic squares in surface planes. They are not s-magic.
Richard Schroeppel proved in 1972 that diagonal magic (= "perfect") cubes of order 4 are impossible. His proof can be generalized in order to prove that there are no s-magic cubes of order 4. See the complete proof (word document).

In January 2004 I found a cube that is really close to a perfect magic order-4 cube. All its orthogonals and diagonals are magic, only the four triagonals are not. This cube was published in March, 2004 in 'Spektrum der Wissenschaft', the German edition of 'Scientific American'.
Three aspects of the nearly perfect magic cube of order 4
Walter Trump - January 2, 2004
The 16 rows, 16 columns, 16 pillars and 24 diagonals are magic (sum = 130).
The 4 triagonals have the sums: 100, 120, 140 and 160.
Each of the 12 orthogonal planes contains a (non-normal) magic square.

Order 5

Do s-magic cubes of order 5 exist? The answer is YES.
In June 21st, 2003 I found such a cube.
Also another property of this cube is new: The cube is concentric (or bordered).
The 27 inner cells build an order-3 cube with consecutive numbers from 50 to 76.
See spreadsheet s-magic-5.xls
Unfortunately it is impossible to construct a bordered 'perfect' cube of order 5.

Do 'perfect' magic cubes of order 5 exist?
As far as I know, all experts for magic squares and cubes said 'No'. But the correct answer is YES.
In Summer 2003 Christian Boyer and I started to search for the impossible 'perfect' cube.
June, 2003: Christian Boyer found cubes with 22 correct diagonals by modulo 5 computations (*).
Then I created a backtracking computer program to find cubes with at least 26 magic diagonals. This program uses non-magic auxiliary order-3 cubes for the 27 inner cells.
July, 2003: First magic 5x5-cube with 26 magic diagonals.
September 18th, 2003: First order-5 cube with 28 magic diagonals.
Together with Christian Boyer I successfully improved the program. We also made changes in the list of auxiliary cubes and searched for the most promising ones. The program was now running on five computers (2 belong to my adult son Daniel).
October 26th, 2003: 28 magic diagonals and a difference of only 1 between a wrong diagonal and the magic sum
November 13th, 2003: First 'perfect' order-5 cube found by the computer of Daniel Trump: perfect-cube-5.xls
November 14th, 2003: Two other 'perfect' order-5 cubes found by computers of Christian Boyer and Daniel Trump.
The first known perfect magic cube of order 5



Walter Trump and Christian Boyer, 2003-11-13

This cube consists of all numbers from 1 to 125.
The sum of the 5 numbers in each of the 25 rows, 25 columns, 25 pillars, 30 diagonals
and 4 triagonals (space diagonals) equals the magic constant 315.
From Martin Gardner's point of view (see Scientific American, January 1976) the 'perfect' magic cubes are the only real magic cubes. Therefore this cube is of some importance for the theory of magic cubes. Its main property is that all (unbroken) straight lines are magic.

(*) Later I recognized that the cube of Dr. Theodor Hugel (Germany) also contains 22 magic diagonals. He published this cube in his book "Das System der magischen Figuren", 1875. Take a look at Hugel's cube and see that I learned from him how to visualize magic cubes.

In November 2012 H. B. Meyer (Germany) could prove that perfect magic 5x5x5-Cubes can not be central-symmetric (= associated).
Read more on Meyer's Homepage www.hbmeyer.de or look at my version of his proof: no-sym-perfect-5x5x5-cubes.pdf

Order 6

Harvey Heinz told me that a cube of order 6 found by John Worthington in 1910 can easily be transformed to an s-magic cube.
See worthington.xls

Until September 1st, 2003 a diagonal magic cube of order 6 was not known and most magic cube experts thought that such a cube would not be possible.
But then I found a 'perfect' order-6 cube: perfect-6.xls
To determine the cube I used a magic auxiliary order-4 cube with numbers from 1 to 32 and from 185 to 216. A usual PC found the result within a few minutes. Even computers from 1980 would have been able to do this job.

Order 7

Found in 1833 by Ferdinand Julius Brede alias de Fibre.
Read all about Brede's perfect magic 7x7x7 cube in the paper New Discoveries in the History of Magic Cubes.

The 27 magic cross sections in decimal notation
The 27 magic cross sections in base-7 notation

Brede's method does not work for smaller orders than 7.
! With the order m of perfect magic cubes the number of parameters increases like m3 whereas the number of equations increases only like m2.
Therefore the construction of smaller perfect magic cubes is more difficult and can't be done without computer.

Order 8

The first perfect magic cube of order 8 was constructed by Gustavus Frankenstein in 1875.
Christian Boyer provides more details about this and other cubes: http://www.multimagie.com

Order 9

Found in 1878 by Andrew H. Frost.
Frost presented his cube in base-9 positional notation with incremented last digit. This was misinterpreted until June 2024. See chapter 4 of New Discoveries in the History of Magic Cubes.

The 33 magic cross sections in decimal notation
The 33 magic cross sections in base-9 notation
The 33 magic cross sections in Frost's notation
You can easily obtain the decimal notation from Frost's notation (abc)Frost by calculating 81a+9b+c.

Magic Space
Frost's cube is associated (centrally symmetric with decimal number 365 in the center) and perfect of the highest degree, it is pandiagonal and pantriagonal.
If you fill the space systematically and completely with Frost's cubes. Then the whole space consists of infinitely many tiny unit cubes (cells). Each of these cells contains a number from 1 to 729.
Start from any cell X, go to one of the 26 neighbor cells that have one side or one edge or one corner in common with cell X and continue going in the same direction. Add 9 numbers from consecutive cells along this way. You always will obtain the sum 3285 = 9 · 365.

Order ≥ 10

Order 10: Li Wen (1988)
Order 11: Frederick A. P. Barnard (1888)
Order 12: William H. Benson (1981)
...
According to Christian Boyer (http://www.multimagie.com)

Order 2k > 4

In July, 2004 Mitsutoshi Nakamura from Japan sent me a bordered diagonal (='concentric perfect') cube of order 16. This cube contains 'perfect' cubes of order 6, 8, 10, 12, 14 and 16 with consecutive numbers.
Nakamura says that such a cube can be constructed for any order 2k > 4. And still in July, 2004 he published a bordered diagonal cube of order 40 at his web site: http://homepage2.nifty.com/googol/magcube/en/

Walter Trump, Nürnberg, Germany, (c) 2003-06-19 (last modified: 2024-06-23)