By Michael Hartley
- They can't help you find a magic square of size 6 by 6, or 10 by 10, or so on...
- Even for the size for which they can work, they only find one of the (usually) many millions of magic squares that are there.
So, what if you want a 6 by 6 magic square, or lots of different 5 by 5 magic squares? Well, it's simple. Just use this web page!
The java applet below knows how to make a magic square of any size. It can do a four by four square in the blink of an eye. Likewise, finding a five by five is very quick. Larger sizes are slower (my computer took 5 hours to find an 8 by 8 magic square!) but if you have enough patience, it will find them for you. If you're lucky, they'll be found very fast, even.
Just enter the size of the square you want, and press Start. If you want to stop it and try a different size, press Stop. The magic square will appear, just like, well, like magic!
By the way, the java code for this magic square applet is available if you want it.
If you like what you've just read, sign up for this site's free newsletters: