New Method and Rules for Loubère Type Squares (Part I)

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... It's also a fact that only one Loubère square per order n has been handed down thru the centuries. In addition, construction of the square requires a one down shift after filling of a diagonal to move to the next diagonal until the square is filled. The move appears to have been chosen by luck. This page will show why the Loubère knight move is the mathematically correct one and that many more Loubère type squares are possible, as many as of order n, all situated on row one of the square and each one having a variable knight move consistent on the position of the starting number 1. This page consist of Part I followed by Part II on a separate page.

The Loubère Square Revisited

The 5×5 A1 and the 7×7 B1 regular Loubère squares are shown below each showing the first requisite down move of 1 from the end of one diagonal to the start of the next diagonal:

A1
17 24 1 8 15
23 5 7 14 16
4613 20 22
10 12 19 21 3
11 18 25 2 9
B1 (1→,1←)
30 39 48 1 1019 28
38 47 7 9 1827 29
46 6 8 17 2635 37
5141625 34 3645
13 15 24 33 4244 4
21 23 32 41 433 12
22 31 4049 2 1120

It will be shown that the initial number can be placed on any cell of row one with the requisite number of knight moves in the row preceding the table. The moves are only required at the end of one diagonal to the start of the next diagonal. Non similar methods have been employed in the past where the knight moves are used throughout the construction of the square, i.e., after each number a knight move is used to place the next number into the following cell. In addition, the length of the move is 2 units in a direction followed by 1 unit unit as in a chess move.

It has been found that the the knight moves in this method, as stated, only occur at the end of a filled diagonal to the start of the next diagonal. Furthermore, the moves are no longer of constant value but variable where the initial knight move may be either a length K − 1 always followed by a down move of 1 or a 1 followed by the variable move. The value of K is determined by the value in the following table where, for example, the K value of 2 is used as the knight move for cell position 1, 4 for cell position 2, etcetera, excetera, excetera. And where the ellipsis corresponds to larger and larger order squares.

Knight Down Shifts (K)
K246810 121416182022242628...

The 5×5 Squares

Let's take the order of 5 squares. There should be five squares some of which will be constructible and some inconstructible. Those that are constructible squares may or not be magic. First we construct the K table for this order. Then we subtract 5 from each number greater than 5 since this means a shift greater than the size of the square has been performed (just like clock arithmetic). These are the revised shifts. We then set up the shifts as 2 complementary strands linked at a central hinge with the 1 (the regular Loubère shift) as the hinge and all other as complementary pairs summing up to n + 2. From this setup it can easily be seen which Ks are complementary to each other and if one is deleted automatically its complement is also deleted. Note that a good way remembering how to set up the K table after revision is that it consists of a series of even numbers starting with 2, followed by a series of odd numbers starting with 1:

2.. n − 1, 1.. n

and applying this method to the 5th order square:

K Shifts
K246810
K Shifts (rev.)
K24135
24
1
53
24
1
53

Thus, whenever K is divisible by n or its composite primes the number is crossed out and colored green. An initial K value (see the above complement table) will produce an inconstructible square upon attempted construction. Furthermore, the complement of this K value is also crossed out in the table since this complement will give rise to either an inconstructible or non magic square upon construction. The Ks that are left uncrossed (in white) are relatively prime to the order n, i.e., having no common factors except for 1 and, therefore, constructible and magic. This rule has been verified by the actual construction of every square in Parts I and II and every 15th, 21st and 25th orders as mentioned at the end of this paper. Its easy to set up the complement table but tedious to actually construct the squares especially large order squares as I can attest.

The following five squares were constructed by placing the initial 1 in the appropriate cell with the number of knight K moves for that particular cell listed above row one. This top row is actually the K shift values of the complement table constructed previously. Furthermore, the squares are labelled with a letter and right or left knight moves.

A2 (2→,5←)
24135
1 17 8 24 15
16 7 23 14 5
62213 4 20
21 12 3 19 10
11 2 18 9 25
A4 (4→,3←)
24135
8 1 24 17 15
5 23 16 14 7
222013 6 4
19 12 10 3 21
11 9 2 25 18
A1 (1→,1←)
24135
17 24 1 8 15
23 5 7 14 16
4613 20 22
10 12 19 21 3
11 18 25 2 9
A3 (3→,4←)
24135
24 8 17 1 15
7 16 5 14 23
20413 22 6
3 12 21 10 19
11 25 9 18 2
A5 (5→,2←)
24135
1
5
4
3
2

Although it is impossible to construct a square from A5, it is possible to construct one from its complement A2. However, the square is not magic. We may regard A2 in a sense as coupled to A5 since A2 has a K move opposite to that of A5. Thus, if a square is inconstructible then its complement is non magic whether its constructible or not. And finally for this set, the other three squares, including the regular Loubère A1, are all magic.

At this point we can propose why the Loubère is a down move of 1. All the knight moves involve a right shift of 1 to n − 1 moves while the down move is always a 1. The Loubère is therefore a right or left move of 0 followed by a down move of 1 equivalent to a down move of 1 as was historically given to this type of square.

7th and 9th Order Squares

As for the 7×7 squares first we construct the complement table:

246
1
753

Then from these K values we construct the squares crossing out the 7 and its complement as was done above (since 7 is divisible by the order of the square) and all the other K values are relatively prime to 7. The Loubère, B1, for comparison is already listed at the start of this paper:

B2 (2→,7←)
2461357
1 30 10 391948 28
29 9 38 18 4727 7
8 37 17 46 266 35
36164525 5 3414
15 44 24 4 3313 42
43 23 3 32 1241 21
22 2 3111 40 2049
B4 (4→,5←)
2461357
39 1 19 30 4810 28
7 18 29 47 927 38
17 35 46 8 2637 6
34451425 36 516
44 13 24 42 415 33
12 23 41 3 2132 43
22 40 220 31 4911
B6 (6→,3←)
2461357
19 10 1 48 3930 28
9 7 47 38 2927 18
6 46 37 35 2617 8
45363425 16 45
42 33 24 15 134 44
32 23 21 12 343 41
22 20 112 49 4031
B3 (3→,6←)
2461357
10 48 30 19139 28
47 29 18 7 3827 9
35 17 6 37 268 46
1653625 14 4534
4 42 24 13 4433 15
41 23 12 43 3221 3
22 11 4931 20 240
B5 (5→,4←)
2461357
48 19 39 10 301 28
18 38 9 29 727 47
37 8 35 6 2646 17
1434525 45 1636
33 4 24 44 1542 13
3 23 43 21 4112 32
22 49 2040 11 312
B7 (7→,2←)
2461357
1
7
6
5
4
3
2

As can be seen all squares (along with the B1), excluding the B2 and B7, are magic as was predicted by the complement table.

What abrout the composite n. When n is composite the number of Ks that are divisible by any of the primes which make up the composite n increases and, therefore, a larger number of Ks must be struck out from the complement table. Since n is equal to 3×3 then 3, 6 and 9 are crossed out along with their complements giving rise to three magic squares, the C4, C7 and the C1. C4 and C7 are shown below along with the C5 an example of a square whose initial position of the starting 1 generated a square which is non magic as was predicted by the complement table.

246 8
1
975 3
C4 (4→ 7←)
246813579
23 1 694734 12 8058 45
9 68 465311 79 5744 22
67 54 321078 56 4321 8
53 31 187755 42 207 66
3017766341 19 66552
16 75 624027 5 6451 29
74 61 39264 72 5028 15
60 38 25371 49 3614 73
37 24 27048 35 1381 59
C5 (5→ 6←)
246813579
58 80 123447 69 123 45
79 11 334668 9 2244 57
10 32 54678 21 4356 78
31 53 66720 42 5577 18
526561941 63 761730
60 5 274062 75 1629 51
4 26 396174 15 2850 72
25 38 607314 36 4971 3
37 59 811335 48 702 24
C7 (7→ 4←)
246813579
80 34 692358 12 471 45
33 68 225711 46 944 79
67 21 561054 8 4378 32
20 55 18537 42 2731 66
631752641 76 306519
16 51 54075 29 6427 62
50 4 397428 72 2661 15
3 38 733671 25 6014 49
37 81 357024 59 1348 2

The following three complement tables show what squares are possible and not possible when n is of order 15, 21, and 25. All the squares generated from these tables were constructed to verify the rules but only the two (other than the Loubère which we know is magic) of order 15 will be depicted in Part II. Those of order 21 and 25 will not be shown due to size constraints. Let me repeat the cells in white are those which are relatively prime to their order and thus, are the ones that produce magic squares. Half of those which are divisible by the primes (in green), making up the composite order, are inconstructible but the other complementaty halves (also in green), may be non magic or inconstructible. Note that when n is of order 21 the n is composed of primes 3 and 7 both of which act as divisors to the K shift table. Furthermore, the 15th order squares are discussed in Part II.

15×15 K moves
246 81012 14
151311 975 3
21×21 K moves
246 810 12 1416 1820
211917 151311 975 3
25×25 K moves
246 810 12 1416 1820 2224
2523 211917 151311 975 3

As an interjection this method is viable for row one or for column one, i.e, the square is rotated about the main diagonal so that row one becomes the last column. Moreover, the last row and first column were shown by construction, not to produce any magic squares using the same knight moves as in row one or column n.

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


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