New Generalized Procedure for Magic Squares Continuation (Part IV)
Loubère and Méziriac Type Squares
A Discussion of the New Method
Normally the Méziriac method involves a stepwise approach of consecutive numbers, i.e., 1,2,3...
In this report the initial number 1 does not have to be placed at the middle of the first row cell but may be placed in any available position on the first row or
the center column to give modified Méziriac squares. In addition, the translational moves following a break may be either
to the right as in A new generalized procedure (Part III) or down as on this page. For simplicity
5x5 squares will be used for demonstration. Fully formed 7x7 examples will be shown at the end.
Using first principles we use one configuration of squares to generate all the other configurations in the set. For example, the first step
involves always placing the initial number 1 onto the middle cell of the first row and doing the stepwise
Méziriac addition of numbers onto the square. If the square (in this case a 5x5) has the right number set 11,12,13,14,15 on the right main diagonal nothing has
to be done. If these numbers are not on the main right diagonal then column or rows must be moved an m number of moves, where
m is 1..n until the square is in the right configuration. This new configuration will be shown to produce both Loubère and Méziriac
type Squares.
********************************************************************************************************************************************************
Construction of Generalized Procedure for Loubère and Méziriac Squares
A Break Vertically Down
Method II: 1 Move Down
- Place a 1 to the right of the center cell of the middle row.
- Fill in the numbers in a stepwise manner, until blocked by a previous number.
- Move one cell down.
- Repeat the process until the square is filled as shown below in squares 1-5.
- As shown below all rows need be moved two cells down to give the semi-magic square 6.
1
| 3 |   |   |
  |   |
|   |   |   |
  | 2 |
|   |   |   |
1 |   |
|   |   | 5 |
  |   |
|   | 4 | 6 |
  |   |
|
⇒   |
2
| 3 | 10 |   |
  |   |
| 9 | 11 |   |
  | 2 |
|   |   |   |
1 | 8 |
|   |   | 5 |
7 |   |
|   | 4 | 6 |
  |   |
|
  ⇒   |
3
| 3 | 10 | 12 |
  |   |
| 9 | 11 |   |
  | 2 |
| 15 |   |   |
1 | 8 |
| 16 |   | 5 |
7 | 14 |
|   | 4 | 6 |
13 |   |
|
  ⇒   |
4
| 3 | 10 | 12 |
19 | 21 |
| 9 | 11 | 18 |
  | 2 |
| 15 | 17 |   |
1 | 8 |
| 16 |   | 5 |
7 | 14 |
|   | 4 | 6 |
13 | 20 |
|
  ⇒   |
5 Magic
| 3 | 10 | 12 |
19 | 21 |
| 9 | 11 | 18 |
25 | 2 |
| 15 | 17 | 24 |
1 | 8 |
| 16 | 23 | 5 |
7 | 14 |
| 22 | 4 | 6 |
13 | 20 |
|
  ⇒   |
6 Semi-Magic
| 16 | 23 | 5 |
7 | 14 |
| 22 | 4 | 6 |
13 | 20 |
| 3 | 10 | 12 |
19 | 21 |
| 9 | 11 | 18 |
25 | 2 |
| 15 | 17 | 24 |
1 | 8 |
|
********************************************************************************************************************************************************
Method II: 2 Moves Down
- Place a 1 in the center cell of the first row.
- Fill in the numbers in a stepwise manner, until blocked by a previous number.
- Move two cells down.
- Repeat the process until the square is filled as shown below in squares 1-6.
- As shown below no rows or columns need to be moved for the square to be magic.
1
| 3 |   | 6 |
  |   |
|   |   |   |
  | 2 |
|   |   |   |
1 |   |
|   |   | 5 |
  |   |
|   | 4 |   |
  |   |
|
⇒   |
2
| 3 |   | 6 |
  |   |
|   | 10 |   |
  | 2 |
| 9 |   |   |
1 |   |
|   | 11 | 5 |
  | 8 |
|   | 4 |   |
7 |   |
|
  ⇒   |
3
| 3 |   | 6 |
  | 14 |
| 16 | 10 |   |
13 | 2 |
| 9 |   | 12 |
1 |   |
|   | 11 | 5 |
  | 8 |
| 15 | 4 |   |
7 |   |
|
  ⇒   |
4
| 3 | 17 | 6 |
  | 14 |
| 16 | 10 |   |
13 | 2 |
| 9 |   | 12 |
1 | 20 |
|   | 11 | 5 |
19 | 8 |
| 15 | 4 | 18 |
7 | 21 |
|
  ⇒   |
5 Magic
| 3 | 17 | 6 |
25 | 14 |
| 16 | 10 | 24 |
13 | 2 |
| 9 | 23 | 12 |
1 | 20 |
| 22 | 11 | 5 |
19 | 8 |
| 15 | 4 | 18 |
7 | 21 |
|
********************************************************************************************************************************************************
Method II: 3 Moves Down
- Place a 1 in the center cell of the first row.
- Fill in the numbers in a stepwise manner, until blocked by a previous number.
- Move three cells down.
- Repeat the process until the square is filled as shown below in squares 1-6.
- As shown below all rows need to be moved 2 cells up for the square to be magic.
1
| 3 |   |   |
  |   |
|   |   | 6 |
  | 2 |
|   |   |   |
1 |   |
|   |   | 5 |
  |   |
|   | 4 |   |
  |   |
|
⇒   |
2
| 3 | 11 |   |
7 |   |
|   |   | 6 |
  | 2 |
|   | 10 |   |
1 |   |
| 9 |   | 5 |
  |   |
|   | 4 |   |
  | 8 |
|
  ⇒   |
3
| 3 | 11 |   |
7 |   |
| 15 |   | 6 |
  | 2 |
|   | 10 |   |
1 | 14 |
| 9 |   | 5 |
13 |   |
| 16 | 4 | 12 |
  | 8 |
|
  ⇒   |
4
| 3 | 11 |   |
7 | 20 |
| 15 |   | 6 |
19 | 2 |
|   | 10 | 18 |
1 | 14 |
| 9 | 17 | 5 |
13 | 21 |
| 16 | 4 | 12 |
  | 8 |
|
  ⇒   |
5
| 3 | 11 | 24 |
7 | 20 |
| 15 | 23 | 6 |
19 | 2 |
| 22 | 10 | 18 |
1 | 14 |
| 9 | 17 | 5 |
13 | 21 |
| 16 | 4 | 12 |
25 | 8 |
|
  ⇒   |
6 Magic
| 22 | 10 | 18 |
1 | 14 |
| 9 | 17 | 5 |
13 | 21 |
| 16 | 4 | 12 |
25 | 8 |
| 3 | 11 | 24 |
7 | 20 |
| 15 | 23 | 6 |
19 | 2 |
|
********************************************************************************************************************************************************
Method II: 4 Moves Down
- Place a 1 to the right of the center cell of the center row.
- Fill in the numbers in a stepwise manner, until blocked by a previous number.
- Move four cells down.
- Repeat the process until the square is filled as shown below in squares 1-6.
- As shown below all rows need to be moved 2 cells down but the square is not magic.
1
| 3 |   |   |
  |   |
|   |   |   |
  | 2 |
|   |   | 6 |
1 |   |
|   |   | 5 |
  |   |
|   | 4 |   |
  |   |
|
⇒   |
2
| 3 |   |   |
  | 8 |
|   |   |   |
7 | 2 |
|   | 11 | 6 |
1 |   |
|   | 10 | 5 |
  |   |
| 9 | 4 |   |
  |   |
|
  ⇒   |
3
| 3 |   |   |
13 | 8 |
|   |   | 12 |
7 | 2 |
| 16 | 11 | 6 |
1 |   |
| 15 | 10 | 5 |
  |   |
| 9 | 4 |   |
  | 14 |
|
  ⇒   |
4
| 3 |   | 18 |
13 | 8 |
|   | 17 | 12 |
7 | 2 |
| 16 | 11 | 6 |
1 | 21 |
| 15 | 10 | 5 |
  | 20 |
| 9 | 4 |   |
19 | 14 |
|
  ⇒   |
5
| 3 | 23 | 18 |
13 | 8 |
| 22 | 17 | 12 |
7 | 2 |
| 16 | 11 | 6 |
1 | 21 |
| 15 | 10 | 5 |
25 | 20 |
| 9 | 4 | 24 |
19 | 14 |
|
  ⇒   |
6 Not Magic
| 9 | 4 | 24 |
19 | 14 |
| 3 | 23 | 18 |
13 | 8 |
| 22 | 17 | 13 |
7 | 2 |
| 16 | 11 | 6 |
1 | 21 |
| 15 | 10 | 5 |
25 | 20 |
|
********************************************************************************************************************************************************
Method II: 5 Moves down
- Place a 1 to the right of the center cell of the center row.
- Fill in the numbers in a stepwise manner, until blocked by a previous number.
- Move five cells down. The next number 6 would land directly over the 5, so that this square is not magic.
********************************************************************************************************************************************************
Method I: Four 7x7 fully Configured Magic Squares with a Typical Break Move
I Break 1 Down
| 29 | 38 | 47 |
7 | 9 |
18 | 27 |
| 37 | 46 | 6 |
8 | 17 |
26 | 35 |
| 45 | 5 | 14 |
16 | 25 |
34 | 36 |
| 4 | 13 | 15 |
24 | 33 |
42 | 44 |
| 12 | 21 | 23 |
32 | 41 |
43 | 3 |
| 20 | 22 | 31 |
40 | 49 |
2 | 11 |
| 28 | 30 | 39 |
48 | 1 |
10 | 19 |
|
     |
II Break 2 Down
| 4 | 30 | 14 |
40 | 17 |
43 | 27 |
| 29 | 13 | 39 |
16 | 49 |
26 | 3 |
| 12 | 38 | 15 |
48 | 25 |
2 | 35 |
| 37 | 21 | 47 |
24 | 1 |
34 | 11 |
| 20 | 46 | 23 |
7 | 33 |
10 | 36 |
| 45 | 22 | 6 |
32 | 9 |
42 | 19 |
| 28 | 5 | 31 |
8 | 41 |
18 | 44 |
|
     |
III Break 3 Down
| 12 | 46 | 31 |
16 | 1 |
42 | 27 |
| 45 | 30 | 15 |
7 | 41 |
26 | 11 |
| 29 | 21 | 6 |
40 | 25 |
10 | 44 |
| 20 | 5 | 39 |
24 | 9 |
43 | 35 |
| 4 | 38 | 23 |
8 | 49 |
34 | 19 |
| 37 | 22 | 14 |
48 | 33 |
18 | 3 |
| 28 | 13 | 47 |
32 | 17 |
2 | 36 |
|
     |
IV Break 4 Down
| 37 | 5 | 15 |
32 | 49 |
10 | 27 |
| 4 | 21 | 31 |
48 | 9 |
26 | 36 |
| 20 | 30 | 47 |
8 | 25 |
42 | 3 |
| 29 | 46 | 14 |
24 | 41 |
2 | 19 |
| 45 | 13 | 23 |
40 | 1 |
18 | 35 |
| 12 | 22 | 39 |
7 | 17 |
34 | 44 |
| 28 | 38 | 6 |
16 | 33 |
43 | 11 |
|
********************************************************************************************************************************************************
Summary of Generalized Procedure for Break Down Squares
This table summarizes square sizes 5x5 to 11x11 for the generalized procedure above. Each of the cells corresponds to where the initial number 1 would go along with
the number of moves after the break: D(down). The semi-magic squares are in light green color,
while the non-magic squares are in orange color. Squares formed
from n div by 3 forms only one magic square in the semi-magic set; the other n - 1 are semi-magic squares. In addition,
the four 7x7 examples are shown in white in the following table:
Squares That Break Down
| 5x5 | 7x7 | 9x9 | 11x11 |
|   |   |
  | 3D |
| 3D | 5D |
| 3D | 5D | 7D |
| 3D | 5D | 7D | 9D |
| 5D | 7D | 9D |
11D |
| 2D | 2D | 2D |
2D |
| 4D | 4D | 4D | 4D |
| 1D | 6D | 6D | 6D |
|   | 1D | 8D | 8D |
|   | 1D | 10D |
|   | 1D |
********************************************************************************************************************************************************
This completes this section on the new generalized procedure (Part II). To return to homepage.
Copyright © 2009 by Eddie N Gutierrez. E-Mail: Fiboguti89@Yahoo.com