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
Bordered squares
<HOME>                         <<PREVIOUS]                         [NEXT>>



How to produce bordered squares
 
There are 3 similar types of squares: inlaid squares, bordered squares and concentric squares. See
for the exact descriptions on the website of Harvey Heinz: 
www.magic-squares.net/glossary.htm

A bordered square is an (impure) magic square inside a bigger (pure) magic square. A bordered square
consist of the center magic square with a singular border around the center square. The center square
consist of the middle numbers of the magic square and the border contains the lowest numbers and their
complements (the highest numbers). See below methods of construction to produce even and odd bordered
squares, a reference to a website with a method to produce concentric magic squares, reference to a web-
page with a method to produce inlaid squares and the presentation of two historic magic squares.
 
 
 
Even bordered squares

The smallest even bordered square is an (impure) 4x4 square inside a (pure) 6x6 square. A pure 6x6
square consist of all the digits from 1 up to 36.
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
 
 
27
28
29
30
31
32
33
34
35
36
-10
-9
-8
-7
-6
-5
-4
-3
-2
-1
 
 
Use the middle (yellow marked) 16 digits to produce the 4x4 inlaid square. Take for example the first basic
panmagic 4x4 square (see page
panmagic 4x4) and add 10 to each digit.
 
 
  Pure 4x4              +10 = (impure) inlaid 4x4
1
8
13
12
 
 
11
18
23
22
15
10
3
6
 
 
25
20
13
16
4
5
16
9
 
 
14
15
26
19
14
11
2
7
 
 
24
21
12
17
 
 
To produce the border there are the following three boundary conditions:
●     On the opposite of a possitive digit in the row, the column or the diagonal must be filled in the same
negative digit (= translation of the digits from 27 up to 36);
●     In the top row, the bottom row, the left column and the right column must be filled in each time 6
different (3 positive and 3 negative) digits;
●     The digits of the top row, the bottom row, the left column and the right column must each time total
to 0.
 
 
Produce the top row and the right column and fill in (for example) the digit 1 at the left corner on the top
row. Because the digit at the left corner on the top row is 1, at the right corner on the bottom row the
digit -1 must be filled in. The digit (?) to be filled in at the right corner on the top row is in the top row as
well as in the right column.
 
 
1
 
 
 
 
?
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
-1
 
 
In the top row and the right column must be filled in 4x 3 digits from (+/-) 1 up to 10. We need 1 up to 10
plus two digits (out of 1 up to 10) double. The sum of 1 up to 10 is 55. If we choose 1 and 8 double, than
the sum of each 3 digits must be: [55 + 1 + 8] / 4 = 16. Solve the puzzle!

 
1+5+10
1+6+ 9
1+7+ 8
2+4+10
 
2+5+ 9
2+6+ 8
3+4+ 9
3+5+ 8
3+6+ 7
4+5+ 7
 

When you have solved the puzzle, the digits can be filled in as follows:
 
 
  Fill in 4 possibilities                                               Fill in opposite digits
1
6
9
-3
-5
-8
 
 
1
6
9
-3
-5
-8
 
 
 
 
 
2
 
 
-2
 
 
 
 
2
 
 
 
 
 
4
 
 
-4
 
 
 
 
4
 
 
 
 
 
10
 
 
-10
 
 
 
 
10
 
 
 
 
 
-7
 
 
7
 
 
 
 
-7
 
 
 
 
 
-1
 
 
8
-6
-9
3
5
-1
 
 
The final result is:
 
 
1
6
9
34
32
29
35
11
18
23
22
2
33
25
20
13
16
4
27
14
15
26
19
10
7
24
21
12
17
30
8
31
28
3
5
36
 
 
You can use this method of construction for all even bordered magic squares (6x6 inside 8x8, 8x8 inside 10x10,
10x10 inside 12x12, …).
 

 
Odd bordered squares

The smallest bordered square is an (impure) 3x3 square inside the (pure) 5x5 square. It is possible to use the 9
(sequencing) middle digits out of 1 up to 25 to produce the 3x3 center square; see the result below.
 
 
 3x3 inlay inside 5x5 square
1
22
20
19
3
2
10
17
12
24
18
15
13
11
8
21
14
9
16
5
23
4
6
7
25
 
 
An 5x5 inlay inside an 7x7 square, can be produced as follows:
 
Produce the column pattern and the row pattern of the 5x5 inlaid by using the method of construction on page
Pan magic 5x5 square. Take from the digits 0 up to 6 the five middle digits, 1 up to 5.
 
 
 Column pattern 5x5 inlaid square         Row pattern 5x5 inlaid square
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
 
 
 
 
1
2
3
4
5
 
 
4
5
1
2
3
 
 
 
 
3
4
5
1
2
 
 
2
3
4
5
1
 
 
 
 
5
1
2
3
4
 
 
5
1
2
3
4
 
 
 
 
2
3
4
5
1
 
 
3
4
5
1
2
 
 
 
 
4
5
1
2
3
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The 5x5 inlaid square contains all combinations of the digits 1 up to 5. The border must contain all combinations
of the difgits 0 and/or 6. Establish that the sum of two opposite digits are allways 6 and the sum of every row and
every column is allways 21. Notify that 2x the middle digit from 0 up to 6 (=  3) must be placed in opposite corners
and the lowest and highest digits (= 0 and 6) must be placed in the same row or column:
 
 
                                                                  Column pattern 7x7 border
3
 
 
 
 
 
0
 
 
3
1
2
4
5
6
0
0
 
 
 
 
 
6
 
 
0
 
 
 
 
 
6
6
 
 
 
 
 
0
 
 
6
 
 
 
 
 
0
0
 
 
 
 
 
6
 
 
0
 
 
 
 
 
6
6
 
 
 
 
 
0
 
 
6
 
 
 
 
 
0
0
 
 
 
 
 
6
 
 
0
 
 
 
 
 
6
6
 
 
 
 
 
3
 
 
6
5
4
2
1
0
3
 
 
Place the digits of the row pattern and establish that you get all combinations of the digits 0 and/or 6 between the
column pattern and the row pattern of the border (because the magic square must contain all the digits from 1 up
to 49):
 
 
  Row pattern 7x7 border
0
6
0
0
6
6
3
1
 
 
 
 
 
5
2
 
 
 
 
 
4
5
 
 
 
 
 
1
4
 
 
 
 
 
2
6
 
 
 
 
 
0
3
0
6
6
0
0
6
 
 
Take 7x a digit from the column pattern and add 1x a digit from the same cell of the row pattern and add 1 (to get
the digits 1 up to 49 instead of 0 up to 48).
 
 
 7x digit from column pattern        +       1x digit from row pattern
3
1
2
4
5
6
0
 
 
0
6
0
0
6
6
3
0
1
2
3
4
5
6
 
 
1
1
2
3
4
5
5
6
4
5
1
2
3
0
 
 
2
3
4
5
1
2
4
0
2
3
4
5
1
6
 
 
5
5
1
2
3
4
1
6
5
1
2
3
4
0
 
 
4
2
3
4
5
1
2
0
3
4
5
1
2
6
 
 
6
4
5
1
2
3
0
6
5
4
2
1
0
3
 
 
3
0
6
6
0
0
6
 
 
                        +1                           =       5x5 inlay inside 7x7 square
21
13
14
28
41
48
3
 
 
22
14
15
29
42
49
4
1
8
16
24
32
40
47
 
 
2
9
17
25
33
41
48
44
31
39
12
15
23
4
 
 
45
32
40
13
16
24
5
5
19
22
30
38
11
43
 
 
6
20
23
31
39
12
44
46
37
10
18
26
29
2
 
 
47
38
11
19
27
30
3
6
25
33
36
9
17
42
 
 
7
26
34
37
10
18
43
45
35
34
20
7
0
27
 
 
46
36
35
21
8
1
28
 
 
You can use this method of construction also for a 7x7 inlaid inside a 9x9 square.
 


Website about the construction of  concentric magic squares

You can find information about the construction of concentric magic squares on website:

http://users.eastlink.ca/~sharrywhite/BorderedMagicSquares.html 
 
 
 
Webpage about the construction of an inlaid square

Find information about the construction of an inlaid square on this website:

www.perfectmagicsquares.com/inlaid square.html



Anxi bordered 6x6 square

Paul Michelet discovered that the 6x6 Anxi magic square from the 13th or 14th century is
not an ordinary 6x6 magic square, but a 6x6 bordered magic square with a 4x4 panmagic
square inside it.


28
4
3
31
35
10
36
18
21
24
11
1
7
23
12
17
22
30
8
13
26
19
16
29
5
20
15
14
25
32
27
33
34
6
2
9


Read more about the Anxi magic square on:

http://hua.umf.maine.edu/China/Xian/Shaanxi_History/pages/284_History_Museum.html



Al-Antaakii concentric 15x15 magic square with extra feature

Paul Michelet drew my attention to the al-Antaakii concentric 15x15 magic square with an extra
magic feature dated from 987 (!!!); see youtube movie from Gresham College:

http://www.youtube.com/watch?v=YUsSaGnbcCw



62
2
222
220
8
10
214
213
212
16
18
206
204
24
64
126
78
26
198
196
32
11
189
207
34
190
188
40
80
100
128
122
94
42
182
7
35
173
183
203
180
48
96
104
98
50
124
118
110
3
31
51
165
167
179
199
112
108
102
176
52
70
120
201
75
159
155
153
83
87
79
25
106
156
174
54
72
205
181
141
95
135
133
103
99
85
45
21
154
172
170
209
185
169
145
125
111
121
107
101
81
57
41
17
56
211
187
171
163
149
129
109
113
117
97
77
63
55
39
15
168
9
33
49
69
89
119
105
115
137
157
177
193
217
58
60
82
5
29
65
127
91
93
123
131
161
197
221
144
166
66
142
90
1
147
67
71
73
143
139
151
225
136
84
160
158
140
92
114
223
195
175
61
59
47
27
116
134
86
68
152
88
130
184
44
219
191
53
43
23
46
178
132
138
74
76
146
200
28
30
194
215
37
19
192
36
38
186
148
150
162
224
4
6
218
216
12
13
14
210
208
20
22
202
164



N.B.: Extra magic feature is that the white diamond contains only the odd digits!!!

Read more about Al-Antaakii on
http://en.wikipedia.org/wiki/Yahya_of_Antioch




<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