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
Pan magic 5x5 square, explanation
<HOME>                         <<PREVIOUS]                         [NEXT>>



What is a magic 5x5 square?

The 5x5 magic square is square, because it has as many rows (from left to right = horizontal) as columns
(from top to bottom = vertical).
 
The 5x5 magic square consists of 5 rows which multiplied by 5 columns is 25 cells.
 
The 5x5 magic square must contain 25 different digits. A pure magic 5x5 square contains the digits 1, 2, 3,
4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24 and 25.
 
The magic square is magic, because the sum of the digits of each row, each column and both diagonals al-
ways give the same result. The sum can be calculated as follows, the (odd) size of the square multiplied by
the middle digit: 5 x 13 = 65.

 
 
What is a panmagic 5x5 square?

Panmagic (5x5) squares have an extra magic feature. Not only the sum of 5 digits from each row, each
column and both diagonals - but also the sum of 5 digits from each pandiagonal - totals to the magic sum
of 65. Pandiagonals don’t start (unlike ordinary diagonals) in the corner, and pandiagonals are broken dia-
gonals; see below (the ordinary diagonal is yellow and the pandiagonals are red, blue, pink and green):
 
 
 from right to left                                    from left to right
1
7
13
19
25
 
 
 
 
1
7
13
19
25
14
20
21
2
8
 
 
 
 
14
20
21
2
8
22
3
9
15
16
 
 
 
 
22
3
9
15
16
10
11
17
23
4
 
 
 
 
10
11
17
23
4
18
24
5
6
12
 
 
 
 
18
24
5
6
12
 
 
Specialty of the panmagic square is, that you can produce a 2x2 carpet of the same square:
 
 
1
7
13
19
25
1
7
13
19
25
 
 
1
7
13
19
25
1
7
13
19
25
14
20
21
2
8
14
20
21
2
8
 
 
14
20
21
2
8
14
20
21
2
8
22
3
9
15
16
22
3
9
15
16
 
 
22
3
9
15
16
22
3
9
15
16
10
11
17
23
4
10
11
17
23
4
 
 
10
11
17
23
4
10
11
17
23
4
18
24
5
6
12
18
24
5
6
12
 
 
18
24
5
6
12
18
24
5
6
12
1
7
13
19
25
1
7
13
19
25
 
 
1
7
13
19
25
1
7
13
19
25
14
20
21
2
8
14
20
21
2
8
 
 
14
20
21
2
8
14
20
21
2
8
22
3
9
15
16
22
3
9
15
16
 
 
22
3
9
15
16
22
3
9
15
16
10
11
17
23
4
10
11
17
23
4
 
 
10
11
17
23
4
10
11
17
23
4
18
24
5
6
12
18
24
5
6
12
 
 
18
24
5
6
12
18
24
5
6
12
 
 
Each 5x5 subsquare on the 2x2 carpet is panmagic, because of the parallel running diagonals on the carpet!!!
 
 
  
What is the secret behind the panmagic 5x5 square?

Imagine: A boat sales on a lake of 5 x 5 = 25 square miles. A radar detects the boat and determines in which
square mile (= cell) the boat is located. The position of the boat can be expressed in a row coordinate (0, 1, 2,
3, or 4) and a column coördinate (0, 1, 2, 3, or 4).
  
 
 
 
 
 
 
 
 
 
 
All combinations of
 
0
1
2
3
4
 
 
 
 
row- and column coordinates
0
 
 
 
 
 
 
 
 
 
(0,0)
(1,0)
(2,0)
(3,0)
(4,0)
1
 
 
 
 
 
 
 
 
 
(0,1)
('1,1)
(2,1)
(3,1)
(4,1)
2
 
 
 
 
 
 
 
 
 
(0,2)
(1,2)
(2,2)
(3,2)
(4,2)
3
 
 
 
 
 
 
 
 
 
(0,3)
(1,3)
(2,3)
(3,3)
(4,3)
4
 
 
 
 
 
 
 
 
 
(0,4)
(1,4)
(2,4)
(3,4)
(4,4)
 
 
If you add 5x the column coordinate to the row coordinate, you can number the cells from 0 up to 24.
 
 
 row coordinate                               + 5x column coordinate    =       digits 0 up to 24
0
1
2
3
4
10
 
 
0
0
0
0
0
 
 
0
1
2
3
4
0
1
2
3
4
10
 
 
1
1
1
1
1
 
 
5
6
7
8
9
0
1
2
3
4
10
 
 
2
2
2
2
2
 
 
10
11
12
13
14
0
1
2
3
4
10
 
 
3
3
3
3
3
 
 
15
16
17
18
19
0
1
2
3
4
10
 
 
4
4
4
4
4
 
 
20
21
22
23
24
 
 
 
 
 
 
 
 
10
10
10
10
10
 
 
 
 
 
 
 
 
 
If you use the digits 0 up to 24 (in stead of 1 up to 25), the magic sum is (the size of the odd square
multiplied by the middle digit: 5 x 12 = ) 60.
You can also calculate the magic sum as follows: add 5x the sum of the column coordinates (0+1+2+
3+4=10) to the sum of the row coordinates (0+1+2+3+4=10):  5x10 + 10 = 60.
 
If you ensure that all the column coordinates from 0 up to 4 and all the row coordinates from 0 up to
4 are in each row/column/(pan)diagonal, than you will produce everywhere the magic sum of 60 (see
calculation mentioned above). Notify that the connection between the column coordinates and the row
coordinates must lead to unique column/row-combinations (see table mentioned above), so you can find
all the digits 0 up to 24 in the square.

 
 
How to produce a 5x5 panmagic square?

A trick to make a 5x5 panmagic square is the knight movement method:


Knight movement 1-5           place 6th digit and repeat          Indent marked digits
1
 
 
 
 
 
 
1
7
13
19
25
 
 
1
7
13
19
25
 
 
2
 
 
 
 
20
21
2
8
14
 
 
14
20
21
2
8
 
 
 
 
3
 
 
9
15
16
22
3
 
 
22
3
9
15
16
 
4
 
 
 
 
 
23
4
10
11
17
 
 
10
11
17
23
4
 
 
 
5
6
 
 
12
18
24
5
6
 
 
18
24
5
6
12


For a trick to make all panmagic 5x5 squares, see page  panmagic 5x5 square



<HOME>                         <<PREVIOUS]                         [NEXT>>

Magic squares|Contact / guestbook|Most magic square per order|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|Pan magic 4x4 square, binary|Dürer & Franklin transformation|Transformation method|Transformation method, analysis|[ultra] pan magic 5x5 square|Pan magic 5x5 square, explanation|6x6 magic square|Ultra (pan)magic 8x8 square|Most perfect magic squares, explanation|8x8 most perfect magic squares, binary|Khajuraho method|Khajuraho method, explanation|Basic 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 5|Quadrant method group 6 up to 10|Quadrant 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 square|10x10 magic square|Composite 12x12 magic square|14x14 magic square|[Ultra] pan magic 15x15 square|3x extra magic 15x15 square|The perfect magic square|3x extra magic 18x18 square|Ultra pan magic 25x25 square|[ultra] pan magic 27x27 square|[ultra] pan magic 35x35 square|extra magic 35x35 square|Bordered squares|Inlaid square (1)|Inlaid square (2)|Each magic sum|Water retention challenge|Most magic 4x4x4 cube|Perfect (Nasik) magic 8x8x8 cube|[More than] perfect magic 9x9x9 cube|Trick with 8x8 bimagic square|Favorite Links