The LUX method is a method of creating magic squares . It comes from the English mathematician John Horton Conway .
Procedure
The LUX method is used to generate magic squares of order , where is a positive natural number . First, consider a square matrix with rows and columns, which is filled with letters as follows:
4th
n
+
2
{\ displaystyle 4n + 2}
n
{\ displaystyle n}
2
n
+
1
{\ displaystyle 2n + 1}
The first lines are completely filled with .
n
+
1
{\ displaystyle n + 1}
L.
{\ displaystyle \ mathrm {L}}
It is followed by a line with .
U
{\ displaystyle \ mathrm {U}}
The remaining lines are also described.
n
-
1
{\ displaystyle n-1}
X
{\ displaystyle \ mathrm {X}}
Finally, the middle is swapped with the one above.
U
{\ displaystyle \ mathrm {U}}
L.
{\ displaystyle \ mathrm {L}}
Now, using the Siamese method, a magic square of order is created that lies on top of the letter. Then in turn all the numbers of this magic square as follows by the four consecutive numbers , , and replaced in accordance with the provision of the related letter:
2
n
+
1
{\ displaystyle 2n + 1}
i
{\ displaystyle i}
(
i
-
1
)
⋅
4th
+
a
{\ displaystyle (i-1) \ cdot 4 + a}
(
i
-
1
)
⋅
4th
+
b
{\ displaystyle (i-1) \ cdot 4 + b}
(
i
-
1
)
⋅
4th
+
c
{\ displaystyle (i-1) \ cdot 4 + c}
(
i
-
1
)
⋅
4th
+
d
{\ displaystyle (i-1) \ cdot 4 + d}
[
a
b
c
d
]
m
i
t
L.
:
[
4th
1
2
3
]
U
:
[
1
4th
2
3
]
X
:
[
1
4th
3
2
]
{\ displaystyle {\ begin {bmatrix} a & b \\ c & d \ end {bmatrix}} \ quad with \ quad \ mathrm {L} \ colon {\ begin {bmatrix} 4 & 1 \\ 2 & 3 \ end {bmatrix}} \ quad \ mathrm {U} \ colon {\ begin {bmatrix} 1 & 4 \\ 2 & 3 \ end {bmatrix}} \ quad \ mathrm {X} \ colon {\ begin {bmatrix} 1 & 4 \\ 3 & 2 \ end {bmatrix}}}
One imagines drawing the letters with a pen (hence the name LUX method).
example
For the letter matrix has the form
n
=
2
{\ displaystyle n = 2}
[
L.
L.
L.
L.
L.
L.
L.
L.
L.
L.
L.
L.
U
L.
L.
U
U
L.
U
U
X
X
X
X
X
]
{\ displaystyle {\ begin {bmatrix} \ mathrm {L} & \ mathrm {L} & \ mathrm {L} & \ mathrm {L} & \ mathrm {L} \\\ mathrm {L} & \ mathrm {L } & \ mathrm {L} & \ mathrm {L} & \ mathrm {L} \\\ mathrm {L} & \ mathrm {L} & \ mathrm {U} & \ mathrm {L} & \ mathrm {L} \\\ mathrm {U} & \ mathrm {U} & \ mathrm {L} & \ mathrm {U} & \ mathrm {U} \\\ mathrm {X} & \ mathrm {X} & \ mathrm {X} & \ mathrm {X} & \ mathrm {X} \ end {bmatrix}}}
Using the Siamese method, the result is the following magic square:
[
L.
=
17th
L.
=
24
L.
=
1
L.
=
8th
L.
=
15th
L.
=
23
L.
=
5
L.
=
7th
L.
=
14th
L.
=
16
L.
=
4th
L.
=
6th
U
=
13
L.
=
20th
L.
=
22nd
U
=
10
U
=
12
L.
=
19th
U
=
21st
U
=
3
X
=
11
X
=
18th
X
=
25th
X
=
2
X
=
9
]
{\ displaystyle {\ begin {bmatrix} \ mathrm {L} = 17 & \ mathrm {L} = 24 & \ mathrm {L} = 1 & \ mathrm {L} = 8 & \ mathrm {L} = 15 \\\ mathrm {L } = 23 & \ mathrm {L} = 5 & \ mathrm {L} = 7 & \ mathrm {L} = 14 & \ mathrm {L} = 16 \\\ mathrm {L} = 4 & \ mathrm {L} = 6 & \ mathrm { U} = 13 & \ mathrm {L} = 20 & \ mathrm {L} = 22 \\\ mathrm {U} = 10 & \ mathrm {U} = 12 & \ mathrm {L} = 19 & \ mathrm {U} = 21 & \ mathrm {U} = 3 \\\ mathrm {X} = 11 & \ mathrm {X} = 18 & \ mathrm {X} = 25 & \ mathrm {X} = 2 & \ mathrm {X} = 9 \ end {bmatrix}}}
Now you start at the very top in the middle and replace the number 1 with the numbers 1 to 4 according to the letter . It follows on the last line, where the number 2 is replaced by the numbers 5 to 8 according to the letter . The next field is then and so on. The end result is the following magic square:
L.
=
1
{\ displaystyle \ mathrm {L} = 1}
L.
{\ displaystyle \ mathrm {L}}
X
=
2
{\ displaystyle \ mathrm {X} = 2}
X
{\ displaystyle \ mathrm {X}}
U
=
3
{\ displaystyle \ mathrm {U} = 3}
[
68
65
96
93
4th
1
32
29
60
57
66
67
94
95
2
3
30th
31
58
59
92
89
20th
17th
28
25th
56
53
64
61
90
91
18th
19th
26th
27
54
55
62
63
16
13
24
21st
49
52
80
77
88
85
14th
15th
22nd
23
50
51
78
79
86
87
37
40
45
48
76
73
81
84
9
12
38
39
46
47
74
75
82
83
10
11
41
44
69
72
97
100
5
8th
33
36
43
42
71
70
99
98
7th
6th
35
34
]
{\ Display style {\ begin {bmatrix} 68 & 65 & 96 & 93 & 4 & 1 & 32 & 29 & 60 & 57 \\ 66 & 67 & 94 & 95 & 2 & 3 & 30 & 31 & 58 & 59 \\ 92 & 89 & 20 & 17 & 28 & 25 & 56 & 53 & 64 & 61 \\ 90 & 91 & 18 & 19 & 26 & 27 & 54 & 55 & 62 & 63 \\ 16 & 13 & 24 & 21 & 49 & 52 & 80 & 77 & 88 & 85 \\ 14 & 15 & 22 & 23 & 50 & 51 & 78 & 79 & 86 & 87 \\ 37 & 40 & 45 & 48 & 76 & 73 & 81 & 84 & 9 & 12 \\ 38 & 39 & 46 & 47 & 74 & 75 & 82 & 83 & 10 & 11 \\ 41 & 44 & 69 & 72 & 97 & 100 5 8 & 33 & 36 \\ 43 & 42 & 71 & 70 & 99 & 98 & 7 & 6 & 35 & 34 \ end {bmatrix}}}
See also
literature
Web links
<img src="https://de.wikipedia.org/wiki/Special:CentralAutoLogin/start?type=1x1" alt="" title="" width="1" height="1" style="border: none; position: absolute;">