Magic 15

"Melancholy" by Dürer AJTÓSI
 

Magic squares belonging nowadays to light mathematics go back to the past of 3000 years. Magic squares are tables consisting of different definite numbers whose sum in every row, column and diagonal is equal. In consequence of the constancy of the sums this kind of squares was called magic or charming square and the sum itself was called magic number.
In the old times people believed in its magic power because of credulity, of the lack of knowledge, and of their helplessness against natural forces. They attribute magical power to them and held their creators for magi or geniuses. People used to wear magic squares as amulets and they were believed to be protective against various dangers.

One of the most famous copperplates entitled "Melancholy" made by the painter and mathematician Dürer AJTÓSI, Hungarian by birth, contains the first magic square that could be seen by Europeans. The specialty of this square is that the two middle numbers of the last row indicates the birth year of the painting (1514).





Put the numbers in such a manner that the sum of three numbers in any horizontal, vertical, or main diagonal line should always be equal. The 1 is the "empty" place. Click on any number next to 1 and they will switch places. The third number of the first row and the first number of the second row may switch places if one of them is 1. The third number of the second row and the first number of the third row may also switch places if one of them is 1.
Number of moves: