mouse
show
quick    
X
delay (ms)


solution No.:
stop at next
solution:        
pandiagonal bordered
pandiagonal-   
     symmetric
central-
     symmetric

5 x 5 magic squares   requires JavaScript
A mouseclick on any number of the green-bordered square ("number-pool") moves this number into the first empty field of the red-bordered square ("magic area"); a click on any number of the magic area brings the number back to its original place in the pool.

Aim A magic square of order 5 is to be constructed, depending on choice a panmagic and/or a symmetric or a bordered one.

When "show" or "quick" is activated, a backtracking algorithm will continue the search for a solution; interruption can be caused by clicking the option "mouse". When a solution is found, the algorithm will stop, and in that case, a search for a next solution may be continued with the corresponding button. The blue-bordered square always contains the last found solution.
The delay (in milliseconds) regulates the frequency of image output, if "show" is activated.

  © H.B. Meyer         general 5 x 5 magic squares         some theory         reduced 5x5 magic squares         5 x 5 magic squares and patters
     4 x 4 magic squares         6 x 6 magic squares
 
















eXTReMe Tracker