Office Applications and Entertainment, Magic Squares | ||
Index | About the Author |
a( 4) = s4 - a( 3) - a( 2) - a( 1)
a( 9) = s5 - a( 8) - a( 7) - a( 6) - a(5)
a(13) = s4 - a(12) - a(11) - a(10)
a(169) = Pr4 - a(1)
a(158) = Pr4 - a(2)
a(159) = Pr4 - a(3)
a(160) = Pr4 - a(4)
a(161) = Pr4 - a(5)
a(162) = Pr4 - a(6)
a(163) = Pr4 - a(7)
a(164) = Pr4 - a(8)
a(165) = Pr4 - a(9)
a(166) = Pr4 - a(10)
a(167) = Pr4 - a(11)
a(168) = Pr4 - a(12)
a(157) = Pr4 - a(13)a( 40) = s4 - a( 27) - a( 14) - a( 1)
a(105) = s5 - a( 92) - a( 79) - a( 66) - a(53)
a(144) = s4 - a(131) - a(118) - a(157)
a( 26) = Pr4 - a(14)
a( 39) = Pr4 - a(27)
a( 52) = Pr4 - a(40)
a( 65) = Pr4 - a(53)
a( 78) = Pr4 - a(66)
a( 91) = Pr4 - a(79)
a(104) = Pr4 - a(92)
a(117) = Pr4 - a(105)
a(130) = Pr4 - a(118)
a(143) = Pr4 - a(131)
a(156) = Pr4 - a(144)
which enable the development of a fast procedure to generate Prime Number Concentric Magic Squares of order 13 (ref. Priem13a).
A method to generate order 13 Concentric Mgic Squares with order 7 Diamond Inlays will be discussed in Section 20.1.5.
14.33.2 Magic Squares, Bordered (13 x 13)
Based on the collections of 11th order Composed and miscellaneous Bordered Magic Squares, as discussed in Section 14.9.2 through 14.9.10, also following 13th order Bordered Magic Squares can be generated with routine Priem13a:
It should be noted that the Attachments listed above contain only those solutions which could be found within 10 seconds.
14.33.3 Magic Squares, Eccentric (13 x 13)
Also for Prime Number Eccentric Magic Squares of order 13 it is convenient to split the supplementary rows and columns into: parts summing to s4 = 4 * s13 / 13 and s5 = 5 * s13 / 13:
This enables, based on the same principles, the development of a fast procedure (ref. Priem13b):
Attachment 14.33.2 shows,
based on the 11th order Eccentric Magic Squares as discussed in Section 14.9.4,
one Prime Number Eccentric Magic Square for some of the occurring Magic Sums.
14.33.4 Composed Magic Squares (13 x 13)
Previous page described a classical Magic Square of order 13, with miscellaneous each other – asymmetrically - Overlapping Sub Squares.
Mc13 = 87893 The Magic Square shown above is composed out of:
Based on this definition a routine can be developed to generate subject Composed Magic Squares (ref. Priem13d).
14.33.5 Composed Magic Squares (13 x 13) Associated Magic Squares of order 13 with Square Inlays of order 6 and 7 can be obtained by means of transformation of order 13 Composed Magic Squares, as illustrated in Section 14.7.13 for order 9 Magic Squares. Mc13 = 87893 The Magic Square shown above is composed out of:
Based on this definition a routine can be developed to generate subject Composed Magic Squares (ref. Priem13c).
It should be noted that the reversed transformation is not necessarily possible because of the bottom-left / top-right Main Diagonal.
14.33.6 Associated Magic Squares Associated Magic Squares of order 13 with an Associated Center Square of order 7 can be obtained by means of transformation of order 13 Composed Magic Squares as illustrated in Section 14.7.14 for order 9 Magic Squares. Mc13 = 87893
Attachment 14.10.8 shows the Associated Magic Squares with order 7 Associated Center Squares,
corresponding with the Composed Magic Squares as shown in Attachment 14.10.4.
14.33.7 Composed Magic Squares, Associated Border The 13th order Composed Inlaid Magic Square shown below: |
a1 a2 a3 a4 a5 a6 a7 a8 a9 a10 a11 a12 a13 a14 a15 a16 a17 a18 a19 a20 a21 a22 a23 a24 a25 a26 a27 a28 a29 a30 a31 a32 a33 a34 a35 a36 a37 a38 a39 a40 a41 a42 a43 a44 a45 a46 a47 a48 a49 a50 a51 a52 a53 a54 a55 a56 a57 a58 a59 a60 a61 a62 a63 a64 a65 a66 a67 a68 a69 a70 a71 a72 a73 a74 a75 a76 a77 a78 a79 a80 a81 a82 a83 a84 a85 a86 a87 a88 a89 a90 a91 a92 a93 a94 a95 a96 a97 a98 a99 a100 a101 a102 a103 a104 a105 a106 a107 a108 a109 a110 a111 a112 a113 a114 a115 a116 a117 a118 a119 a120 a121 a122 a123 a124 a125 a126 a127 a128 a129 a130 a131 a132 a133 a134 a135 a136 a137 a138 a139 a140 a141 a142 a143 a144 a145 a146 a147 a148 a149 a150 a151 a152 a153 a154 a155 a156 a157 a158 a159 a160 a161 a162 a163 a164 a165 a166 a167 a168 a169
is composed out of an Associated Border and following inlays:
The relation between the Magic Sums s(1), s(2), s(3) and s(4) is: s(1) = 12 * s1 / 13 - s(4) s(2) = 10 * s1 / 13 - s(3)
With s1 the Magic Sum of the 13th order Inlaid Magic Square.
a(162) = - s1 / 13 + a(164) - s(3) + s(4) a(161) = - s1 / 13 + a(165) - s(3) + s(4) a(160) = - s1 / 13 + a(166) - s(3) + s(4) a(159) = - s1 / 13 + a(167) - s(3) + s(4) a(158) = - s1 / 13 + a(168) - s(3) + s(4) a(157) = 18*s1 / 13 - a(163) - 2*a(164) - 2*a(165) - 2*a(166) - 2*a(167) - 2*a(168) - a(169) + 5*s(3) - 5*s(4) a(144) = s1 - a(156) - s(3) - s(4) a(131) = s1 - a(143) - s(3) - s(4) a(118) = s1 - a(130) - s(3) - s(4) a(105) = s1 - a(117) - s(3) - s(4) a( 92) = s1 - a(104) - s(3) - s(4) a( 91) = 66*s1 / 13 - 2*a(104) - 2*a(117) - 2*a(130) - 2*a(143) - 2*a(156) + a(157) - a(169) - 5*s(3) - 5*s(4)
Which can be incorporated in an optimised guessing routine MgcSqr13k1.
Attachment 14.10.9 shows for a few Magic Sums the first occurring Prime Number Inlaid Magic Square of order 13.
14.33.8 Associated Magic Squares, Diamond Inlays Order 6 and 7
The 13th order Associated Inlaid Magic Square shown below: Mc13 = 102401 contains following Diamond Inlays:
The method to generate order 13 Associated Mgic Squares with order 6 and 7 Diamond Inlays will be discussed in Section 20.2.5.
The obtained results regarding the 13th order Prime Number Magic Squares and related sub squares, as deducted and discussed in previous sections, are summarized in following table: |
Type
Characteristics
Subroutine
Results
Concentric
-
Bordered
Miscellaneous Types
Eccentric
-
Composed
Overlapping Sub Squares
Associated Corner Squares and Rectangles
Associated
Associated Square Inlays Order 6 and 7
-
Associated
Associated Center Square Order 7
-
Inlaid
Square Inlays Order 5 and 6 (overlapping)
-
-
-
-
Comparable routines as listed above, can be used to generate miscellaneous Prime Number Composed Magic Squares,
which will be described in following sections.
|
Index | About the Author |