Octagon Algorithm for Border Wheel Squares (Part IX)
The Eight Node Way - (1,2,5) Squares
The previous sections Part VI and Part VII introduced the Octagon G and H algorithm for the construction of 5×5 and 7×7 Wheel Border Squares (WBS). The type of Wheel Border squares in those sections were of the type (a,b,c) where the a, b and c were consecutive numbers. This section will look at WBS are of the type (a,b,e) where a and b are 1 and 2 and e is 5, i.e., the start of each wheel spoke is (1,2,5) and the difference (Δ) between the terms in two of the spokes is 5, while a third spoke will be modified where one of the Δ terms is equal to 7. This is to ensure that the internal 3×3 square is magic, otherwise without this modification these (a,b,e) squares, unlike the (a,b,c), will be non magic.
To start, the wheel part of the square is first constructed using the (Δ) value of 5 followed by the non wheel portion (i.e, non spokes) which uses either the Octagon I (only the 5th order) and K algorithm to fill in the empty cells. The method can be summarized as follows where regular means with a degree of separation (Δ) between numbers:
a) the main diagonal is first filled in with the numbers from ½
(n2-n+2) to ½(n2+n)
b) the central column is filled in regular order starting at the topmost cell and moving to the bottom cell
c) the left diagonal is filled in regular order starting at the right bottom cell and moving to the leftmost top cell
d) the central row is the row to be modified with the last Δ value is 2 less than the current Δ value
filled in regular order starting at the leftmost cell and moving to the rightmost cell
By first using the Wheel algorithm, square 5(05)j is filled using Δ=5 for the first central and left diagonal spokes, while the central row is filled with one Δ= 3. The 7(05)ij and the 9(05)ij are both filled as usual except that the center row is first filled using a Δ=5; followed by a Δ=3;. The latter Δ=3 is always added last to ensure that the inner 3×3 square is magic. Once the wheel is complete the Octagon J algorithm is only used to complete the 5th order square. To complete the larger squares, Octagon I is used with the number 3 and Octagon J with numbers 14 and 18 for the 7th order square while Octagon I is used with the numbers 3, 13 and 25 and Octagon J with the numbers 21, 29 and 33 for the 9th order square:
Border 5(05)j
24 | 22 |
1 | 3 |
15 |
16 | 19 |
6 | 14 |
10 |
5 | 8 |
13 | 18 |
21 |
9 | 12 |
20 | 7 |
17 |
11 | 4 |
25 | 23 |
2 |
|
|
Border 7(05)ij
48 | 46 |
35 | 1 |
14 | 3 |
28 |
9 | 43 |
31 | 6 |
18 | 27 | 41 |
33 | 29 |
38 | 11 |
26 | 21 | 17 |
5 | 10 |
13 | 25 |
37 | 40 |
45 |
16 | 20 |
24 | 39 |
12 | 30 | 34 |
42 | 23 |
19 | 44 |
32 | 7 | 8 |
22 | 4 |
15 | 49 |
36 | 47 | 2 |
|
|
Border 9(05)ij
80 | 78 | 68 |
60 | 1 |
21 | 13 |
3 | 45 |
9 | 75 | 56 |
52 | 6 | 29 |
25 |
44 | 73 |
20 | 28 | 70 |
48 | 11 |
33 | 43 | 54 |
62 |
58 | 50 | 46 |
65 | 16 |
42 | 36 | 32 | 24 |
5 | 10 |
15 | 18 |
41 | 64 |
67 | 72 |
77 |
23 | 31 | 35 |
40 | 66 |
17 | 47 | 51 | 59 |
63 | 55 | 39 |
34 | 71 |
49 | 12 | 27 | 19 |
74 | 38 | 26 |
30 | 76 | 53 |
57 | 7 | 8 |
37 | 4 | 14 |
22 | 81 |
61 | 69 | 79 | 2 |
|
The caption in the tables is used for numbering the squares. For example, 5(05)j corresponds to n=5, 0 is the wheel type, 5 is the Δ and j is the algorithm used, in this case Octagon J; while the caption for 7(05)ij corresponds to n=7, 0 is the wheel type, 5 is the Δ and ij means that both algorithms, Octagon I and J, are used to develop the squares.
By first using the Wheel algorithm, square 5(07)j is filled using Δ=7 for the first central and left diagonal spokes, while the central row is filled with one Δ= 5. The 7(07)ij and the 9(07)ij are both filled as usual while the center row is first filled using a Δ=7; followed by a Δ=5;. The latter Δ=5 is always added last to ensure that the inner 3×3 square is magic. Once the wheel is complete the Octagon J algorithm is only used to complete the 5th order square. To complete the larger squares, Octagon I is used with the number 3 and Octagon J with the numbers 10 and 18 for the 7th order square while Octagon I is used with the numbers 3, 10 and 25 and Octagon J with the numbers 18, 29 and 33 for the 9th order square:
Border 5(07)j
24 | 22 |
1 | 3 |
15 |
19 | 17 |
8 | 14 |
7 |
5 | 10 |
13 | 16 |
21 |
6 | 12 |
18 | 9 |
20 |
11 | 4 |
25 | 23 |
2 |
|
|
Border 7(07)ij
48 | 46 |
39 | 1 |
10 | 3 |
28 |
7 | 41 |
31 | 8 |
18 | 27 | 43 |
36 | 29 |
34 | 15 |
26 | 21 | 14 |
5 | 12 |
17 | 25 |
33 | 38 |
45 |
13 | 20 |
24 | 35 |
16 | 30 | 37 |
44 | 23 |
19 | 42 |
32 | 9 | 6 |
22 | 4 |
11 | 49 |
40 | 47 | 2 |
|
|
Border 9(07)ij
80 | 78 | 71 |
63 | 1 |
18 | 10 |
3 | 45 |
7 | 73 | 56 |
52 | 8 | 29 |
25 |
44 | 75 |
14 | 28 | 66 |
48 | 15 |
33 | 43 | 54 |
68 |
61 | 50 | 46 |
59 | 22 |
42 | 36 | 32 | 21 |
5 | 12 |
19 | 24 |
41 | 58 |
63 | 70 |
77 |
20 | 31 | 35 |
40 | 60 |
23 | 47 | 51 | 62 |
69 | 55 | 39 |
34 | 67 |
49 | 16 | 27 | 13 |
76 | 38 | 26 |
30 | 74 | 53 |
57 | 9 | 6 |
37 | 4 | 11 |
19 | 81 |
64 | 72 | 79 | 2 |
|
By first using the Wheel algorithm, square 11(05)ij is filled using Δ=5 for the first central and left diagonal spokes, while the central row is filled with one Δ= 3. Square 11(07)ij is filled using Δ=7 for the first central and left diagonal spokes, while the central row is filled with one Δ= 5. The squares are filled as usual with the latter Δs always added last to ensure that the inner 3×3 square is magic. Once the wheels are complete the Octagon I and J algorithms are used to complete the 11th order squares:
Border 11(05)ij
120 | 118 | 103 |
95 | 91 | 1 | 30 |
26 | 18 |
3 | 66 |
9 | 115 | 89 |
85 | 81 | 6 | 40 | 36 |
32 |
65 | 113 |
25 | 35 | 110 |
77 | 73 | 11 | 48 |
44 | 64 | 87 |
97 |
29 | 39 | 71 |
105 | 69 | 16 |
52 | 63 | 51 | 83 | 93 |
89 | 79 | 47 | 67 |
100 | 21 |
62 |
55 | 75 | 43 | 33 |
5 | 10 |
15 | 20 |
23 | 61 |
99 | 102 |
107 | 112 |
117 |
32 | 42 | 76 | 54 |
60 | 101 |
22 | 68 | 46 | 80 | 90 |
94 | 84 | 50 | 59 |
53 | 106 |
70 | 17 | 72 | 38 | 28 |
98 | 88 | 58 | 45 |
49 | 111 | 74 |
78 | 12 | 34 | 24 |
114 | 57 | 33 | 37 |
41 | 116 |
82 | 86 | 90 | 7 | 8 |
56 | 4 | 19 | 27 |
31 | 121 |
92 | 96 | 104 | 119 | 2 |
|
| |
Border 11(07)ij
120 | 118 | 111 |
103 | 97 | 1 | 24 |
18 | 10 |
3 | 66 |
7 | 113 | 89 |
85 | 81 | 8 | 40 | 36 |
32 |
65 | 115 |
14 | 35 | 106 |
77 | 73 | 15 | 48 |
44 | 64 | 87 |
108 |
21 | 39 | 71 |
99 | 69 | 22 |
52 | 63 | 51 | 83 | 101 |
94 | 79 | 47 | 67 |
92 | 29 |
62 |
55 | 75 | 43 | 28 |
5 | 12 |
19 | 26 |
31 | 61 |
91 | 96 |
103 | 110 |
117 |
27 | 42 | 76 | 54 |
60 | 93 |
30 | 68 | 46 | 80 | 95 |
102 | 84 | 50 | 59 |
53 | 100 |
70 | 23 | 72 | 38 | 20 |
109 | 88 | 58 | 45 |
49 | 107 | 74 |
78 | 16 | 34 | 13 |
116 | 57 | 33 | 37 |
41 | 114 |
82 | 86 | 90 | 9 | 6 |
56 | 4 | 11 | 19 |
25 | 121 |
98 | 104 | 112 | 119 | 2 |
|
|
It's interesting that the squares use the Octagon J algorithm by employing the set of triangular numbers (0,1,3,6,10,15...) with n(n+1)/2, while the Octagon I algorithm employs the set of natural numbers (1,2,3,4,...) in producing the squares.
This completes the Octagon I and J method. Go to Part X for (a,d,e) squares.
Go back to homepage.
Copyright © 2022 by Eddie N Gutierrez. E-Mail: enaguti1949@gmail.com