Office Applications and Entertainment, Magic Squares | ||
Index | About the Author |
The concept of Quadrant Magic Squares, as discussed in following sections for order 5 Magic Squares, was introduced by Harvey Heinz (2001/2002).
5.6.1 Definition and Terminology
An order 5 magic square can be divided into four overlapping quadrants of 3 x 3 cells.
further referred to as Plus Magic and Cross Magic Patterns.
All order 5 Ulta Magic Squares (8 * 16) found in Section 5.4.2 are both Plus Magic and Cross Magic as illustrated for the 16 unique Ultra Magic Squares shown in
Attachment 5.6.2.
When the formulas defining the Quadrant Plus property and the Quadrant Cross property:
a( 2) + a( 6) + a( 7) + a( 8) + a(12) = s1 Plus Magic
are added to the defining equations of an order 5 Pan Magic Square (ref. Section 3.1),
the resulting Quadrant Magic Square is described by following equations:
a(21) = s1 - a(22) - a(23) - a(24) - a(25)
which are the reduced equations of a Pan Magic Square as deducted in Section 3.3.
5.6.4 Associated Magic Squares
Plus and Cross Magic
Alternatively the formulas defining the Quadrant Plus property and the Quadrant Cross property
can be added to the defining equations of an order 5 Associated Magic Square (ref. Section 5.4.1).
a(21) = s1 - a(22) - a(23) - a(24) - a(25) a(20) = 0.6 * s1 - a(24) - a(25) a(19) = 0.6 * s1 + a(22) - a(23) - a(24) - a(25) a(18) = 0.6 * s1 - a(22) - a(24) a(17) = -0.4 * s1 + 2 * a(24) + a(25) a(16) = -0.4 * s1 + a(23) + a(24) + a(25) a(15) = 0.2 * s1 - a(22) + a(24) a(14) = -0.8 * s1 + a(23) + 2 * a(24) + 2 * a(25) a(13) = s1 / 5
which are the reduced equations of an Ultra Magic Square as deducted in Section 5.4.2.
Plus Magic
When the formulas defining the Quadrant Plus property are added to the defining equations of an order 5 Associated Magic Square, the resulting Quadrant Magic Square is described by following equations: a(21) = s1 - a(22) - a(23) - a(24) - a(25) a(18) = 3 * s1 / 5 - a(22) - a(24) a(17) = s1 / 5 - a(20) + a(24) a(16) = s1 / 5 - a(19) + a(22) a(15) = 7 * s1 / 5 - a(19) - a(20) - a(23) - a(24) - 2 * a(25) a(14) = 2 * s1 / 5 - a(19) - a(20) + a(22) a(13) = s1 / 5
An optimized guessing routine (MgcSqr5d1), in which the relations ensuring unique magic squares:
Cross Magic
When the formulas defining the Quadrant Cross property are added to the defining equations of an order 5 Associated Magic Square, the resulting Quadrant Magic Square is described by following equations: a(21) = s1 - a(22) - a(23) - a(24) - a(25) a(18) = 6 * s1 / 5 + a(19) - 2 * a(20) - 2 * a(22) + a(23) - 2 * a(24) - a(25) a(17) = s1 / 5 - a(19) + a(22) - a(23) + a(24) a(16) = -2 * s1 / 5 - a(19) + a(20) + a(22) + a(24) + a(25) a(15) = 4 * s1 / 5 - a(19) - a(23) - a(25) a(14) = 2 * s1 / 5 - 2 * a(19) + 2 * a(22) - a(23) a(13) = s1 / 5
An optimized guessing routine (MgcSqr5d2), in which the relations ensuring unique magic squares:
Plus and Cross Magic
Finally the formulas defining the Quadrant Plus property and the Quadrant Cross property
can be added to the defining equations of an order 5 Simple Magic Square (ref. Section 3.2.1).
a(21) = s1 - a(22) - a(23) - a(24) - a(25)
which are the reduced equations of a Pan Magic Square as deducted in Section 3.3.
Plus Magic
When the formulas defining the Quadrant Plus property are added to the defining equations of an order 5 Simple Magic Square, the resulting Quadrant Magic Square is described by following equations: a(21) = s1 - a(22) - a(23) - a(24) - a(25) a(16) = s1 - a(17) - a(18) - a(19) - a(20) a(14) = s1 - a(18) - a(19) - a(20) - a(24) a(12) = -s1 + a(19) + a(20) + a(21) + a(23) + a(24) + a(25) a(11) = s1 - a(13) - a(15) + a(18) - a(21) - a(23) - a(25) a(10) = a(13) + a(19) - a(22) a( 9) = a(15) - a(17) + a(19) + a(20) - a(21) - a(22) + a(25) a( 8) = s1 - a(13) - a(21) - a(23) - a(25) a( 7) = 2*s1 - a(13) - a(15) - 2 * a(19) - a(20) - a(23) - a(24) - 2 * a(25) a( 6) = a(13) + a(17) - a(24) a( 5) = s1 - a(13) - a(15) - a(19) - a(20) + a(22) - a(25) a( 4) = s1 - a(15) + a(17) + a(18) - a(19) - a(23) - a(24) - 2 * a(25) a( 3) = - a(18) + a(21) + a(25) a( 2) = a(13) + a(15) - a(17) + a(19) - a(21) - a(22) + a(25) a( 1) = -s1 + a(15) + a(19) + a(20) + a(23) + a(24) + a(25)
Based on the equations shown above it can be proven that also the 3 x 3 center quadrant is Plus Magic as:
Cross Magic
When the formulas defining the Quadrant Cross property are added to the defining equations of an order 5 Simple Magic Square, the resulting Quadrant Magic Square is described by following equations: a(21) = s1 - a(22) - a(23) - a(24) - a(25) a(16) = s1 - a(17) - a(18) - a(19) - a(20) a(13) = s1 - a(15) - a(19) - a(23) - a(25) a(12) = - a(14) - a(15) + a(17) + a(21) + a(23) a(11) = a(15) - a(17) + a(19) - a(21) + a(25) a( 9) = s1 + a(10) + 2 * a(15) - a(16) - 2 * a(17) - a(18) - 2 * a(21) - a(22) - a(24) + a(25) a( 8) = 2*a(15) - a(17) - a(18) + a(19) - a(21) + a(25) a( 7) = s1 - a(10) - a(15) - a(19) - a(20) + a(21) - a(25) a( 6) = s1 - a(10) - 3 * a(15) + 2 * a(17) + a(18) - a(19) + a(21) - a(23) - 2 * a(25) a( 5) = s1 - a(10) - a(15) - a(20) - a(25) a( 4) = s1 - a(10) - a(14) - 2 * a(15) + a(17) - 2 * a(19) - a(20) + 2 * a(21) + a(22) - a(25) a( 3) = - a(15) + a(17) + a(21) a( 2) = -s1 + a(10) + a(14) + 2 * a(15) - 2 * a(17) + a(19) + a(20) - a(21) + a(24) + 2 * a(25) a( 1) = -s1 + a(10) + 2 * a(15) + a(19) + a(20) - a(21) + a(23) + a(25)
Based on the equations shown above it can be proven that also the 3 x 3 center quadrant is Cross Magic as:
The obtained results regarding the miscellaneous types of order 5 Quadrant Magic Squares as deducted and discussed in previous sections are summarized in following table: |
Type
Characteristics
Subroutine
Results
Ultra Magic
Plus - and Cross Magic
-
Associated
Plus Magic
Cross Magic
Simple
Plus Magic
Cross Magic
Comparable routines as listed above, can be used to generate alternative types of order 5 Magic Squares,
which will be defined in following sections.
|
Index | About the Author |