Construction methods for magic squares

In this section you can create magic squares with a variety of different algorithms, which are described in detail by some PDF documents.

DocumentsDetailed description of algorithms to create magic squares

It is not surprising that magic squares are not very easy to construct. In particular there is no method that creates a magic square for any order. So we have to distinguish between three categories:

odd orderthe order is an odd number
( n = 3,5,7,9,11, … )
single-eventhe order can be divided by 2, but not by 4
( n = 6,10,14,18,22, … )
double-eventhe order can be divided by 4
( n = 4,8,12,16,20, … )

The differentiation between single-even and double-even magic squares is quite astonishing. But the consequences to which these orders lead, are very different, so that there are only a few construction-methods that apply for all maqic squares of even order.

In particular the single-even magic squares are very obstinate and hard to create. This becomes clear by intuition, because in such a symmetrical formation we have to work with only one half of the square - and in this case the half is of an odd number. So the problems overlap.

Choose the kind of a special square, the construction method and the desired order. The algorithms can create magic squares of any order. However, the maximum order has been arbitrarily set to a maximum of n=20. Methods by which a variety of different magic squares can be constructed are each provided with a special icon.

6451211617955
625016172146453
818353229344757
5223402627374213
641253938282459
5343303336312212
520494844191560
10146354458561
422061710522939
635441831371250
458234536265513
214726053153428
462457314562535
591482227331654
86219414030519
174366449113832

ErrorThese interactive web pages about magic squares need JavaScript to be activated. Please read some additional information about JavaScript and how you can activate it.

Last update: Su 19 Nov 2017 (see Newly added construction methods…)