Magic SquaresI hope you enjoy these examples of a variety of magic squares. This section of my site consists mostly of examples, with a minimum of
explanation and theory.
Magic Squares are a form of number pattern that has been around for thousands of years. For a pure or normal magic square, all rows, columns, and
the two main diagonals must sum to the same value and the numbers used must be
consecutive from 1 to n2, where n is the order of
the square. I show on these pages samples of the large variety of magic squares. My descussions will be limited to brief comments on the individual illustrations. Perhaps in the future, I will add more in depth information in the way of history, theory, construction methods, etc. Acknowledgments: As with all the mateial on this site, most of these illustrations are original with myself or I consider them in the public domain (i.e. I have multiple sources for the illustration). Many of the more unusual figures are one of a kind and I so acknowledge the author with thanks for permission to use them. Contents
Set of Orders 3, 4, and 5
Orders 3, 5, 7, 9 Inlaid |
|
400 |
9 |
16 |
13 |
18 |
2 |
7 |
4 |
10 |
6 |
395 |
391 |
397 |
394 |
399 |
383 |
388 |
385 |
12 |
381 |
|
161 |
232 |
225 |
228 |
223 |
239 |
234 |
237 |
231 |
235 |
166 |
170 |
164 |
167 |
162 |
178 |
173 |
176 |
229 |
180 |
|
301 |
92 |
219 |
83 |
57 |
379 |
323 |
45 |
371 |
95 |
315 |
357 |
199 |
23 |
125 |
74 |
311 |
248 |
312 |
81 |
|
241 |
152 |
263 |
214 |
157 |
268 |
145 |
271 |
159 |
155 |
255 |
34 |
131 |
68 |
317 |
259 |
343 |
185 |
252 |
141 |
|
341 |
52 |
368 |
88 |
205 |
337 |
91 |
334 |
54 |
55 |
355 |
79 |
303 |
245 |
354 |
191 |
28 |
137 |
352 |
41 |
|
21 |
372 |
59 |
274 |
97 |
211 |
325 |
148 |
363 |
375 |
35 |
251 |
348 |
197 |
39 |
123 |
65 |
314 |
32 |
361 |
|
121 |
272 |
143 |
328 |
331 |
85 |
217 |
94 |
279 |
275 |
135 |
183 |
25 |
134 |
71 |
308 |
257 |
359 |
132 |
261 |
|
61 |
332 |
374 |
151 |
265 |
154 |
277 |
208 |
48 |
335 |
75 |
128 |
77 |
319 |
243 |
345 |
194 |
31 |
72 |
321 |
|
181 |
212 |
51 |
339 |
365 |
43 |
99 |
377 |
203 |
215 |
195 |
305 |
254 |
351 |
188 |
37 |
139 |
63 |
192 |
201 |
|
101 |
292 |
285 |
288 |
283 |
299 |
294 |
297 |
291 |
295 |
115 |
111 |
117 |
114 |
119 |
103 |
108 |
105 |
112 |
281 |
|
300 |
109 |
296 |
293 |
298 |
282 |
287 |
284 |
290 |
286 |
106 |
110 |
104 |
107 |
102 |
118 |
113 |
116 |
289 |
120 |
|
220 |
189 |
202 |
98 |
44 |
362 |
338 |
56 |
370 |
206 |
186 |
182 |
318 |
344 |
22 |
78 |
356 |
30 |
209 |
200 |
|
340 |
69 |
278 |
204 |
270 |
336 |
87 |
153 |
142 |
326 |
66 |
138 |
316 |
244 |
130 |
184 |
76 |
242 |
329 |
80 |
|
280 |
129 |
373 |
327 |
93 |
144 |
210 |
276 |
47 |
266 |
126 |
33 |
73 |
253 |
67 |
247 |
310 |
347 |
269 |
140 |
|
380 |
29 |
42 |
150 |
216 |
267 |
333 |
84 |
378 |
366 |
26 |
342 |
187 |
124 |
190 |
256 |
193 |
38 |
369 |
40 |
|
60 |
349 |
158 |
273 |
324 |
90 |
156 |
207 |
262 |
46 |
346 |
258 |
70 |
133 |
313 |
127 |
307 |
122 |
49 |
360 |
|
160 |
249 |
367 |
96 |
147 |
213 |
264 |
330 |
53 |
146 |
246 |
27 |
304 |
196 |
250 |
136 |
64 |
353 |
149 |
260 |
|
100 |
309 |
50 |
322 |
376 |
58 |
82 |
364 |
218 |
86 |
306 |
350 |
62 |
36 |
358 |
302 |
24 |
198 |
89 |
320 |
|
221 |
172 |
236 |
233 |
238 |
222 |
227 |
224 |
230 |
226 |
175 |
171 |
177 |
174 |
179 |
163 |
168 |
165 |
169 |
240 |
|
20 |
389 |
5 |
8 |
3 |
19 |
14 |
17 |
11 |
15 |
386 |
390 |
384 |
387 |
382 |
398 |
393 |
396 |
392 |
1 |
J.R.Hendricks, Magic square course (self-published) pp290-294
I
assembled this from a boilerplate design by John Hendricks. He provides the
frame, and four of each of the order-7 inlays,
one for each quadrant. It is
then simply a matter of deciding which type of inlay to put in each quadrant.
The order-7 (upper right corner) is a pandiagonal so may be altered by
shifting rows or columns.
The order-5 (lower left quadrant) is also a
pandiagonal.
The order-20, because it contains the consecutive numbers from 1
to 400, is a pure magic square
Magic sums are: U.L. 1477, 1055, 633; -- U.R.
1337; -- L.L. 1470, 1050; -- L. R. 1330, 950, 570

Numbers 1 to 25 arranged as an order-5 pandiagonal pure magic square.
Numbers 26 to 41 arranged as an embedded order-4 pandiagonal magic square.
Together, they make an order-9 magic square. Any one of the rows and any one of the columns of the order-4 is counted twice.
S4 = 134, S5 = 65, S9 = 199
If we use the series from 70 to 110 instead of 1 to 41, the magic constant of both order-4 and order-5 is 410 !
As far as I can determine, this type of magic square originated with Kenneth Kelsey of Great Britain.
![]()
The full term decimal expansion of the prime number 19 when multiplied by the
values 1 to 18, may be arranged in a simple magic square of order-18, if the
decimal point is ignored. All 18 rows, columns and the two main diagonals sum to
the same value. S = 81. Of course this is not a pure magic square
because a consecutive series of numbers from 1 to n is not used.
Point of
interest: 81 is also a cyclic number (of period 9). 1/81 = .0123456790123456 ...
. Only the 8 is missing. Too bad!
|
1/19 = |
.0 |
5 |
2 |
6 |
3 |
1 |
5 |
7 |
8 |
9 |
4 |
7 |
3 |
6 |
8 |
4 |
2 |
1 |
|
2/19 = |
.1 |
0 |
5 |
2 |
6 |
3 |
1 |
5 |
7 |
8 |
9 |
4 |
7 |
3 |
6 |
8 |
4 |
2 |
|
3/19 = |
.1 |
5 |
7 |
8 |
9 |
4 |
7 |
3 |
6 |
8 |
4 |
2 |
1 |
0 |
5 |
2 |
6 |
3 |
|
4/19 = |
.2 |
1 |
0 |
5 |
2 |
6 |
3 |
1 |
5 |
7 |
8 |
9 |
4 |
7 |
3 |
6 |
8 |
4 |
|
5/19 = |
.2 |
6 |
3 |
1 |
5 |
7 |
8 |
9 |
4 |
7 |
3 |
6 |
8 |
4 |
2 |
1 |
0 |
5 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 |
5 |
2 |
6 |
3 |
1 |
5 |
7 |
8 |
This magic square was designed by Harry A. Sayles and published in the
Monist before 1916.
W. S. Andrews, Magic Squares and Cubes, Dover
Publ., 1917, p.176
The next cyclic number (in base 10) that is capable of forming a magic square
in this fashion, is n/383.
In an e-mail dated July 20/01, Simon Whitechapel
pointed out that many such magic squares may be formed using full period cyclic
numbers in other bases.
Below we show that the numbers n/19 can be multiplied simply by shifting left. Obviously, each row and column add to the same value (a property of all such lists).
1/19 = .0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2 1 10/19 = .5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2 1 0 5/19 = .2 6 3 1 5 7 8 9 4 7 3 6 8 4 2 1 0 5 12/19 = .6 3 1 5 7 8 9 4 7 3 6 8 4 2 1 0 5 2 6/19 = .3 1 5 7 8 9 4 7 3 6 8 4 2 1 0 5 2 6 3/19 = .1 5 7 8 9 4 7 3 6 8 4 2 1 0 5 2 6 3 11/19 = .5 7 8 9 4 7 3 6 8 4 2 1 0 5 2 6 3 1 15/19 = .7 8 9 4 7 3 6 8 4 2 1 0 5 2 6 3 1 5 17/19 = .8 9 4 7 3 6 8 4 2 1 0 5 2 6 3 1 5 7 18/19 = .9 4 7 3 6 8 4 2 1 0 5 2 6 3 1 5 7 8 9/19 = 4 7 3 6 8 4 2 1 0 5 2 6 3 1 5 7 8 9 14/19 = .7 3 6 8 4 2 1 0 5 2 6 3 1 5 7 8 9 4 7/19 = .3 6 8 4 2 1 0 5 2 6 3 1 5 7 8 9 4 7 13/19 = .6 8 4 2 1 0 5 2 6 3 1 5 7 8 9 4 7 3 16/19 = .8 4 2 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8/19 = .4 2 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4/19 = .2 1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2/19 = .1 0 5 2 6 3 1 5 7 8 9 4 7 3 6 8 4 2