A New Procedure for Magic Squares (Part II)
7x7 Mask-Generated Squares
A Discussion of the New Method
Magic squares such as the Loubère have a center cell which must always contain the middle number of
a series of consecutive numbers, i.e. a number which is equal to one half the sum of the first and last numbers of the series, or
½(n2 + 1). The properties of these regular or associated Loubère squares are:
- That the sum of the horizontal rows,
vertical columns and corner diagonals are equal to the magic sum S.
- The sum of any two numbers that are diagonally equidistant from the center (DENS) is equal to
n2 + 1, i.e., or twice the number in the center cell and are complementary to each other.
This site will explore new squares which are derived in a different manner from the standard Loubère approach.
A 7x7 Loubère square which is produced using the
staircase method is shown below in I. If all the even numbers in this square are exchanged for their complements the result is II:
********************************************************************************************************************************************************
I
| 30 | 39 | 48 |
1 | 10 | 19 | 28 |
| 38 | 47 | 7 |
9 | 18 | 27 | 29 |
| 46 | 6 | 8 |
17 | 26 | 35 | 37 |
| 5 | 14 | 16 |
25 | 34 | 36 | 45 |
| 13 | 15 | 24 |
33 | 42 | 44 | 4 |
| 21 | 23 | 32 |
41 | 43 | 3 | 12 |
| 32 | 31 | 40 |
49 | 2 | 11 | 20 |
|
        |
II
| 20 | 39 | 2 |
1 | 40 | 19 | 22 |
| 29 | 27 | 32 |
9 | 7 | 47 | 12 |
| 4 | 44 | 42 |
17 | 24 | 35 | 37 |
| 45 | 14 | 16 |
25 | 34 | 36 | 5 |
| 13 | 15 | 26 |
33 | 8 | 6 | 46 |
| 38 | 3 | 43 |
41 | 18 | 23 | 21 |
| 18 | 31 | 10 |
49 | 48 | 11 | 30 |
|
This is equivalent to using the following complementary table where the number sequence is 1 → 24 → 3 → 22...25 → 26 → 27...49.
| 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 |
| 49 | 48 |
47 | 46 |
45 | 44 |
43 | 42 |
41 | 40 |
39 | 38 |
37 | 36 |
35 | 34 |
33 | 32 |
31 | 30 |
29 | 28 |
27 | 26 |
     |
********************************************************************************************************************************************************
Square II, however, is not magic using the standard Loubère approach but a new approach which gives two types of squares is.
Taking the complementary table numbers and placing them in the same order into a 7x7 square produces A. If the numbers are placed
boustrophedonically (reading in regular order then in backward order) the result is B:
A
| 1 | 48 | 3 |
46 | 5 | 44 | 7 |
| 42 | 9 | 40 |
11 | 38 | 13 | 36 |
| 15 | 34 | 17 |
32 | 19 | 30 | 21 |
| 28 | 23 | 26 |
25 | 24 | 27 | 22 |
| 29 | 20 | 31 |
18 | 33 | 16 | 35 |
| 14 | 37 | 12 |
39 | 10 | 41 | 8 |
| 43 | 6 | 45 |
4 | 47 | 2 | 49 |
|
        |
B
| 1 | 48 | 3 |
46 | 5 | 44 | 7 |
| 36 | 13 | 38 |
11 | 40 | 9 | 42 |
| 15 | 34 | 17 |
32 | 19 | 30 | 21 |
| 22 | 27 | 24 |
25 | 26 | 23 | 28 |
| 29 | 20 | 31 |
18 | 33 | 16 | 35 |
| 8 | 41 | 10 |
39 | 12 | 37 | 14 |
| 43 | 6 | 45 |
4 | 47 | 2 | 49 |
|
********************************************************************************************************************************************************
Both these squares after manipulation produce two types of magic squares. One by the manipulation of individual cells, the other by the use of a symmetrical
C2 mask (symmetrical by 180° rotation) of n2 numbers (see Method II below).
Moreover, the 4n + 3 produce squares with internal cross three cells wide. These squares will are developed in
new 7x7 and 11x11 Cross Squares Methods (Part III).
The magic squares produced have only partially sequential order and
not all the numbers from 1 to n2 are present. Because of the manipulation numbers greater than
n2or less than 1 are generated.
In addition, it will also be shown that the sums of these squares follow the new sum equation as was shown in the
New block Loubère Method:
Construction of 7x7 Magic Squares
********************************************************************************************************************************************************
Method I: Reading from left to right
- Recopy square A with the sum and row columns (in gray).
- As shown below this square is not magic because all the columns and rows don't sum to 175.
- Adjust the center column by adding and subtracting numbers from the selected cells to generate 2.
- Adjust the center row by adding and subtracting numbers from the selected cells, containing duplicate cells in
green.
- Use the mask A consisting of the numbers 1 and 2 to remove duplicates. Where the numbers intersect with the numbers of square 2
add the appropriate factor of
n2, 49 for "1" and 98 for "2".
- Addition of the right factor gives square 3 with S = ½(n3 + 57n).
1
| 175 | |
| 1 | 48 | 3 |
46 | 5 | 44 | 7 | 154 | -21 |
| 42 | 9 | 40 |
11 | 38 | 13 | 36 | 189 | 14 |
| 15 | 34 | 17 |
32 | 19 | 30 | 21 | 168 | -7 |
| 28 | 23 | 26 |
25 | 24 | 27 | 22 | 175 | 0 |
| 29 | 20 | 31 |
18 | 33 | 16 | 35 | 182 | 7 |
| 14 | 37 | 12 |
39 | 10 | 41 | 8 | 161 | -14 |
| 43 | 6 | 45 |
4 | 47 | 2 | 49 | 196 | 21 |
| 172 | 177 | 174 |
175 | 176 | 173 |
178 | 175 |   |
| -3 | 2 | -1 |
0 | 1 | -2 | 3 | | |
|
     ⇒      |
2
| 175 |
| 1 | 48 | 3 |
67 | 5 | 44 | 7 | 175 |
| 42 | 9 | 40 |
-3 | 38 | 13 | 36 | 175 |
| 15 | 34 | 17 |
39 | 19 | 30 | 21 | 175 |
| 31 | 21 | 27 |
25 | 23 | 29 | 19 | 175 |
| 29 | 20 | 31 |
11 | 33 | 16 | 35 | 175 |
| 14 | 37 | 12 |
53 | 10 | 41 | 8 | 175 |
| 43 | 6 | 45 |
-17 | 47 | 2 | 49 | 175 |
| 175 | 175 | 175 |
175 | 175 | 175 |
175 | 175 |
|
| Square 2 |
  +   |
Mask A
| | 2 |
1 | | 1 | |
| 1 | 2 | |
1 | | | |
| 2 | | |
| 2 | | |
| 1 | 1 | |
| | 1 | 1 |
| | 2 | | |
| 2 |
| | | 1 | |
2 | 1 |
| 1 | | 1 | 2 |
| |
|
  ⇒   |
3
| 371 |
| 1 | 48 | 101 |
116 | 5 | 93 | 7 |
371 |
| 91 | 107 | 40 |
46 | 38 | 13 | 36 | 371 |
| 113 | 34 | 17 |
39 | 117 | 30 | 21 | 371 |
| 80 | 70 | 27 |
25 | 23 | 78 | 68 |
371 |
| 29 | 20 | 129 |
11 | 33 | 16 | 133 | 371 |
| 14 | 37 | 12 |
102 | 10 | 139 | 57 | 371 |
| 43 | 55 | 45 |
32 | 145 | 2 | 49 | 371 |
| 371 | 371 | 371 |
371 | 371 | 371 |
371 | 371 |
|
********************************************************************************************************************************************************
Method II: Reading Boustrophedonically
- Recopy square A with the sum and row columns (in gray).
- Invert rows 2, 4 and 6 and color the left diagonal blue.
- As shown below this square is not magic because all the columns and rows don't sum to 175.
- Adjust the blue cells by adding and subtracting numbers from the selected cells to generate 3. In addition, the cells containing 22, 23, 26 and 28
on the blue diagonal are duplicates of ther cells.
- Use the mask B consisting of numbers 1, 2 and 3 to remove duplicates. Where the numbers intersect with the numbers of square 2
add the appropriate factor of
n2, 49 for "1" and 98 for "2" and 147 for "3".
- Addition of the right factor gives square 4 with S = ½(n3 + 57n).
1
| 175 | |
| 1 | 48 | 3 |
46 | 5 | 44 | 7 | 154 | -21 |
| 42 | 9 | 40 |
11 | 38 | 13 | 36 | 189 | 14 |
| 15 | 34 | 17 |
32 | 19 | 30 | 21 | 168 | -7 |
| 28 | 23 | 26 |
25 | 24 | 27 | 22 | 175 | 0 |
| 29 | 20 | 31 |
18 | 33 | 16 | 35 | 182 | 7 |
| 14 | 37 | 12 |
39 | 10 | 41 | 8 | 161 | -14 |
| 43 | 6 | 45 |
4 | 47 | 2 | 49 | 196 | 21 |
| 172 | 177 | 174 |
175 | 176 | 173 |
178 | 175 |   |
| -3 | 2 | -1 |
0 | 1 | -2 | 3 | | |
|
  ⇒   |
2
| 175 | |
| 1 | 48 | 3 |
46 | 5 | 44 | 7 | 154 | -21 |
| 36 | 13 | 38 |
11 | 40 | 9 | 42 | 189 | 14 |
| 15 | 34 | 17 |
32 | 19 | 30 | 21 | 168 | -7 |
| 22 | 27 | 24 |
25 | 26 | 23 | 28 | 175 | 0 |
| 29 | 20 | 31 |
18 | 33 | 16 | 35 | 182 | 7 |
| 8 | 41 | 10 |
39 | 12 | 37 | 14 | 161 | -14 |
| 43 | 6 | 45 |
4 | 47 | 2 | 49 | 196 | 21 |
| 154 | 189 | 168 |
175 | 182 | 161 |
196 | 175 |   |
| -21 | 14 | -7 |
0 | 7 | -14 | 21 | | |
|
  ⇒   |
********************************************************************************************************************************************************
3
| 175 |
| 22 | 48 | 3 |
46 | 5 | 44 | 7 | 175 |
| 36 | -1 | 38 |
11 | 40 | 9 | 42 | 175 |
| 15 | 34 | 24 |
32 | 19 | 30 | 21 | 175 |
| 22 | 27 | 24 |
25 | 26 | 23 | 28 | 175 |
| 29 | 20 | 31 |
18 | 26 | 16 | 35 | 175 |
| 8 | 41 | 10 |
39 | 12 | 51 | 14 | 175 |
| 43 | 6 | 45 |
4 | 47 | 2 | 28 | 175 |
| 175 | 175 | 175 |
175 | 175 | 175 |
175 | 175 |
|
  +   |
Mask B
| 1 | | |
| 3 | | |
| | |
2 | | 2 | |
| 3 | | 1 |
| | | |
| 2 | |
| | 2 | |
| | | | 1 |
| 3 |
| 2 | | 2 | |
| |
| | 3 | | |
| 1 |
|
  ⇒   |
4
| 371 |
| 71 | 48 | 3 |
46 | 152 | 44 | 7 |
371 |
| 36 | -1 | 38 |
109 | 40 | 107 | 42 | 371 |
| 162 | 34 | 73 |
32 | 19 | 30 | 21 | 371 |
| 22 | 125 | 24 |
25 | 26 | 121 | 28 | 371 |
| 29 | 20 | 31 |
18 | 75 | 16 | 182 | 371 |
| 8 | 139 | 10 |
137 | 12 | 51 | 14 | 371 |
| 43 | 6 | 192 |
4 | 47 | 2 | 77 | 371 |
| 371 | 371 | 371 |
371 | 371 | 371 |
371 | 371 |
********************************************************************************************************************************************************
This completes this section on the new 7x7 Mask-Generated Methods (Part II).
The next section deals with
new 9x9 and 13x13 Cross Squares Methods (Part III). To return to homepage.
Copyright © 2009 by Eddie N Gutierrez. E-Mail: Fiboguti89@Yahoo.com