Key to construct an ultra magic 5x5 square is (0 - n - 1 - 2 - 3 - ...):
1x number |
||||
0 |
4 |
1 |
2 |
3 |
2 |
3 |
0 |
4 |
1 |
4 |
1 |
2 |
3 |
0 |
3 |
0 |
4 |
1 |
2 |
1 |
2 |
3 |
0 |
4 |
|
||||
0 |
2 |
4 |
3 |
1 |
4 |
3 |
1 |
0 |
2 |
1 |
0 |
2 |
4 |
3 |
2 |
4 |
3 |
1 |
0 |
3 |
1 |
0 |
2 |
4 |
|
||||
1 |
15 |
22 |
18 |
9 |
23 |
19 |
6 |
5 |
12 |
10 |
2 |
13 |
24 |
16 |
14 |
21 |
20 |
7 |
3 |
17 |
8 |
4 |
11 |
25 |
You can use this method to construct ultra magic squares of order is prime number from 5x5 to infinite. See 5x5, 7x7, 11x11, 13x13, 17x17, 19x19, 23x23, 29x29, 31x31