Construction methods for magic squares

In this section you can create magic squares with a variety of different algorithms, where some intermediate steps are highlighted. The exact description of all methods and algorithms can be found in my PDF book.

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:

ungeradedie Ordnung ist eine ungerade Zahl
( n = 3,5,7,9,11, … )
einfach-geradedie Ordnung durch 2, aber nicht durch 4 teilbar
( n = 6,10,14,18,22, … )
doppelt-geradedie Ordnung durch 4 teilbar
( 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