Magic squaresContact / guestbookMost magic square per order3x3 magic square3x3 magic square, explanationSudoku method (1)Sudoku method (2)Sudoku method (3)Pan magic 4x4 squarePan magic 4x4 square, explanationPan magic 4x4 square, binaryDürer & Franklin transformationTransformation methodTransformation method, analysis[ultra] pan magic 5x5 squarePan magic 5x5 square, explanation6x6 magic squareUltra (pan)magic 8x8 squareMost perfect magic squares, explanation8x8 most perfect magic squares, binaryKhajuraho methodKhajuraho method, explanationBasic pattern method (1a)Basic pattern method (1b)Basic pattern method (2)Basic pattern method (3a)Basic pattern method (3b)Basic pattern method (3c)Basic pattern method (4)Basic pattern method (5)Basic pattern method (6)Basic pattern method (7a)Basic pattern method (7b)Analysis Franklin panm. 8x8 (1)Analysis Franklin panm. 8x8 (2)Basic key method (1)Basic key method (2)Quadrant method (Willem Barink)Quadrant method group 1 up to 5Quadrant method group 6 up to 10Quadrant method group 11 up to 19[ultra] pan magic 9x9 square (1)pan magic 9x9 square (2)pan magic 9x9 square (3)3x extra magic 9x9 square10x10 magic squareComposite 12x12 magic square14x14 magic square[Ultra] pan magic 15x15 square3x extra magic 15x15 squareThe perfect magic square3x extra magic 18x18 squareUltra pan magic 25x25 square[ultra] pan magic 27x27 square[ultra] pan magic 35x35 squareextra magic 35x35 squareBordered squaresInlaid square (1)Inlaid square (2)Each magic sumWater retention challengeMost magic 4x4x4 cubePerfect (Nasik) magic 8x8x8 cube[More than] perfect magic 9x9x9 cubeTrick with 8x8 bimagic squareFavorite Links
Magic squares (most perfect, [Franklin] panmagic & inlaid)
Detailed explanation about the structure and construction of magic squares
[ultra] pan magic 27x27 square
<HOME>                         <<PREVIOUS]                         [NEXT>>



How to produce a pan magic 27x27 square
  
A 27x27 square is a multiple of 3 (and the size is no odd number squared), but still panmagic 27x27 squares
exist. See below a method of construction (do not fill in the digits 1 up to 27, but fill in the digits 0 up to 26,
because it is easier to calculate with).
 
Produce first 1/3 of the first row (27 / 3 = 9 digits). Take for example the digits 0 up to 8 in the same sequence.
Then produce 1/3 of the second row with the digits 9 up to 17 and 1/3 of the third row with the digits 18 up to
26. The sum of each (1/9) column must be ([0 t/m 26] / 9 = ) 39.
 
 
  1/3 of 1st/2nd/3rd row (sum 1/9 column is 39)
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
39
39
39
39
39
39
39
39
39
 
 
Then finish the first three rows by using the same 1/3 rows in a different sequence of (top down ) 2-3-1 and
3-1-2.
 
 
  First three rows of the 1st square
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
 
 
Copy the first three rows to the bottom until the square has been filled completely. The 1st square consist of
row coordinates.
 
 
  1st square with the row coordinates (take a digit [x 1])
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
17
15
16
10
11
9
14
12
13
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
22
23
21
26
24
25
19
20
18
0
1
2
3
4
5
6
7
8
17
15
16
10
11
9
14
12
13
 
 
Produce the 2nd square with the column coordinates by rotating the 1st square by a quarter turn to the right and
by mirroring (verticaly).
 
 
  2nd square with the column coordinates (take a digit x 27 + 1)
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
5
9
25
5
9
25
5
9
25
5
9
25
5
9
25
5
9
25
5
9
25
5
9
25
5
9
25
6
14
19
6
14
19
6
14
19
6
14
19
6
14
19
6
14
19
6
14
19
6
14
19
6
14
19
7
12
20
7
12
20
7
12
20
7
12
20
7
12
20
7
12
20
7
12
20
7
12
20
7
12
20
8
13
18
8
13
18
8
13
18
8
13
18
8
13
18
8
13
18
8
13
18
8
13
18
8
13
18
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
17
22
0
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
15
23
1
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
16
21
2
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
10
26
3
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4
11
24
4