Perfect magic squaresContact / guestbook3x3 magic square3x3 magic square, explanationSudoku method (1)Sudoku method (2)Sudoku method (3)Pan magic 4x4 squarePan magic 4x4 square, explanationTransformation methodPan magic 5x5 squarePan magic 5x5 square, explanation6x6 magic squareKhajuraho methodKhajuraho method, explanationBasic pattern method (1)Basic pattern method (2)Basic pattern method (3)Analysis Franklin panm. 8x8Basic key method (1)Basic key method (2)pan magic 9x9 squarePan magic 15x15 squarePan magic 27x27 squareBordered squaresEach magic sumWater retention challengeFavorite Links
Perfect magic squares
Khajuraho method

How to produce bigger panmagic squares?

From a panmagic 4x4 square, for example the famous Khajuraho square, you can produce a bigger panmagic
square (8x8, 12x12, 16x16, 20x20, …).
 
Rewrite the Khajuraho magic square as follows:
 
 
  Khajuraho square                                             Basic square
7
12
1
14
 
 
7
h-4
1
h-2
2
13
8
11
 
 
2
h-3
8
h-5
16
3
10
5
 
 
h
3
h-6
5
9
6
15
4
 
 
h-7
6
h-1
4
 
 
If you want to produce an 8x8 panmagic square, you need four 4x4 squares (the basic square and three
additional squares):
 
 
7
h-4
1
h-2
+8
-8
+8
-8
2
h-3
8
h-5
+8
-8
+8
-8
h
3
h-6
5
-8
+8
-8
+8
h-7
6
h-1
4
-8
+8
-8
+8
+16
-16
+16
-16
+24
-24
+24
-24
+16
-16
+16
-16
+24
-24
+24
-24
-16
+16
-16
+16
-24
+24
-24
+24
-16
+16
-16
+16
-24
+24
-24
+24
 
 
The highest digit of the (pure) 8x8 square is 64, so h is 64. Calculate first the digits of the basic square.
Then you take a digit from a cell of the basic square and add a digit from the same cell of the first, the
second or the third additional square. Result:
 
 
  Panmagic 8x8 square
7
60
1
62
15
52
9
54
2
61
8
59
10
53
16
51
64
3
58
5
56
11
50
13
57
6
63
4
49
14
55
12
23
44
17
46
31
36
25
38
18
45
24
43
26
37
32
35
48
19
42
21
40
27
34
29
41
22
47
20
33
30
39
28
 
 
This square is almost Franklin panmagic. Only the sum of four 2x2 subsquares in the middle two columns
is not half of the magic sum (1/2 x 260 = 130). If you swap the coloured digits in the rows, you get the
following Franklin pan magic 8x8 square:
 
 
  Franklin panmagic 8x8 square
15
60
1
54
7
52
9
62
2
53
16
59
10
61
8
51
64
11
50
5
56
3
58
13
49
6
63
12
57
14
55
4
31
44
17
38
23
36
25
46
18
37
32
43
26
45
24
35
48
27
34
21
40
19
42
29
33
22
47
28
41
30
39
20

 
This method is an alternative (or the underlying method) of the basic pattern method. With the Khajuraho
method it is possible to produce bigger Franklin panmagic squares (16x16, 32x32, …). Are you looking for
an easier way to produce bigger Franklin panmagic squares, then use the basic key method.
 
 
Information for whiz kids:
From the above mentioned 8x8 Franklin panmagic square you can produce a 16x16 Franklin
panmagic square. Use the above mentioned square as basic square. Rewrite the digits 33
up to 64 in h-31, h-30, …, h. You need three additional 8x8 squares. Use in the first, second,
respectively third additional square +/- 32, +/- 64 respectevely +/- 96. Use the above men-
tioned colour pattern to swap digits in the rows (use a 2x2 carpet of the colour pattern; for
example in the first row: don’t swap digits 1&5, but swap digits 1&9).

Perfect magic squares|Contact / guestbook|3x3 magic square|3x3 magic square, explanation|Sudoku method (1)|Sudoku method (2)|Sudoku method (3)|Pan magic 4x4 square|Pan magic 4x4 square, explanation|Transformation method|Pan magic 5x5 square|Pan magic 5x5 square, explanation|6x6 magic square|Khajuraho method|Khajuraho method, explanation|Basic pattern method (1)|Basic pattern method (2)|Basic pattern method (3)|Analysis Franklin panm. 8x8|Basic key method (1)|Basic key method (2)|pan magic 9x9 square|Pan magic 15x15 square|Pan magic 27x27 square|Bordered squares|Each magic sum|Water retention challenge|Favorite Links