Notes on Magic Squares and Cubes  
by Walter Trump

Red Square nebula There are more magic squares of order 10 than elementary particles in our universe and in trillions of other universes (if they exist).

Number of magic squares

The results of historical and computer enumeration of magic squares

Ultramagic squares are both pandiagonal and centrally symmetrical.

Ultramagic squares of order 7

Properties, transformations and beautiful examples of these squares.
Read how to determine all 20,190,684 different squares.
tromino square

Dürer's famous magic square of 1514 2 + 8 + 9 + 15   is a magic (trimagic) series of order 4.

Magic series   (Important update 2013: formulae proved and new algorithm found by Dirk Kinnaes)

Read all about these building blocks of magic objects.
Don't be afraid of exact numbers with more than 100 digits.

How many magic squares of higher orders are there?

Estimates of the number of magic squares (cubes, hypercubes)

Magic series and probability considerations enable us to estimate the numbers of magic objects.

perfect cube shown on the cover of the book 'Mathematics for elementary teachers' How many magic lines can a magic cube of small order possess?

Perfect magic cubes

The successful search for the smallest perfect magic cube in 2003.

Strategy and source code of a special approximation

Number of normal magic order-6 squares

Learn about the Monte Carlo backtracking algorithm.
Monte Carlo Casino

Harvey's cube made of wood Links to great sites about magic squares and cubes

Each of these sites covers the subject very completely and contains many further links.

Walter Trump, Nürnberg, Germany, © 2003-05-05 (last modified: 2013-04-27)