Office Applications and Entertainment, Magic Squares  
Index  About the Author 
18.0 Special Magic Squares, Lozenge Squares
Lozenge Squares are Magic Squares (odd order) with the even numbers in the corners, as illustrated below:
Lozenge Squares of a certain order, can be generated  relatively fast  with comparable routines as discussed in the corresponding sections.
18.2 Lozenge Squares (5 x 5)
Routine MgcSqr5b2 counted with a(13) = 13, 306416 (38302 unique) Lozenge Squares of order 5 within about half an hour.
Following sections will describe some interesting sub sets.
18.2.2 Pan Magic Squares, Don't Exist
The equations defining a Pan Magic Square of the fifth order as deducted in Section 3.1 proof that order 5 Pan Magic Lozenge Squares don't exist e.g.:
18.2.3 Associated Magic Squares
Associated Lozenge Squares of the fifth order can be generated with routine MgcSqr5c2, which produced 6912 Associated Lozenge Squares within 132 seconds.
18.2.4 Concentric Magic Squares
The 3 x 3 Center Square of a Concentric Lozenge Square of the fifth order contains only odd numbers, as illustrated below:
Possible Center Squares can be generated with routine Priem3a which generated 32 (4 unique) order 3 Magic Squares with odd numbers.
The table to the right side provides a breakdown of the number of Concentric Lozenge Squares for each of the Center Squares shown.
Diamond Inlay (General):
The table to the right side provides a breakdown of the number of Lozenge Squares for each of the Diamond Inlay shown.
Possible Square Inlays can be generated with routine Priem3b, which generated 72 (9 unique) order 3 Square Inlays with even corner numbers.
The table to the right side provides a breakdown of the number of Inlaid Lozenge Squares for each of the Square Inlays shown.
18.3.1 Concentric Magic Squares
The 5 x 5 Center Square of a Concentric Lozenge Square of the seventh order contains only 4 even corner numbers, as illustrated below:
Possible Center Squares (3 x 3) could be generated with routine Priem3a,
which generated 208 (26 unique) order 3 Magic Squares with odd numbers.
A set of unique squares is shown in Attachment 18.3.1.
Both values are only a fraction of the total possible number of order 7 Concentric Lozenge Squares.
18.3.2 Associated Magic Squares (Diamond Inlays)
Lozenge Squares of the seventh order, with Diamond Inlays of order 3 and 4, can be generated with routine MgcSqr7c, which counted 53980 of subject Lozenge Squares with a(28) = 1.
The order 3 Diamonds can be considered as a transformation of the Center Squares discussed in Section 18.3.1 above,
as shown in Attachment 18.3.2.
18.4.1 Concentric Magic Squares
The Concentric Center Squares of a Concentric Lozenge Square of the ninth order have following properties:
as illustrated in following example:
Concentric Lozenge Squares of order 9 can be constructed as follows:
Routine Priem3a generated 672 (84 unique) order 3 Center Squares with odd numbers (s1 = 123).
Both values are only a fraction of the total possible number of order 9 Concentric Lozenge Squares.
18.4.2 Associated Magic Squares (Diamond Inlays)
Associated Lozenge Squares of order 9, with Associated Diamond Inlays of order 4 and 5 as shown in following example (L.S. Frierson):
can be constructed as follows:
Both the order 4 and 5 Diamond Inlays contain only odd numbers, as can be seen in the example above.
a9( 7) = 369  a9(16)  a9(25)  a9(34)  a9(43)  a9(52)  a9(61)  a9(70)  a9(79) a9( 8) = 369  a9(17)  a9(26)  a9(35)  a9(44)  a9(53)  a9(62)  a9(71)  a9(80) a9(18) = 369  a9( 9)  a9(27)  a9(36)  a9(45)  a9(54)  a9(63)  a9(72)  a9(81) a9(19) = 369  a9(20)  a9(21)  a9(22)  a9(23)  a9(24)  a9(25)  a9(26)  a9(27) a9(54) = 369  a9(46)  a9(47)  a9(48)  a9(49)  a9(50)  a9(51)  a9(52)  a9(53) a9(72) = (410  a9( 9)  a9(81) + a9(17)  a9(71)  a9(45) + a9(46)  a9(54) + a9(55)  a9(63)  a9(66)  a9(67)  a9(68)  a9(69)  a9(70)) / 2 a9(73) = 369  a9(74)  a9(75)  a9(76)  a9(77)  a9(78)  a9(79)  a9(80)  a9(81) a9(76) = 369  a9( 4)  a9(13)  a9(22)  a9(31)  a9(40)  a9(49)  a9(58)  a9(67)
with a9(16), a9(17), a9(20), a9(26), a9(27), a9(36), a9(70), a9(71) and a9(78) thru a9(81) the independent variables.
18.4.3 Associated Magic Squares (La Hire)
Associated Lozenge Squares can be constructed based on Latin Squares (B1/B2) as illustrated below (La Hire): 
B1
5 6 7 8 0 1 2 3 4 6 7 8 0 1 2 3 4 5 7 8 0 1 2 3 4 5 6 8 0 1 2 3 4 5 6 7 0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 0 2 3 4 5 6 7 8 0 1 3 4 5 6 7 8 0 1 2 4 5 6 7 8 0 1 2 3 B2 (B1 Mirrored)
4 3 2 1 0 8 7 6 5 5 4 3 2 1 0 8 7 6 6 5 4 3 2 1 0 8 7 7 6 5 4 3 2 1 0 8 8 7 6 5 4 3 2 1 0 0 8 7 6 5 4 3 2 1 1 0 8 7 6 5 4 3 2 2 1 0 8 7 6 5 4 3 3 2 1 0 8 7 6 5 4 M = B1 + 9 * B2 + 1
42 34 26 18 1 74 66 58 50 52 44 36 19 11 3 76 68 60 62 54 37 29 21 13 5 78 70 72 55 47 39 31 23 15 7 80 73 65 57 49 41 33 25 17 9 2 75 67 59 51 43 35 27 10 12 4 77 69 61 53 45 28 20 22 14 6 79 71 63 46 38 30 32 24 16 8 81 64 56 48 40
The resulting Lozenge Square M corresponds with 16 Lozenge Squares, which
can be obtained by exchange of row and column n with (10  n), as shown in Attachment Lozenge 9.3.
18.5 Lozenge Squares (11 x 11)
18.5.1 Concentric Magic Squares
The Concentric Center Squares of a Concentric Lozenge Square of the eleventh order have following properties:
as illustrated in following example:
Concentric Lozenge Squares of order 11 can be constructed as follows:
Routine Priem3a generated 1600 (200 unique) order 3 Center Squares with odd numbers (s1 = 183).
Both values are only a fraction of the total possible number of order 11 Concentric Lozenge Squares.
18.5.2 Associated Magic Squares (La Hire)
Associated Lozenge Squares can be constructed based on Latin Squares (B1/B2) as illustrated below (La Hire): 
B1
6 7 8 9 10 0 1 2 3 4 5 7 8 9 10 0 1 2 3 4 5 6 8 9 10 0 1 2 3 4 5 6 7 9 10 0 1 2 3 4 5 6 7 8 10 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 0 2 3 4 5 6 7 8 9 10 0 1 3 4 5 6 7 8 9 10 0 1 2 4 5 6 7 8 9 10 0 1 2 3 5 6 7 8 9 10 0 1 2 3 4 B2 (B1 Mirrored)
5 4 3 2 1 0 10 9 8 7 6 6 5 4 3 2 1 0 10 9 8 7 7 6 5 4 3 2 1 0 10 9 8 8 7 6 5 4 3 2 1 0 10 9 9 8 7 6 5 4 3 2 1 0 10 10 9 8 7 6 5 4 3 2 1 0 0 10 9 8 7 6 5 4 3 2 1 1 0 10 9 8 7 6 5 4 3 2 2 1 0 10 9 8 7 6 5 4 3 3 2 1 0 10 9 8 7 6 5 4 4 3 2 1 0 10 9 8 7 6 5 M = B1 + 11* B2 + 1
62 52 42 32 22 1 112 102 92 82 72 74 64 54 44 23 13 3 114 104 94 84 86 76 66 45 35 25 15 5 116 106 96 98 88 67 57 47 37 27 17 7 118 108 110 89 79 69 59 49 39 29 19 9 120 111 101 91 81 71 61 51 41 31 21 11 2 113 103 93 83 73 63 53 43 33 12 14 4 115 105 95 85 75 65 55 34 24 26 16 6 117 107 97 87 77 56 46 36 38 28 18 8 119 109 99 78 68 58 48 50 40 30 20 10 121 100 90 80 70 60
The resulting Lozenge Square M corresponds with 32 Lozenge Squares, which
can be obtained by exchange of row and column n with (12  n), as shown in Attachment Lozenge 11.1.
The obtained results regarding the miscellaneous types of Lozenge Squares as deducted and discussed in previous sections are summarized in following table: 
Order
Characteristics
Subroutine
Examples
Total Number
Notes
5
Simple Magic

306416
a(13)=13
Associated
6912

Concentric
3264
Note 1
Magic/Diamond Inlay
1856

Associated/Diamond Inlay
48

Concentric/Diamond Inlay
992

Magic/Square Inlay
27136

Magic/Square + Diamond Inlay
160

7
Concentric


Associated, Diamond Inlays
53980
a(28)=1
9
Concentric


Associated, Diamond Inlays


Associated, Latin Square Based



11
Concentric


Associated, Latin Square Based



Note 1: Based on 4 unique Center Squares

Index  About the Author 