New Method for Loubère, Méziriac and Méziriac Type Magic Squares (Part II)

Rules for Construction

A stairs

Loubère and Méziriac Squares-Background

The Siamese method which includes both the Loubère and Méziriac magic squares have the property that the center cell must always contain the middle number of the series of numbers used, i.e. a number which is equal to one half the sum of the first and last numbers of the series, or ½(n2 + 1). In addition, the sum of the horizontal rows, vertical columns and corner diagonals are equal to the magic sum S. Both squares also require an upward stepwise addition of consecutive numbers, i.e., 1,2,3...

The Loubère, Méziriac and Méziriac type Squares

The 5×5 regular Loubère ((O) on the left) and the Méziriac ((P) on the right) squares are shown below with both the starting digit 1 at column 3, row 5 and row 4, respectively. Of these two, only (P) is magic. The square (O), a Loubère type but not the original one contructed by Loubère is non magic and we may state here, so are all other Loubère squares constructible in this section whether n is prime or composite. The 7×7 (Q) and 9×9 (R) Méziriac squares are also shown, where (Q) is magic and (R) is not:

O (4↓1↑)
10 5 25 20 15
4 24 19 14 9
231813 8 3
17 12 7 2 22
11 6 1 21 16
P (2↓3↑)
4 18 7 21 15
17625 14 3
102413 2 16
23121 20 9
11 5 19 8 22
Q (2↓5↑)
5 31 8 41 1844 28
30 14 40 17 4327 4
13 39 16 49 263 29
38154825 2 3512
21 47 24 1 3411 37
46 23 7 33 1036 20
22 6 32 9 4219 45
R (2↓7↑)
6 48 186021 72 3375 45
47 17 592071 32 7444 5
16 58 197031 73 434 46
57 27 693081 42 354 15
2668298041 2 531456
67 28 79401 52 1355 25
36 78 39951 12 6324 66
77 38 85011 62 2365 35
37 7 491061 22 6434 76

We can state here that the reason for non magic is most probably due to the composite nature of n (3×3) as will be shown with other composite n squares below. In addition, all three Méziriac squares (P), (Q) and (R) use a shift of two cells down or a complementary shift of 3, 5 or 5 up, respectively. These squares, however, are not the ones envisioned by Méziriac but are of a new type.

As was shown in Part IA a table was generated for right cell shifts. For these squares, however, the digit 1 is being place south of the central cell and the shifts are the same but in the southward direction as in the following table:

C2468101214 16182022242628...S ↓

Note that the first entry, 2, corresponds to a Méziriac and the last entry to a Loubère while all other entries between these two to Méziriac types.

Moreover, from the partial table (since the table is ∞) those n that are divisible by three 6,12,18; those by five 10, 20; and those by seven 14, 28 cannot be constructed. If we construct the other two 7×7 squares (S) and (T), only (S) is magic while the Loubère (T) is not.

S (4↓ 3↑)
38 6 16 33 4311 28
5 15 32 49 1027 37
21 31 48 9 2636 4
3047825 42 320
46 14 24 41 219 29
13 23 40 1 1835 45
22 39 7 17 3444 12
T (6↓ 1↑)
21 14 7 49 4235 28
13 6 48 41 3427 20
5 47 40 33 2619 12
46393225 18 114
38 31 24 17 103 45
30 23 16 9 244 37
22 15 81 43 3629

The results for the 9×9, where n is composite, are different from those of Part IA. (R) above, as well as those listed in the down shift table below, viz. 6 and 8 are non magic. Only the (U), a 4 down shift, square shown below is magic:

15×15
C2468 S ↓
U (4↓ 5↑)
26 7 695031 12 7455 45
6 68 493011 73 6344 25
67 48 291081 62 4324 5
47 28 188061 42 234 66
3617796041 22 36546
16 78 594021 2 6454 35
77 58 39201 72 5334 15
57 38 19971 52 3314 76
37 27 87051 32 1375 56

In addition, other squares with composite n may or may not contain viable magic squares. It was found (by actual construction) that for any of the 15×15 types no magic squares was possible but that for the 21×21 types, three were magic - the 4, the 10 and the 16 downward cell shift:

C246 810121416 1820S ↓

where 6, 12 and 18 are impossible to construct due to divisibility by three and the 14, impossible due to divisibility by seven. In other words those cells in white are either non magic or inconstructible. Thus, for composite n there is no way of knowing whether any of its squares are magic unless they are constructed. However, the rules for these squares have been constructed and are available in Part IV.

The following depicts (V) and (W) two out of the five possible prime squares of 11×11 both of which are magic. The Loubère, the digit 1 in the bottom 11th row (shown rotated by 180o degrees along the main diagonal at the end of Part III), is the only non magic square in the set.

V (2↓ 9↑)
7 69 218324 97 38100 52114 66
68 20 822396 37 11051 11365 6
19 81 339536 109 50112 645 67
80 32 9435108 49 11163 477 18
31 93 3410748 121 623 7617 39
92441064712061 2751678 30
43 195 4611960 1 7415 8829 81
104 45 1185911 73 1487 2890 42
55 117 581072 13 8627 8941 103
116 57 97112 85 2699 40102 54
56 8 702284 25 9839 10153 115
W (6↓ 5↑)
80 105 92348 73 98112 1641 66
104 8 334772 97 11115 4065 79
7 32 467196 121 1439 6478 103
31 45 7095120 13 3863 88102 6
55 69 9411912 37 6287 1015 30
6893118223661 86100429 54
92 117 213560 85 1103 2853 67
116 20 345984 109 227 5277 91
19 44 5883108 1 2651 7690 115
43 57 8210711 25 5075 89114 18
56 81 1061024 49 7499 11317 42

The 17th order Luo-Shu formatted square (known as the Méziriac on this page) is shown in Wikipedia on the subject of water retention on mathematica subjects. The square is of the regular Méziriac type after rotation to conform to the way it is depicted on this page. This would place the starting 1 north of the central cell. The other Méziriac (X) with the starting 1 just south of the central cell is shown below with the shift two cells down instead of two cells up as in the regular Méziriac :

X (2↓ 15↑)
10 156 3017650 196 53216 73236 93 239 113259 133279 153
155 29 17549195 52 21572 23592 255 112 258132 278152 9
28 174 4819468 214 71234 91254 111 257 131277 1518 154
173 47 19367213 70 23390 253110 256 130 276150 7170 27
46 192 6621269 232 89252 109272 129 275 1496 16926 172
191652118523188 251108271128 274 148 5168 25171 45
64 210 8423087 250 107270 127273 147 4 16724 18744 190
209 83 22986249 106 269126 289146 3 166 23186 43189 63
82 228 102248105 268 125288 1452 165 22 18542 18862 208
227 101 247104267 124 287144 1164 21 184 41204 61207 81
100 246 103266123 286 14317 16320 183 40 203 6020680226
245 119 265122285 142 16162 19182 39 202 59205 79225 99
118 264 121284141 15 16118 18138 201 58 22178 22498 244
263 120 28314014 160 34180 37200 57 220 77223 97243 117
136 282 13913159 33 17936 19956 219 76 22296 242116 262
281 138 1215832 178 35198 55218 75 238 95241 115261 135
137 11 15731177 51 19754 21774 237 94 240114 260134 280

This completes this section (Part II). To go to Part III. To return to Part IB To return to homepage.


Copyright © 2020 by Eddie N Gutierrez. E-Mail: enaguti1949@gmail.com