Office Applications and Entertainment, Magic Squares | ||
Index | About the Author |
9.7 Overlapping Sub Squares, Miscellaneous Inlays
On Holger Danielsson's site I found following 9th order Composed Magic Square:
This 9th order Magic Square contains following Corner Squares:
In Section 9.7.2 will be proven that the value of the center element a(41) = 41 for all possible Corner Squares.
9.7.2 Overlapping Subsquares, General
Combination of the equations describing the 4th and 5th order Pan Magic Squares, with those describing a 9th order (Classic) Magic Square will result in following set of linear equations, defining the Composed Magic Square: a(78) = 164 - a(79) - a(80) - a(81) a(73) = 205 - a(74) - a(75) - a(76) - a(77) a(71) = 164 - a(72) - a(80) - a(81) a(70) = a(72) - a(79) + a(81) a(69) = - a(72) + a(79) + a(80) a(68) = -41 + a(74) + a(75) a(64) = 246 - a(65) - a(66) - a(67) - a(74) - a(75) a(63) = 82 - a(79) a(62) = -82 + a(79) + a(80) + a(81) a(61) = 82 - a(81) a(60) = 82 - a(80) a(59) = a(65) + a(66) - a(77) a(58) = 246 - a(66) - a(67) - a(74) - a(75) - a(76) a(57) = 205 - a(65) - a(66) - a(67) - a(75) a(56) = -41 + a(67) + a(75) a(55) =-205 + a(66) + a(67) + a(74) + a(75) + a(76) + a(77) a(54) = 82 - a(72) + a(79) - a(81) a(53) = 82 + a(72) - a(79) - a(80) a(52) = 82 - a(72) a(51) = -82 + a(72) + a(80) + a(81) a(50) = 205 - a(65) - a(66) - a(74) - a(75) a(49) =-246 + a(66) + a(67) + a(74) + 2 * a(75) + a(76) + a(77) a(48) =-205 + a(65) + a(66) + a(67) + a(74) + a(75) + a(76) a(47) = 246 - a(67) - a(74) - a(75) - a(76) - a(77) a(46) = 205 - a(66) - a(67) - a(75) - a(76) a(42) = 164 - a(43) - a(44) - a(45) a(41) = 41 a(40) = 205 - a(67) - a(75) - a(76) - a(77) a(39) = 205 - a(66) - a(74) - a(75) - a(76) a(38) = - a(65) + a(76) + a(77) a(37) =-246 + a(65) + a(66) + a(67) + a(74) + 2 * a(75) + a(76) a(32) = 205 - a(33) - a(34) - a(35) - a(36) a(28) = 164 - a(29) - a(30) - a(31) a(27) = a(33) + a(34) - a(45) a(26) = 205 - a(34) - a(35) - a(36) - a(44) a(25) = 205 - a(33) - a(34) - a(35) - a(43) a(24) =-164 + a(35) + a(36) + a(43) + a(44) + a(45) a(23) = -41 + a(34) + a(35) a(21) = 164 - a(22) - a(30) - a(31) a(20) = a(22) - a(29) + a(31) a(19) = - a(22) + a(29) + a(30) a(18) = 41 - a(33) - a(34) + a(44) + a(45) a(17) =-205 + a(34) + a(35) + a(36) + a(43) + a(44) + a(45) a(16) = -41 + a(33) + a(34) + a(35) - a(45) a(15) = 205 - a(35) - a(36) - a(44) - a(45) a(14) = 205 - a(34) - a(35) - a(43) - a(44) a(13) = 82 - a(29) a(12) = -82 + a(29) + a(30) + a(31) a(11) = 82 - a(31) a(10) = 82 - a(30) a( 9) = 164 - a(36) - a(44) - a(45) a( 8) = 205 - a(35) - a(43) - a(44) - a(45) a( 7) = 41 - a(34) + a(45) a( 6) = - a(33) + a(44) + a(45) a( 5) =-205 + a(33) + a(34) + a(35) + a(36) + a(43) + a(44) a( 4) = 82 - a(22) + a(29) - a(31) a( 3) = 82 + a(22) - a(29) - a(30) a( 2) = 82 - a(22) a( 1) = -82 + a(22) + a(30) + a(31) With an optimized guessing routine (MgcSqr9a1), based on the equations deducted above, following cases where considered:
Based on the cases considered above,
8 * 11522 * 3842 = 1,56 1012 Composed Magic Squares can be generated,
which is only a fraction of the total possible solutions.
9.7.3 Overlapping Subsquares, Partly Symmetric
In a Center Symmetric Square, the sum of each pair of elements, which can be connected with a straight
line through the center and which are equidistant to the centre, is 1 + n x n.
For 9th order (Pan) Magic Squares these pairs sum to 82.
As mentioned in Section 9.7.1 above, the Composed Square can't be Center Symmetric because of the two 4th order Pan Magic Corner Squares.
which can be added to the equations deducted in Section 9.7.2 above.
a(78) = 164 - a(79) - a(80) - a(81) a(73) = 205 - a(74) - a(75) - a(76) - a(77) a(71) = 164 - a(72) - a(80) - a(81) a(70) = a(72) - a(79) + a(81) a(69) = - a(72) + a(79) + a(80) a(68) = -41 + a(74) + a(75) a(64) = 246 - a(65) - a(66) - a(67) - a(74) - a(75) a(63) = 82 - a(79) a(62) = -82 + a(79) + a(80) + a(81) a(61) = 82 - a(81) a(60) = 82 - a(80) a(59) = a(65) + a(66) - a(77) a(58) = 246 - a(66) - a(67) - a(74) - a(75) - a(76) a(57) = 205 - a(65) - a(66) - a(67) - a(75) a(56) = -41 + a(67) + a(75) a(55) =-205 + a(66) + a(67) + a(74) + a(75) + a(76) + a(77) a(54) = 82 - a(72) + a(79) - a(81) a(53) = 82 + a(72) - a(79) - a(80) a(52) = 82 - a(72) a(51) = -82 + a(72) + a(80) + a(81) a(50) = 205 - a(65) - a(66) - a(74) - a(75) a(49) =-246 + a(66) + a(67) + a(74) + 2 * a(75) + a(76) + a(77) a(48) =-205 + a(65) + a(66) + a(67) + a(74) + a(75) + a(76) a(47) = 246 - a(67) - a(74) - a(75) - a(76) - a(77) a(46) = 205 - a(66) - a(67) - a(75) - a(76) a(45) = 328 - a(65) - a(66) - a(67) - a(74) - 2 * a(75) - a(76) a(44) = 82 + a(65) - a(76) - a(77) a(43) =-123 + a(66) + a(74) + a(75) + a(76) a(42) =-123 + a(67) + a(75) + a(76) + a(77) a(41) = 41 a(28) = 164 - a(29) - a(30) - a(31) a(21) = 164 - a(22) - a(30) - a(31) a(20) = a(22) - a(29) + a(31) a(19) = - a(22) + a(29) + a(30) a(13) = 82 - a(29) a(12) = -82 + a(29) + a(30) + a(31) a(11) = 82 - a(31) a(10) = 82 - a(30) a( 4) = 82 - a(22) + a(29) - a(31) a( 3) = 82 + a(22) - a(29) - a(30) a( 2) = 82 - a(22) a( 1) = -82 + a(22) + a(30) + a(31)
With an optimized guessing routine (MgcSqr9a2), based on the equations deducted above, following cases where considered:
Based on the cases considered above, 8 * 3842 * 2304 = 2,72 109 Partly Symmetric Composed Magic Squares can be generated, which is only a fraction of the total possible solutions.
9.7.4 Associated Magic Squares Associated Magic Squares of order 9 with Square Inlays of order 4 and 5 can be obtained by means of transformation of order 9 Composed Magic Squares as illustrated below: |
a1 a2 a3 a4 b1 b2 b3 b4 b5 a5 a6 a7 a8 b6 b7 b8 b9 b10 a9 a10 a11 a12 b11 b12 b13 b14 b15 a13 a14 a15 a16 b16 b17 b18 b19 b20 c1 c2 c3 c4 d1 d2 d3 d4 d5 c5 c6 c7 c8 d6 d7 d8 d9 d10 c9 c10 c11 c12 d11 d12 d13 d14 d15 c13 c14 c15 c16 d16 d17 d18 d19 d20 c17 c18 c19 c20 d21 d22 d23 d24 d25 = >
d1 c1 d2 c2 d3 c3 d4 c4 d5 b1 a1 b2 a2 b3 a3 b4 a4 b5 d6 c5 d7 c6 d8 c7 d9 c8 d10 b6 a5 b7 a6 b8 a7 b9 a8 b10 d11 c9 d12 c10 d13 c11 d14 c12 d15 b11 a9 b12 a10 b13 a11 b14 a12 b15 d16 c13 d17 c14 d18 c15 d19 c16 d20 b16 a13 b17 a14 b18 a15 b19 a16 b20 d21 c17 d22 c18 d23 c19 d24 c20 d25
The Magic Square shown at the left side above is composed out of:
Based on this definition a routine can be developed to generate subject Composed Magic Squares
(ref. Priem9f3).
9.7.5 Associated Magic Squares Associated Magic Squares of order 9 with an Associated Center Square of order 5 can be obtained by means of transformation of order 9 Composed Magic Squares as illustrated below: |
a1 a2 a3 a4 b1 b2 b3 b4 b5 a5 a6 a7 a8 b6 b7 b8 b9 b10 a9 a10 a11 a12 b11 b12 b13 b14 b15 a13 a14 a15 a16 b16 b17 b18 b19 b20 c1 c2 c3 c4 d1 d2 d3 d4 d5 c5 c6 c7 c8 d6 d7 d8 d9 d10 c9 c10 c11 c12 d11 d12 d13 d14 d15 c13 c14 c15 c16 d16 d17 d18 d19 d20 c17 c18 c19 c20 d21 d22 d23 d24 d25 = >
a1 a2 b1 b2 b3 b4 b5 a3 a4 a5 a6 b6 b7 b8 b9 b10 a7 a8 c1 c2 d1 d2 d3 d4 d5 c3 c4 c5 c6 d6 d7 d8 d9 d10 c7 c8 c9 c10 d11 d12 d13 d14 d15 c11 c12 c13 c14 d16 d17 d18 d19 d20 c15 c16 c17 c18 d21 d22 d23 d24 d25 c19 c20 a9 a10 b11 b12 b13 b14 b15 a11 a12 a13 a14 b16 b17 b18 b19 b20 a15 a16
Attachment 9.7.8 shows the Associated Magic Squares with order 5 Associated Center Squares,
corresponding with the Composed Magic Squares as shown in Attachment 9.7.4.
9.7.6 Associated Magic Squares Associated Magic Squares of order 9 with Associated Diamond Inlays of order 4 and 5
can be constructed as follows:
It is convenient to split the two bottom rows and right columns into parts summing to s3 = 123 and s6 = 246, which results in following border equations:
a9( 4) = 2 * s9/9 - a9(78) a9(76) = s9 - a9( 4) - a9(13) - a9(22) - a9(31) - a9(40) - a9(49) - a9(58) - a9(67) a9(75) = s9 - a9( 3) - a9(12) - a9(21) - a9(30) - a9(39) - a9(48) - a9(57) - a9(66) a9(55) = s9 - a9(56) - a9(57) - a9(58) - a9(59) - a9(60) - a9(61) - a9(62) - a9(63) a9(64) = s9 - a9(65) - a9(66) - a9(67) - a9(68) - a9(69) - a9(70) - a9(71) - a9(72) a9(74) = s9 - a9( 2) - a9(11) - a9(20) - a9(29) - a9(38) - a9(47) - a9(56) - a9(65) a9(73) = s9 - a9(74) - a9(75) - a9(76) - a9(77) - a9(78) - a9(79) - a9(80) - a9(81) a9(54) =(7 * s9 - 4 * a9(55) - 5 * a9(56) - 8 * a9(64) - 9 * a9(65) - 10 * a9(66) - 10 * a9(70) + - a9(74) - 2 * a9(75) - 3 * a9(76) + 12 * a9(77) - 5 * a9(78) - 10 * a9(79)) / 8 a9(46) = s9 - a9(47) - a9(48) - a9(49) - a9(50) - a9(51) - a9(52) - a9(53) - a9(54)
with a9(81), a9(80), a9(72), a9(71), a9(78), a9(66), a9(56) and a9(65) the independent variables.
An alternative method to generate Associated Magic Squares with order 4 and 5 Diamond Inlays will be discussed in
Section 18.4.2.
9.7.7 Associated Magic Squares The 9th order Associated Inlaid Magic Square shown below:
contains following inlays:
The relation between the Magic Sums s(1), s(2), s(3) and s(4) is: s(1) = 8 * s9 / 9 - s(4) s(2) = 6 * s9 / 9 - s(3)
With s9 = 369 the Magic Sum of the 9th order Inlaid Magic Square.
a(76) = - s9 / 9 + a(78) - s(3) + s(4) a(75) = - s9 / 9 + a(79) - s(3) + s(4) a(73) = 12 * s9 / 9 - a(77) - 2 * a(78) - 2 * a(79) - 2 * a(80) - a(81) + 3 * s(3) - 3 * s(4) a(64) = s9 - a(72) - s(3) - s(4) a(55) = s9 - a(63) - s(3) - s(4) a(46) = s9 - a(54) - s(3) - s(4) a(45) = 40 * s9 / 9 - 2*a(54) - 2*a(63) - 2*a(72) - a(77) - 2*a(78) - 2*a(79) - 2*a(80) - 2*a(81) - 6*s(4)
Which can be incorporated in an optimised guessing routine MgcSqr9k,
together with the defining equations of the 3th and 4th order inlays.
The linear equations deducted in previous sections, have been applied in following Excel Spread Sheets:
Only the red figures have to be “guessed” to construct one of the applicable Magic Squares of the 9th order
(wrong solutions are obvious).
|
Index | About the Author |