This page allows you to choose any size from 5x5 to 97x97 provided it is a prime number. You can also vary the length of the Knight's Move. The other pages in this section allow you to experiment and enter your own values - select 3x3, 4x4 or 5x5 above.
In the table below, select the Order and Knight's Move. Then enter the Start # - a positive or a negative number - and press Make. Caution, the larger sizes may take a while.
Properties of Magic Square Below:
|
Enter Details to Make New Square: |
0 | 9 | 13 | 17 | 21 |
18 | 22 | 1 | 5 | 14 |
6 | 10 | 19 | 23 | 2 |
24 | 3 | 7 | 11 | 15 |
12 | 16 | 20 | 4 | 8 |
This page makes Prime Number Pan-Magic Squares smaller than order 100, i.e., where the order of the square is a prime number. Such magic squares can be constructed using the "Knight's Move" technique. The first cycle in the sequence is highlighted to illustrate how the Knight's move distributes the numbers.
Any number can be used for the minimum value, including negative numbers. Changing the minimum value affects the Magic Sum. Adding or subtracting 1 from the starting value will raise or lower the Magic Sum by the value for the Order.
With larger squares, e.g., 13 and above, it is very obvious that as the Knight's move gets larger in the horizontal axis, other Knight's moves of different lengths appear in the other axis or in the opposite direction. On this page the Order defaults to 5 and the Knight's move to 2 if no values are selected.
It is a pleasure to thank Peter Bartsch who found an error in the original version. His kind persistence made me re-examine, and correct, the logic underying this page. Thank you Peter.
Copyright © Mar 2010 | Magic Squares Website |
Updated Mar 6, 2010 |