This document presents new general methods for constructing doubly even magic squares of order n=4k, where k is a positive integer. For each order n, the methods generate (n^2 - 2n/4)n/2 new magic squares that were previously unknown. An auxiliary matrix L of order n is defined, from which the new magic squares can be derived through a series of row and column swaps. Several examples of the auxiliary matrix L and resultant magic squares are provided for orders n=4 and n=8.
STERILITY TESTING OF PHARMACEUTICALS ppt by DR.C.P.PRINCE
Sequences of New Methods of Construction of Doubly Even Magic Squares
1. (), Vol. *, Issue * (20**); L. de O. Miranda, L.B.B.Miranda
Sequences of New Methods of Construction of Doubly
1
Even Magic Squares
2
Lohans de Oliveira Miranda1
, Lossian Barbosa Bacelar Miranda2
3
1 Unisul University, Brazil
4
2 IFPI, Brazil
5
Correspondence to: Lossian Barbosa Bacelar Miranda, Email: lossianm@gmail.com
6
Abstract: Here we have established sequences of new methods of building doubly even magic squares. For
7
every n = 4k we build
n
2 − 2
n
4
n/2
new magic squares hitherto unknown.
8
9
Keywords: arithmetic progressions, doubly even magic squares, parity.
10
1 Introduction
11
Here we present new general methods which builds, for each order, new types of magic squares hitherto
12
unknown. A magic square of order n (or normal magic square) is a square matrix formed by the numbers
13
1, 2, 3, ..., n2
and such that the sum of the numbers of each row, each column and each of the two diagonals
14
is equal to cn = n3
+n
2 . We call cn of magic constant. The magic square is non-normal when the sum of
15
the numbers in lines, columns and diagonals are all the same, however, not equal to cn = n3
+n
2 or the set
16
of numbers that form it is not In
= {1, 2, 3, ..., n}. We call the aforementioned sums of totals. If n = 4k, k
17
positive natural number, the magic square is of type doubly even magic square.
18
2 Main results
19
Definition 1 (Auxiliary matrix). Consider the square matrix L = (lij)i,j=1,2,3,...,n
of n = 4k order, k ∈ N∗
,
20
given by
21
22
L =
A B
C D
=
23
24
(2r − 2) n + (2s − 1) n2
− (2r − 2) n − (2s − 1)
n2
− 2rn + (2s − 1) 2rn − (2s − 1)
(2r − 1) n − (2s − 1) n2
− (2r − 1) n + (2s − 1)
n2
− (2r − 1) n − (2s − 1) (2r − 1) n + (2s − 1)
2rn − 2 (s − 1) n2
− 2rn + 2s
n2
− (2r − 2) n − 2 (s − 1) (2r − 2) n + 2s
(2r − 1) n + 2s n
2
− (2r − 1) n − 2 (s − 1)
n2
− (2r − 1) n + 2s (2r − 1) n − 2 (s − 1)
25
26
27
A, B, C and D are square matrices of order n/2, each in blocks of order 2, with r, s ∈ In
4
as follows:
28
1) in A, r grows from top to bottom and, s, grows from left to right; 2) in B, r grows from top to bottom
29
and s grows from right to left; 3) in C, r grows from the bottom up and s, grows from left to right; 4) in
30
D, r grows from the bottom up and s grows from right to left.
31
32
Remark 1. A direct inspection says that: a) The sum of the elements of any column of L is equal to
33
Cn; b) The sum of the elements of any of the first n/2 lines of L is equal to n3
/2; c) The sum of the ele-
34
ments of any of the last n/2 lines of L is equal to Cn + n/2; d) The sum of the elements of main diagonal
35
is n3
/4 + n/2; e) The sum of the elements of secondary diagonal is 3n3
/4 + n/2.
36
37
Proposition 1. From L can be built
n
2 − 2
n
4
n/2
doubly even magic squares.
38
Proof. Let us, in L, do the following procedures: i) swap l2u−1,2u−1 with l2u,2u−1 and l2u−1,n+2−2u with
39
l2u,n+2−2u when 1 6 u 6
n
4
; ii) swap l2u−1,2u−1 with l2u−2,2u−1 and l2u−1,n+2−2u with l2u−2,n+2−2u when
40
n
4
u 6
n
2
. Note that swaps made with elements from any of the lines are compensated in pairs, so
41
1
2. Sequences of New Methods of Construction of Doubly Even Magic Squares
that the sum of the elements of the lines remains unchanged. These swaps also do not change the sum
42
of the elements in any column. However, a simple direct calculation shows that the set of swaps adds
43
n3
/4 units to the main diagonal and removes −n3
/4 units from the secondary diagonal. Consequently, the
44
sum of the elements of both diagonals becomes Cn. An inspection on matrices A, B, C and D shows that
45
lv,2t−1 = ln+1−v,2t + 1, lv,2t = ln+1−v,2t−1 + 1; ∀v ∈ In, ∀t ∈ In
2
. This implies that we can transfer n/2 units
46
from the line of v order (v n/2) to the line of n + 1 − v order in
n
2 − 2
n
4
ways, since in just two pairs
47
of adjacent columns we cannot do this transfer due to the aforementioned i-ii procedures. Since there are
48
n/2 pairs of lines and the transfers are independent, then we will have a total of
n
2 − 2
n
4
n/2
possibilities.
49
3 Examples: auxiliary matrix, procedures i-ii and magic squares
50
Order n = 4. L =
1 15 3 13
9 7 11 5
8 10 6 12
16 2 14 4
,
9 15 3 5
1 7 11 13
16 10 6 4
8 2 14 12
.
51
52
53
Order n = 8. L =
1 63 3 61 5 59 7 57
49 15 51 13 53 11 55 9
17 47 19 45 21 43 23 41
33 31 35 29 37 27 39 25
32 34 30 36 28 38 26 40
48 18 46 20 44 22 42 24
16 50 14 52 12 54 10 56
64 2 62 4 60 6 58 8
,
49 63 3 61 5 59 7 9
1 15 51 13 53 11 55 57
17 47 35 45 21 27 23 41
33 31 19 29 37 43 39 25
32 34 46 36 28 22 26 40
48 18 30 20 44 38 42 24
64 50 14 52 12 54 10 8
16 2 62 4 60 6 58 56
,
54
55
49 63 4 62 6 60 7 9
1 15 52 14 54 12 55 57
18 48 35 45 22 27 24 42
34 32 19 29 37 43 39 25
31 33 46 36 28 21 26 40
47 17 30 20 44 38 41 23
64 50 13 51 11 53 10 8
16 2 61 3 59 5 58 56
.
56
4 Discussion
57
The Proposition 1 makes the doubly even magic squares to be demonstrably abundant among the three main
58
types of magic squares. It should be noted that we do not obtain infinite methods for any fixed n order.
59
What we get are several sequences of methods which are valid only after a certain value of n. Note that for
60
formula
n
2 − 2
n
4
n/2
to be true for n = 4, we must have (−1)! = 1.
61
References
62
[1] HOLGER DANIELSSON. Magische Quadrate, Version 2.03 vom 04.10.2020a. Available on
63
https://www.magic-squares.info/docs/magische-quadrate.pdf. Access on 08/30/2020.
64
[2] HOLGER DANIELSSON. Magic Squares, 2020b. Available on https://www.magic-
65
squares.info/en.html. Access on 09/29/2020.
66
[3] MIRANDA, Lohans de O. and MIRANDA, Lossian B. B. Lohans’ Magic Squares and the Gaussian
67
Elimination Method. Journal of Nepal Mathematical Society (JNMS), Volume 3, Issue 1, Year-2020a.
68
2
3. (), Vol. *, Issue * (20**); L. de O. Miranda, L.B.B.Miranda
[4] MIRANDA, Lohans de O. and MIRANDA, Lossian B. B. Generalization of Durer’s
69
Magic Square and New Methods for Doubly Even Magic Squares, 2020b. Available on
70
https://pt.slideshare.net/lossian/generalization-of-drers-magic-square-and-new-methods-for-doubly-
71
even-magic-squares. Access on 08/29/2020.
72
[5] MIRANDA, Lohans de O. and MIRANDA, Lossian B. B. Cota Inferior para o Número de Quadra-
73
dos Mágicos Advindos dos Duais dos Quadrados Mágicos dos Lohans: Primeiro Aumento, 2020c.
74
Academia.edu. Access on 10/01/ 2020.
75
[6] MIRANDA, Lossian B. B. Existe Magia nos Quadrados Mágicos?, 2020d. Academia.edu. Access on
76
10/01/2020.
77
[7] MIRANDA, Lohans de O. and MIRANDA, Lossian B. B. Estabelecendo In-
78
finitos Métodos de Construção de Quadrados Mágicos, 2020e. Available on
79
https://pyaugohy.blogspot.com/2020/10/estabelecendo-infinitos-metodos-de.html. Access on
80
10/14/2020.
81
3