SlideShare a Scribd company logo
1 of 5
Download to read offline
Publisher Info. December 27, 2019
Lohans’ magic squares and the Gaussian elimination
method
Lohans de Oliveira Miranda1
; Lossian Barbosa Bacelar Miranda2
1
Unisul University, Brazil; 2
IFPI, Brazil
lohansmiranda@gmail.com; lossianm@gmail.com
Abstract
We have established a new general method to build doubly even
magic squares. New types of magic squares are built. The method
is aesthetic and easy to understand.
Keywords: arithmetic progressions, doubly even magic squares, D¨urer’s magic square, Gaussian
elimination method, parity.
Acknowledgements
Preliminaries
Jacques Sesiano’s studies report that the general methods of constructing of doubly even magic
squares were made by eastern mathematicians before of the eleventh century ([1], pp. 44-88).
Here we present a new general method which builds, for each order, new types of magic squares
hitherto unknown. These new magic squares have many symmetries, which are amazing. We use
the definitions and notations of [2].
Let n = 4u, u ∈ N∗
, In = {1, 2, 3, ..., n} and cn = n3+n
2
the magic constant of n order. We
define and denote:
a) Ln =


l1,1 ... l1,n
... ... ...
ln,1 ... ln,n

 = (lu,v)u,v∈In
, matrix of n order and of 2 × 2 blocks determined by
Ls,r =
(n − 2(s − 1))n − 2(r − 1) (2s − 1)n − (2r − 1)
(2s − 1)n + (2r − 1) (n − 2s)n + 2r
; s, r ∈ In
2
(1)
The row which contains (n − 2(s − 1))n − 2(r − 1) and (2s − 1)n − (2r − 1) it’s called
first row and the row which contains (2s − 1)n + (2r − 1) and (n − 2s)n + 2r it’s called second
row of the double row of s order. The column which contains (n − 2(s − 1))n − 2(r − 1) and
(2s − 1)n + (2r − 1) it’s called first column and the column which contains (2s − 1)n − (2r − 1)
c
Publisher Info. December 27, 2019
and (n − 2s)n + 2r, it’s called second column of the double column of r order.
b) Hn, matrix of n order generated from of Ln with the swaps (horizontal swaps):
l2u−1,2u−1 with l2u−1,2u; ln−(2u−1)+1,2u−1 with ln−(2u−1)+1,2u; l2u−1,n−(2u−1)+1 with l2u−1,n−(2u−1);
ln−(2u−1)+1,n−(2u−1)+1 with ln−(2u−1)+1,n−(2u−1), u ∈ In
4
.
c) Nn = (Ns,r)s,r∈In/2
, determined by (inclined swaps) Ns,r =



(n − 2(s − 1))n − 2(r − 1) (2s − 1)n + (2r − 1)
(2s − 1)n − (2r − 1) (n − 2s)n + 2r
, if s, r have equal parities;
(n − 2s)n + 2r (2s − 1)n − (2r − 1)
(2s − 1)n + (2r − 1) (n − 2(s − 1))n − 2(r − 1)
, if s, r have different parities.
The main result
Proposition 1. If in Hn we do the same procedure which turns Ln into Nn (item c) we get a
matrix Mn, which is a magic square.
Proof. In Ln the sums of the numbers of the first and second rows of the double row of s or-
der are given respectively by n/2
r=1((n − 2(s − 1))n − 2(r − 1) + (2s − 1)n − (2r − 1)) = cn and
n/2
r=1((2s−1)n+(2r −1)+(n−2s)n+2r) = cn. In Nn the sums of the numbers of the first and
second rows of any double row of odd order s are given respectively by n/4
u=1[n−2(s−1)−4(u−
1)] + n/4
u=1[(2s − 1)n + 4u − 3] + n/4
u=1[(n − 2s)n + 4u] + n/4
u=1[(2s − 1)n − (4u − 1)] = cn and
n/4
u=1[(2s−1)n−(4u−3)]+ n/4
u=1[(n−2s)n+4u−2]+ n/4
u=1[(2s−1)n+4u−1]+ n/4
u=1[(n−
2(s − 1))n − (4u − 2)] = cn. Similarly, in Nn, the same result also applies to all double rows of
even orders. Using the same procedure as above we also prove that the sums of the numbers of all
columns of Nn are equal to cn. Let r = n
2
− r + 1. So, from (1) results
Ls,r =
(n − 2(s − 1))n − (n − 2r) (2s − 1)n − (n − 2r + 1)
2sn − 2r + 1 (n − 2s)n + n − 2r + 2
.
Note that [(n − 2(s − 1))n − 2(r − 1)] − [(n − 2s)n + 2r ] =
−[(2s − 1)n − (2r − 1)] − [(2s − 1)n + (2r − 1)] and [(2s−1)n−(2r −1)]−[(2s−1)n+(2r −
1)] = −[(n − 2(s − 1))n − 2(r − 1)] − [(n − 2s)n + 2r], indicating that the inclined swaps, when
done at Ln to generate Nn, do not change the sum of the numbers of the rows of Ln, which
is cn. Horizontal swaps followed by inclined swaps (together) result on: inclined swaps, which
cancel each other out (due to the fact that they transfer opposite values to the first row); swap
(2s − 1)n − (n − 2r + 1) with (n − 2s)n + n − 2r + 2 and (n − 2(s − 1))n − 2(r − 1) with
(2s − 1)n + (2r − 1). These two swaps imply transfers of opposites values to the first row of the
double order s, whether r = s, r = n
2
− s + 1 or any other situation. Therefore, a sum of the
c
Publisher Info. December 27, 2019
numbers of any row of Mn is cn. Note that the numbers of the first column of the double column of
odd order 2(u−1)+1 of Mn are the same as the first column of the double column of 2(u−1)+1
order of Nn. In fact, if in (1) we do s = r and establish only inclined swaps results
Ns,s =
(n − 2(s − 1))n − 2(s − 1) (2s − 1)n + (2s − 1)
(2s − 1)n − (2s − 1) (n − 2s)n + 2s
.
If in (1) we do s = r and establish horizontal swaps followed by inclined swaps results
Ms,s =
(2s − 1)n − (2s − 1) (2s − 1)n + (2s − 1)
(n − 2(s − 1))n − 2(s − 1) (n − 2s)n + 2s
.
Then in the block of (s, s) order there will be only the swaps of positions of the numbers (n −
2(s − 1))n − 2(s − 1) and (2s − 1)n − (2s − 1). Similarly in the double block of order (n/2 −
(2(s−1)+1)+1, n/2−(2(s−1)+1)+1) there will only be swaps of positions between numbers,
also. In the other positions the numbers of first column of Mn and of Nn are equal. The proof for
the second column is identical. The proof for the columns of even order follows the same reason-
ing. Then the sum of the numbers of any column of Mn is equal cn. Note that the numbers of the
main diagonal and of the secondary diagonal remain unchanged by inclined swaps. Therefore, the
diagonals of Mn and Hn are respectively equal. From (1) follows that the sum of numbers of the
main diagonal of Ln is equal to n/2
s=1((n−2(s−1))n−2(s−1)+(n−2s)n+n−2s+2) = cn + n
2
.
Doing r = n/2 − s + 1 in (1), we see that the sum of numbers of the secondary diagonal of Ln is
equal to cn − n/2. On the other hand, the sum of the numbers of the main diagonal of Hn is equal
to sum of the numbers of the main diagonal of Ln minus the sum of the values retired through of
the horizontal swaps, namely, (cn + n
2
) − n/4
u=1(((n − 2(u − 1))n − 2(u − 1)) − ((2u − 1)n −
(2u − 1))) − n/4
u=1(((2u − 1)n − 2(u − 1)) − ((n − 2(u − 1))n − (2u − 1))) = cn. For secondary
diagonal of Hn, the sum of the diferences between the horizontally exchanged numbers is equal to
n/4
u=1((2(u − 1)n + (2u − 1)) − (n − (2u − 1)n + 2u)) + n/4
u=1(((n − (2u − 1))n + (2u − 1)) −
(2(u − 1)n + 2u)) = −n
2
. This indicates that after the horizontal swaps the secondary diagonal is
left with n/2 units more, therefore the sum of the numbers of the secondary diagonal of Mn is cn.
Examples
L4 =




16 3 14 1
5 10 7 12
8 11 6 9
13 2 15 4



, H4 =




3 16 1 14
5 10 7 12
8 11 6 9
2 13 4 15



,
N4 =




16 5 12 1
3 10 7 14
2 11 6 15
13 8 9 4



, M4 =




3 5 12 14
16 10 7 1
13 11 6 4
2 8 9 15



.
c
Publisher Info. December 27, 2019
L8 =












64 7 62 5 60 3 58 1
9 50 11 52 13 54 15 56
48 23 46 21 44 19 42 17
25 34 27 36 29 38 31 40
32 39 30 37 28 35 26 33
41 18 43 20 45 22 47 24
16 55 14 53 12 51 10 49
57 2 59 4 61 6 63 8












, M8 =












7 9 52 5 60 13 56 58
64 50 11 62 3 54 15 1
34 23 21 27 38 44 42 31
25 48 46 36 29 19 17 40
32 41 43 37 28 22 24 33
39 18 20 30 35 45 47 26
57 55 14 59 6 51 10 8
2 16 53 4 61 12 49 63












.
Some properties of the magic squares
The magic squares Mn (for n 4 ), which we call Lohans’ magic squares,1
have the following
properties:
i) In each of the rows, columns and diagonals there are exactly n/2 odd numbers. The same
goes for even numbers;
ii) The odd numbers are in radial symmetry with respect to the intersection point of the diago-
nals, as are the even numbers. The difference between two symmetrical odd numbers is a multiple
of n, and the same is true for even numbers. We have mi,n+1−j − mn+1−i,j is divisible by n;
iii) Both odd and even numbers are in bilateral symmetry with respect to the diagonals and the
two orthogonal axes that make an angle of 45◦
to them;
iv) The set of odd numbers corresponds to a set connected by paths. The same goes for even
numbers;
v) Every odd number is surrounded by even numbers and, also, every even number is sur-
rounded by odd numbers;
vi) For each n the sum of the corners of each of central squares is equal to S(n) = 2(n2
+ 1);
vii) For each n,
Det




n2
− 2sn + 2n − 2r + 2 2sn − n − 2r + 1 n2
− 2sn + 2n − 2r 2sn − n − 2r − 1
2sn − n + 2r − 1 n2
− 2sn + 2r 2sn − n + 2r + 1 n2
− 2sn + 2r + 2
n2
− 2sn − 2r + 2 2sn + n − 2r + 1 n2
− 2sn − 2r 2sn + n − 2r − 1
2sn + n + 2r − 1 n2
− 2sn − 2n + 2r 2sn + n + 2r + 1 n2
− 2sn − 2n + 2r + 2




= 0, ∀s, r ∈ In/2
viii) From (1) we have mi,j + mi,n+1−j = n2
+ 1, ∀i, j ∈ In;
ix) For each n, Det(Mn) = 0.
1
Leisurely and contented, Happy and knowledgeable. Full of wit and humour, Exuberant with interest
(http://www.buddhanet.net/e-learning/history/lohans12.htm).
c
Publisher Info. December 27, 2019
Observation. The item ix is obtained directly by the Gaussian elimination method. The results
cited in viii and ix lead us to the following general result on matrices:
Proposition 2. If M = (mij)n×n is a matrix of order n > 2 and in it the hypothesis mi,j +
mi,n+1−j = k, ∀i, j ∈ In (k constant) is valid then Det(M) = 0.
Proof. This result is also proved by the Gaussian elimination method. However, for even orders,
this proposition can be proved easily using the fact that the determinant is an n-linear function in
relation to the columns of the matrix. In particular, we can use it to prove that Det(Mn) = 0.
Conclusion
In the method the number 1 is never in the corners as usually happens in the other methods.
The method is not a special case of any established methods. For the case n = 4 the magic square
has all the beautiful properties of D¨urer’s magic square, differing only as follows: in D¨urer’s magic
square we have 9 + 3 + 8 + 14 = 5 + 2 + 12 + 15 = 34 and in the case presented here we have
((13 + 5 + 1 + 9) + (16 + 12 + 4 + 8))/2 = 34. However, the sum of the common terms is
5 + 9 + 8 + 12 = 34. The aforementioned proposition establishes a new general method to build
doubly even magic squares. The presented method has an easy analytical treatment and makes
strong use of symmetry and parity.
References
[1] Jacques Sesiano. Magic Squares: Their History and Construction from Ancient Times to AD 1600.
Springer Nature Switzerland AG 2019. Available on https://doi.org/10.1007/978-3-030-17993-9
[2] W. S. Andrews, Magic Squares and Cubes, Open Court, Chicago, 1908. Available on
https://archive.org/details/magicsquarescube00andrrich/page/n6
c

More Related Content

What's hot

Math20001 dec 2015
Math20001 dec 2015Math20001 dec 2015
Math20001 dec 2015Atef Alnazer
 
2 3 Bzca5e
2 3 Bzca5e2 3 Bzca5e
2 3 Bzca5esilvia
 
Complex numbers And Quadratic Equations
Complex numbers And Quadratic EquationsComplex numbers And Quadratic Equations
Complex numbers And Quadratic EquationsDeepanshu Chowdhary
 
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...Saikrishna Tanguturu
 
Solving Equations in Complex Numbers
Solving Equations in Complex NumbersSolving Equations in Complex Numbers
Solving Equations in Complex Numbersyoumarks
 
Datetime - Julian Date
Datetime - Julian DateDatetime - Julian Date
Datetime - Julian DateShuo Chen
 
Pair Of Linear Equations In Two Variables
Pair Of Linear Equations In Two VariablesPair Of Linear Equations In Two Variables
Pair Of Linear Equations In Two VariablesDeo Baran
 
Vector Space & Sub Space Presentation
Vector Space & Sub Space PresentationVector Space & Sub Space Presentation
Vector Space & Sub Space PresentationSufianMehmood2
 
IITJEE - Mathematics 2008-i
IITJEE - Mathematics  2008-iIITJEE - Mathematics  2008-i
IITJEE - Mathematics 2008-iVasista Vinuthan
 
7.5 lines and_planes_in_space
7.5 lines and_planes_in_space7.5 lines and_planes_in_space
7.5 lines and_planes_in_spaceMahbub Alwathoni
 
Ellipses drawing algo.
Ellipses drawing algo.Ellipses drawing algo.
Ellipses drawing algo.Mohd Arif
 
Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Sparsh Singh
 
Pair of linear equations in two variables for classX
Pair of linear equations in two variables for classXPair of linear equations in two variables for classX
Pair of linear equations in two variables for classXswastik999
 

What's hot (20)

Sect4 1
Sect4 1Sect4 1
Sect4 1
 
Math20001 dec 2015
Math20001 dec 2015Math20001 dec 2015
Math20001 dec 2015
 
2 3 Bzca5e
2 3 Bzca5e2 3 Bzca5e
2 3 Bzca5e
 
Ma2002 1.21 rm
Ma2002 1.21 rmMa2002 1.21 rm
Ma2002 1.21 rm
 
Unit 4 jwfiles
Unit 4 jwfilesUnit 4 jwfiles
Unit 4 jwfiles
 
Math report
Math reportMath report
Math report
 
Complex numbers And Quadratic Equations
Complex numbers And Quadratic EquationsComplex numbers And Quadratic Equations
Complex numbers And Quadratic Equations
 
第二次作業
第二次作業第二次作業
第二次作業
 
Sequence of DM
Sequence of  DM Sequence of  DM
Sequence of DM
 
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
Computer Graphics - Bresenham's line drawing algorithm & Mid Point Circle alg...
 
Solving Equations in Complex Numbers
Solving Equations in Complex NumbersSolving Equations in Complex Numbers
Solving Equations in Complex Numbers
 
Datetime - Julian Date
Datetime - Julian DateDatetime - Julian Date
Datetime - Julian Date
 
Pair Of Linear Equations In Two Variables
Pair Of Linear Equations In Two VariablesPair Of Linear Equations In Two Variables
Pair Of Linear Equations In Two Variables
 
Vector Space & Sub Space Presentation
Vector Space & Sub Space PresentationVector Space & Sub Space Presentation
Vector Space & Sub Space Presentation
 
Dec 14
Dec 14Dec 14
Dec 14
 
IITJEE - Mathematics 2008-i
IITJEE - Mathematics  2008-iIITJEE - Mathematics  2008-i
IITJEE - Mathematics 2008-i
 
7.5 lines and_planes_in_space
7.5 lines and_planes_in_space7.5 lines and_planes_in_space
7.5 lines and_planes_in_space
 
Ellipses drawing algo.
Ellipses drawing algo.Ellipses drawing algo.
Ellipses drawing algo.
 
Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)Pair of linear equation in two variables (sparsh singh)
Pair of linear equation in two variables (sparsh singh)
 
Pair of linear equations in two variables for classX
Pair of linear equations in two variables for classXPair of linear equations in two variables for classX
Pair of linear equations in two variables for classX
 

Similar to Lohans’ magic squares and the Gaussian elimination method

FOUR-CORNER TRIANGLE ROTATION METHOD AND MAGIC SQUARES FROM THOSE OF THE LOHANS
FOUR-CORNER TRIANGLE ROTATION METHOD AND MAGIC SQUARES FROM THOSE OF THE LOHANSFOUR-CORNER TRIANGLE ROTATION METHOD AND MAGIC SQUARES FROM THOSE OF THE LOHANS
FOUR-CORNER TRIANGLE ROTATION METHOD AND MAGIC SQUARES FROM THOSE OF THE LOHANSLossian Barbosa Bacelar Miranda
 
Construction of Magic Squares by Swapping Rows and Columns.pdf
Construction of Magic Squares by Swapping Rows and Columns.pdfConstruction of Magic Squares by Swapping Rows and Columns.pdf
Construction of Magic Squares by Swapping Rows and Columns.pdfLossian Barbosa Bacelar Miranda
 
Generalization of Dürer's Magic Square and New Methods for Doubly Even Magic ...
Generalization of Dürer's Magic Square and New Methods for Doubly Even Magic ...Generalization of Dürer's Magic Square and New Methods for Doubly Even Magic ...
Generalization of Dürer's Magic Square and New Methods for Doubly Even Magic ...Lossian Barbosa Bacelar Miranda
 
A Proof of Twin primes and Golbach's Conjecture
A Proof of Twin primes and Golbach's ConjectureA Proof of Twin primes and Golbach's Conjecture
A Proof of Twin primes and Golbach's Conjecturenikos mantzakouras
 
On the Odd Gracefulness of Cyclic Snakes With Pendant Edges
On the Odd Gracefulness of Cyclic Snakes With Pendant EdgesOn the Odd Gracefulness of Cyclic Snakes With Pendant Edges
On the Odd Gracefulness of Cyclic Snakes With Pendant EdgesGiselleginaGloria
 
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer keyNbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer keyMD Kutubuddin Sardar
 
coordinate Geometry straight line
coordinate Geometry   straight linecoordinate Geometry   straight line
coordinate Geometry straight lineSahilPuri14
 
Perpendicular lines, gradients, IB SL Mathematics
Perpendicular lines, gradients, IB SL MathematicsPerpendicular lines, gradients, IB SL Mathematics
Perpendicular lines, gradients, IB SL MathematicsAlice Palmer
 
Representation of Integer Positive Number as A Sum of Natural Summands
Representation of Integer Positive Number as A Sum of Natural SummandsRepresentation of Integer Positive Number as A Sum of Natural Summands
Representation of Integer Positive Number as A Sum of Natural SummandsIJERA Editor
 
Approximating offset curves using B ´ ezier curves with high accuracy
Approximating offset curves using B ´ ezier curves with high accuracyApproximating offset curves using B ´ ezier curves with high accuracy
Approximating offset curves using B ´ ezier curves with high accuracyIJECEIAES
 
Recurrent problems: TOH, Pizza Cutting and Josephus Problems
Recurrent problems: TOH, Pizza Cutting and Josephus ProblemsRecurrent problems: TOH, Pizza Cutting and Josephus Problems
Recurrent problems: TOH, Pizza Cutting and Josephus ProblemsMenglinLiu1
 
Tools for computational finance
Tools for computational financeTools for computational finance
Tools for computational financeSpringer
 
Arithmetic Progressions and the Construction of Doubly Even Magic Squares (Fo...
Arithmetic Progressions and the Construction of Doubly Even Magic Squares (Fo...Arithmetic Progressions and the Construction of Doubly Even Magic Squares (Fo...
Arithmetic Progressions and the Construction of Doubly Even Magic Squares (Fo...Lossian Barbosa Bacelar Miranda
 
Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved exMaths Tutoring
 
New Families of Odd Harmonious Graphs
New Families of Odd Harmonious GraphsNew Families of Odd Harmonious Graphs
New Families of Odd Harmonious GraphsIJMIT JOURNAL
 

Similar to Lohans’ magic squares and the Gaussian elimination method (20)

FOUR-CORNER TRIANGLE ROTATION METHOD AND MAGIC SQUARES FROM THOSE OF THE LOHANS
FOUR-CORNER TRIANGLE ROTATION METHOD AND MAGIC SQUARES FROM THOSE OF THE LOHANSFOUR-CORNER TRIANGLE ROTATION METHOD AND MAGIC SQUARES FROM THOSE OF THE LOHANS
FOUR-CORNER TRIANGLE ROTATION METHOD AND MAGIC SQUARES FROM THOSE OF THE LOHANS
 
Construction of Magic Squares by Swapping Rows and Columns.pdf
Construction of Magic Squares by Swapping Rows and Columns.pdfConstruction of Magic Squares by Swapping Rows and Columns.pdf
Construction of Magic Squares by Swapping Rows and Columns.pdf
 
Generalization of Dürer's Magic Square and New Methods for Doubly Even Magic ...
Generalization of Dürer's Magic Square and New Methods for Doubly Even Magic ...Generalization of Dürer's Magic Square and New Methods for Doubly Even Magic ...
Generalization of Dürer's Magic Square and New Methods for Doubly Even Magic ...
 
A Proof of Twin primes and Golbach's Conjecture
A Proof of Twin primes and Golbach's ConjectureA Proof of Twin primes and Golbach's Conjecture
A Proof of Twin primes and Golbach's Conjecture
 
On the Odd Gracefulness of Cyclic Snakes With Pendant Edges
On the Odd Gracefulness of Cyclic Snakes With Pendant EdgesOn the Odd Gracefulness of Cyclic Snakes With Pendant Edges
On the Odd Gracefulness of Cyclic Snakes With Pendant Edges
 
v39i11.pdf
v39i11.pdfv39i11.pdf
v39i11.pdf
 
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer keyNbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
Nbhm m. a. and m.sc. scholarship test september 20, 2014 with answer key
 
coordinate Geometry straight line
coordinate Geometry   straight linecoordinate Geometry   straight line
coordinate Geometry straight line
 
Perpendicular lines, gradients, IB SL Mathematics
Perpendicular lines, gradients, IB SL MathematicsPerpendicular lines, gradients, IB SL Mathematics
Perpendicular lines, gradients, IB SL Mathematics
 
Representation of Integer Positive Number as A Sum of Natural Summands
Representation of Integer Positive Number as A Sum of Natural SummandsRepresentation of Integer Positive Number as A Sum of Natural Summands
Representation of Integer Positive Number as A Sum of Natural Summands
 
Semi-Magic Squares From Snake-Shaped Matrices
Semi-Magic Squares From Snake-Shaped MatricesSemi-Magic Squares From Snake-Shaped Matrices
Semi-Magic Squares From Snake-Shaped Matrices
 
Approximating offset curves using B ´ ezier curves with high accuracy
Approximating offset curves using B ´ ezier curves with high accuracyApproximating offset curves using B ´ ezier curves with high accuracy
Approximating offset curves using B ´ ezier curves with high accuracy
 
Recurrent problems: TOH, Pizza Cutting and Josephus Problems
Recurrent problems: TOH, Pizza Cutting and Josephus ProblemsRecurrent problems: TOH, Pizza Cutting and Josephus Problems
Recurrent problems: TOH, Pizza Cutting and Josephus Problems
 
Tools for computational finance
Tools for computational financeTools for computational finance
Tools for computational finance
 
Arithmetic Progressions and the Construction of Doubly Even Magic Squares (Fo...
Arithmetic Progressions and the Construction of Doubly Even Magic Squares (Fo...Arithmetic Progressions and the Construction of Doubly Even Magic Squares (Fo...
Arithmetic Progressions and the Construction of Doubly Even Magic Squares (Fo...
 
Bayes gauss
Bayes gaussBayes gauss
Bayes gauss
 
Em07 p
Em07 pEm07 p
Em07 p
 
Report
ReportReport
Report
 
Dynamical systems solved ex
Dynamical systems solved exDynamical systems solved ex
Dynamical systems solved ex
 
New Families of Odd Harmonious Graphs
New Families of Odd Harmonious GraphsNew Families of Odd Harmonious Graphs
New Families of Odd Harmonious Graphs
 

More from Lossian Barbosa Bacelar Miranda

Actions of Groups of Magic Squares and Hypercubes - Algebraic-geometry Theo...
Actions of Groups of Magic Squares and Hypercubes  -  Algebraic-geometry Theo...Actions of Groups of Magic Squares and Hypercubes  -  Algebraic-geometry Theo...
Actions of Groups of Magic Squares and Hypercubes - Algebraic-geometry Theo...Lossian Barbosa Bacelar Miranda
 
New Information on the Generalized Euler-Tricomi Equation
New Information on the Generalized Euler-Tricomi Equation New Information on the Generalized Euler-Tricomi Equation
New Information on the Generalized Euler-Tricomi Equation Lossian Barbosa Bacelar Miranda
 
Novas Informações Sobre a Equação Generalizada de Euler-Tricomi
Novas Informações Sobre a Equação Generalizada de Euler-TricomiNovas Informações Sobre a Equação Generalizada de Euler-Tricomi
Novas Informações Sobre a Equação Generalizada de Euler-TricomiLossian Barbosa Bacelar Miranda
 
One solution for many linear partial differential equations with terms of equ...
One solution for many linear partial differential equations with terms of equ...One solution for many linear partial differential equations with terms of equ...
One solution for many linear partial differential equations with terms of equ...Lossian Barbosa Bacelar Miranda
 
UMA MESMA SOLUÇÃO PARA MUITAS EQUAÇÕES DIFERENCIAIS PARCIAIS LINEARES DE ORDE...
UMA MESMA SOLUÇÃO PARA MUITAS EQUAÇÕES DIFERENCIAIS PARCIAIS LINEARES DE ORDE...UMA MESMA SOLUÇÃO PARA MUITAS EQUAÇÕES DIFERENCIAIS PARCIAIS LINEARES DE ORDE...
UMA MESMA SOLUÇÃO PARA MUITAS EQUAÇÕES DIFERENCIAIS PARCIAIS LINEARES DE ORDE...Lossian Barbosa Bacelar Miranda
 
Cota Inferior para o Número de Quadrados Mágicos Advindos dos Duais dos Quadr...
Cota Inferior para o Número de Quadrados Mágicos Advindos dos Duais dos Quadr...Cota Inferior para o Número de Quadrados Mágicos Advindos dos Duais dos Quadr...
Cota Inferior para o Número de Quadrados Mágicos Advindos dos Duais dos Quadr...Lossian Barbosa Bacelar Miranda
 
Arithmetic Progressions and the Construction of Doubly Even Magic Squares
Arithmetic Progressions and the Construction of Doubly Even Magic SquaresArithmetic Progressions and the Construction of Doubly Even Magic Squares
Arithmetic Progressions and the Construction of Doubly Even Magic SquaresLossian Barbosa Bacelar Miranda
 
Especulações sobre o centro de massa e campos de corpos ilimitados em r3
Especulações sobre o centro de massa e campos de corpos ilimitados em r3Especulações sobre o centro de massa e campos de corpos ilimitados em r3
Especulações sobre o centro de massa e campos de corpos ilimitados em r3Lossian Barbosa Bacelar Miranda
 
Produtos Infinitos e Formulações Discretas da Dinâmica de um Foguete
Produtos Infinitos e Formulações Discretas da Dinâmica de um FogueteProdutos Infinitos e Formulações Discretas da Dinâmica de um Foguete
Produtos Infinitos e Formulações Discretas da Dinâmica de um FogueteLossian Barbosa Bacelar Miranda
 
Computation of Semi-Magic Squares Generated by Serpentine Matrices
Computation of Semi-Magic Squares Generated by Serpentine MatricesComputation of Semi-Magic Squares Generated by Serpentine Matrices
Computation of Semi-Magic Squares Generated by Serpentine MatricesLossian Barbosa Bacelar Miranda
 

More from Lossian Barbosa Bacelar Miranda (17)

Actions of Groups of Magic Squares and Hypercubes - Algebraic-geometry Theo...
Actions of Groups of Magic Squares and Hypercubes  -  Algebraic-geometry Theo...Actions of Groups of Magic Squares and Hypercubes  -  Algebraic-geometry Theo...
Actions of Groups of Magic Squares and Hypercubes - Algebraic-geometry Theo...
 
New Information on the Generalized Euler-Tricomi Equation
New Information on the Generalized Euler-Tricomi Equation New Information on the Generalized Euler-Tricomi Equation
New Information on the Generalized Euler-Tricomi Equation
 
Novas Informações Sobre a Equação Generalizada de Euler-Tricomi
Novas Informações Sobre a Equação Generalizada de Euler-TricomiNovas Informações Sobre a Equação Generalizada de Euler-Tricomi
Novas Informações Sobre a Equação Generalizada de Euler-Tricomi
 
Novas Informações Sobre a Equação de Euler-Tricomi
Novas Informações Sobre a Equação de Euler-TricomiNovas Informações Sobre a Equação de Euler-Tricomi
Novas Informações Sobre a Equação de Euler-Tricomi
 
One solution for many linear partial differential equations with terms of equ...
One solution for many linear partial differential equations with terms of equ...One solution for many linear partial differential equations with terms of equ...
One solution for many linear partial differential equations with terms of equ...
 
UMA MESMA SOLUÇÃO PARA MUITAS EQUAÇÕES DIFERENCIAIS PARCIAIS LINEARES DE ORDE...
UMA MESMA SOLUÇÃO PARA MUITAS EQUAÇÕES DIFERENCIAIS PARCIAIS LINEARES DE ORDE...UMA MESMA SOLUÇÃO PARA MUITAS EQUAÇÕES DIFERENCIAIS PARCIAIS LINEARES DE ORDE...
UMA MESMA SOLUÇÃO PARA MUITAS EQUAÇÕES DIFERENCIAIS PARCIAIS LINEARES DE ORDE...
 
Cota Inferior para o Número de Quadrados Mágicos Advindos dos Duais dos Quadr...
Cota Inferior para o Número de Quadrados Mágicos Advindos dos Duais dos Quadr...Cota Inferior para o Número de Quadrados Mágicos Advindos dos Duais dos Quadr...
Cota Inferior para o Número de Quadrados Mágicos Advindos dos Duais dos Quadr...
 
The Four Pandiagonal Magic Squares of Nagarjuna
 The Four Pandiagonal Magic Squares of Nagarjuna The Four Pandiagonal Magic Squares of Nagarjuna
The Four Pandiagonal Magic Squares of Nagarjuna
 
Arithmetic Progressions and the Construction of Doubly Even Magic Squares
Arithmetic Progressions and the Construction of Doubly Even Magic SquaresArithmetic Progressions and the Construction of Doubly Even Magic Squares
Arithmetic Progressions and the Construction of Doubly Even Magic Squares
 
Princípios básicos da matemática do movimento - PDF
Princípios básicos da matemática do movimento - PDFPrincípios básicos da matemática do movimento - PDF
Princípios básicos da matemática do movimento - PDF
 
O pêndulo matemático e as funções elípticas copy
O pêndulo matemático e as funções elípticas copyO pêndulo matemático e as funções elípticas copy
O pêndulo matemático e as funções elípticas copy
 
Questionário de ads. 10. 2012
Questionário de ads. 10. 2012Questionário de ads. 10. 2012
Questionário de ads. 10. 2012
 
Princípios básicos da matemática do movimento
Princípios básicos da matemática do movimentoPrincípios básicos da matemática do movimento
Princípios básicos da matemática do movimento
 
Lei dos senos e o cálculo do raio da terra
Lei dos senos e o cálculo do raio da terraLei dos senos e o cálculo do raio da terra
Lei dos senos e o cálculo do raio da terra
 
Especulações sobre o centro de massa e campos de corpos ilimitados em r3
Especulações sobre o centro de massa e campos de corpos ilimitados em r3Especulações sobre o centro de massa e campos de corpos ilimitados em r3
Especulações sobre o centro de massa e campos de corpos ilimitados em r3
 
Produtos Infinitos e Formulações Discretas da Dinâmica de um Foguete
Produtos Infinitos e Formulações Discretas da Dinâmica de um FogueteProdutos Infinitos e Formulações Discretas da Dinâmica de um Foguete
Produtos Infinitos e Formulações Discretas da Dinâmica de um Foguete
 
Computation of Semi-Magic Squares Generated by Serpentine Matrices
Computation of Semi-Magic Squares Generated by Serpentine MatricesComputation of Semi-Magic Squares Generated by Serpentine Matrices
Computation of Semi-Magic Squares Generated by Serpentine Matrices
 

Recently uploaded

Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfSumit Kumar yadav
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptxRajatChauhan518211
 
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxBroad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxjana861314
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSarthak Sekhar Mondal
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real timeSatoshi NAKAHIRA
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxpradhanghanshyam7136
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 sciencefloriejanemacaya1
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )aarthirajkumar25
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsSumit Kumar yadav
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfSumit Kumar yadav
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...ssifa0344
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfnehabiju2046
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxAleenaTreesaSaji
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksSérgio Sacani
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Sérgio Sacani
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Patrick Diehl
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​kaibalyasahoo82800
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhousejana861314
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...Sérgio Sacani
 

Recently uploaded (20)

Botany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdfBotany 4th semester series (krishna).pdf
Botany 4th semester series (krishna).pdf
 
Green chemistry and Sustainable development.pptx
Green chemistry  and Sustainable development.pptxGreen chemistry  and Sustainable development.pptx
Green chemistry and Sustainable development.pptx
 
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptxBroad bean, Lima Bean, Jack bean, Ullucus.pptx
Broad bean, Lima Bean, Jack bean, Ullucus.pptx
 
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatidSpermiogenesis or Spermateleosis or metamorphosis of spermatid
Spermiogenesis or Spermateleosis or metamorphosis of spermatid
 
Grafana in space: Monitoring Japan's SLIM moon lander in real time
Grafana in space: Monitoring Japan's SLIM moon lander  in real timeGrafana in space: Monitoring Japan's SLIM moon lander  in real time
Grafana in space: Monitoring Japan's SLIM moon lander in real time
 
Cultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptxCultivation of KODO MILLET . made by Ghanshyam pptx
Cultivation of KODO MILLET . made by Ghanshyam pptx
 
Boyles law module in the grade 10 science
Boyles law module in the grade 10 scienceBoyles law module in the grade 10 science
Boyles law module in the grade 10 science
 
Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )Recombination DNA Technology (Nucleic Acid Hybridization )
Recombination DNA Technology (Nucleic Acid Hybridization )
 
Botany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questionsBotany krishna series 2nd semester Only Mcq type questions
Botany krishna series 2nd semester Only Mcq type questions
 
Botany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdfBotany 4th semester file By Sumit Kumar yadav.pdf
Botany 4th semester file By Sumit Kumar yadav.pdf
 
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
TEST BANK For Radiologic Science for Technologists, 12th Edition by Stewart C...
 
A relative description on Sonoporation.pdf
A relative description on Sonoporation.pdfA relative description on Sonoporation.pdf
A relative description on Sonoporation.pdf
 
GFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptxGFP in rDNA Technology (Biotechnology).pptx
GFP in rDNA Technology (Biotechnology).pptx
 
Formation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disksFormation of low mass protostars and their circumstellar disks
Formation of low mass protostars and their circumstellar disks
 
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
Discovery of an Accretion Streamer and a Slow Wide-angle Outflow around FUOri...
 
Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?Is RISC-V ready for HPC workload? Maybe?
Is RISC-V ready for HPC workload? Maybe?
 
The Philosophy of Science
The Philosophy of ScienceThe Philosophy of Science
The Philosophy of Science
 
Nanoparticles synthesis and characterization​ ​
Nanoparticles synthesis and characterization​  ​Nanoparticles synthesis and characterization​  ​
Nanoparticles synthesis and characterization​ ​
 
Orientation, design and principles of polyhouse
Orientation, design and principles of polyhouseOrientation, design and principles of polyhouse
Orientation, design and principles of polyhouse
 
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
PossibleEoarcheanRecordsoftheGeomagneticFieldPreservedintheIsuaSupracrustalBe...
 

Lohans’ magic squares and the Gaussian elimination method

  • 1. Publisher Info. December 27, 2019 Lohans’ magic squares and the Gaussian elimination method Lohans de Oliveira Miranda1 ; Lossian Barbosa Bacelar Miranda2 1 Unisul University, Brazil; 2 IFPI, Brazil lohansmiranda@gmail.com; lossianm@gmail.com Abstract We have established a new general method to build doubly even magic squares. New types of magic squares are built. The method is aesthetic and easy to understand. Keywords: arithmetic progressions, doubly even magic squares, D¨urer’s magic square, Gaussian elimination method, parity. Acknowledgements Preliminaries Jacques Sesiano’s studies report that the general methods of constructing of doubly even magic squares were made by eastern mathematicians before of the eleventh century ([1], pp. 44-88). Here we present a new general method which builds, for each order, new types of magic squares hitherto unknown. These new magic squares have many symmetries, which are amazing. We use the definitions and notations of [2]. Let n = 4u, u ∈ N∗ , In = {1, 2, 3, ..., n} and cn = n3+n 2 the magic constant of n order. We define and denote: a) Ln =   l1,1 ... l1,n ... ... ... ln,1 ... ln,n   = (lu,v)u,v∈In , matrix of n order and of 2 × 2 blocks determined by Ls,r = (n − 2(s − 1))n − 2(r − 1) (2s − 1)n − (2r − 1) (2s − 1)n + (2r − 1) (n − 2s)n + 2r ; s, r ∈ In 2 (1) The row which contains (n − 2(s − 1))n − 2(r − 1) and (2s − 1)n − (2r − 1) it’s called first row and the row which contains (2s − 1)n + (2r − 1) and (n − 2s)n + 2r it’s called second row of the double row of s order. The column which contains (n − 2(s − 1))n − 2(r − 1) and (2s − 1)n + (2r − 1) it’s called first column and the column which contains (2s − 1)n − (2r − 1) c
  • 2. Publisher Info. December 27, 2019 and (n − 2s)n + 2r, it’s called second column of the double column of r order. b) Hn, matrix of n order generated from of Ln with the swaps (horizontal swaps): l2u−1,2u−1 with l2u−1,2u; ln−(2u−1)+1,2u−1 with ln−(2u−1)+1,2u; l2u−1,n−(2u−1)+1 with l2u−1,n−(2u−1); ln−(2u−1)+1,n−(2u−1)+1 with ln−(2u−1)+1,n−(2u−1), u ∈ In 4 . c) Nn = (Ns,r)s,r∈In/2 , determined by (inclined swaps) Ns,r =    (n − 2(s − 1))n − 2(r − 1) (2s − 1)n + (2r − 1) (2s − 1)n − (2r − 1) (n − 2s)n + 2r , if s, r have equal parities; (n − 2s)n + 2r (2s − 1)n − (2r − 1) (2s − 1)n + (2r − 1) (n − 2(s − 1))n − 2(r − 1) , if s, r have different parities. The main result Proposition 1. If in Hn we do the same procedure which turns Ln into Nn (item c) we get a matrix Mn, which is a magic square. Proof. In Ln the sums of the numbers of the first and second rows of the double row of s or- der are given respectively by n/2 r=1((n − 2(s − 1))n − 2(r − 1) + (2s − 1)n − (2r − 1)) = cn and n/2 r=1((2s−1)n+(2r −1)+(n−2s)n+2r) = cn. In Nn the sums of the numbers of the first and second rows of any double row of odd order s are given respectively by n/4 u=1[n−2(s−1)−4(u− 1)] + n/4 u=1[(2s − 1)n + 4u − 3] + n/4 u=1[(n − 2s)n + 4u] + n/4 u=1[(2s − 1)n − (4u − 1)] = cn and n/4 u=1[(2s−1)n−(4u−3)]+ n/4 u=1[(n−2s)n+4u−2]+ n/4 u=1[(2s−1)n+4u−1]+ n/4 u=1[(n− 2(s − 1))n − (4u − 2)] = cn. Similarly, in Nn, the same result also applies to all double rows of even orders. Using the same procedure as above we also prove that the sums of the numbers of all columns of Nn are equal to cn. Let r = n 2 − r + 1. So, from (1) results Ls,r = (n − 2(s − 1))n − (n − 2r) (2s − 1)n − (n − 2r + 1) 2sn − 2r + 1 (n − 2s)n + n − 2r + 2 . Note that [(n − 2(s − 1))n − 2(r − 1)] − [(n − 2s)n + 2r ] = −[(2s − 1)n − (2r − 1)] − [(2s − 1)n + (2r − 1)] and [(2s−1)n−(2r −1)]−[(2s−1)n+(2r − 1)] = −[(n − 2(s − 1))n − 2(r − 1)] − [(n − 2s)n + 2r], indicating that the inclined swaps, when done at Ln to generate Nn, do not change the sum of the numbers of the rows of Ln, which is cn. Horizontal swaps followed by inclined swaps (together) result on: inclined swaps, which cancel each other out (due to the fact that they transfer opposite values to the first row); swap (2s − 1)n − (n − 2r + 1) with (n − 2s)n + n − 2r + 2 and (n − 2(s − 1))n − 2(r − 1) with (2s − 1)n + (2r − 1). These two swaps imply transfers of opposites values to the first row of the double order s, whether r = s, r = n 2 − s + 1 or any other situation. Therefore, a sum of the c
  • 3. Publisher Info. December 27, 2019 numbers of any row of Mn is cn. Note that the numbers of the first column of the double column of odd order 2(u−1)+1 of Mn are the same as the first column of the double column of 2(u−1)+1 order of Nn. In fact, if in (1) we do s = r and establish only inclined swaps results Ns,s = (n − 2(s − 1))n − 2(s − 1) (2s − 1)n + (2s − 1) (2s − 1)n − (2s − 1) (n − 2s)n + 2s . If in (1) we do s = r and establish horizontal swaps followed by inclined swaps results Ms,s = (2s − 1)n − (2s − 1) (2s − 1)n + (2s − 1) (n − 2(s − 1))n − 2(s − 1) (n − 2s)n + 2s . Then in the block of (s, s) order there will be only the swaps of positions of the numbers (n − 2(s − 1))n − 2(s − 1) and (2s − 1)n − (2s − 1). Similarly in the double block of order (n/2 − (2(s−1)+1)+1, n/2−(2(s−1)+1)+1) there will only be swaps of positions between numbers, also. In the other positions the numbers of first column of Mn and of Nn are equal. The proof for the second column is identical. The proof for the columns of even order follows the same reason- ing. Then the sum of the numbers of any column of Mn is equal cn. Note that the numbers of the main diagonal and of the secondary diagonal remain unchanged by inclined swaps. Therefore, the diagonals of Mn and Hn are respectively equal. From (1) follows that the sum of numbers of the main diagonal of Ln is equal to n/2 s=1((n−2(s−1))n−2(s−1)+(n−2s)n+n−2s+2) = cn + n 2 . Doing r = n/2 − s + 1 in (1), we see that the sum of numbers of the secondary diagonal of Ln is equal to cn − n/2. On the other hand, the sum of the numbers of the main diagonal of Hn is equal to sum of the numbers of the main diagonal of Ln minus the sum of the values retired through of the horizontal swaps, namely, (cn + n 2 ) − n/4 u=1(((n − 2(u − 1))n − 2(u − 1)) − ((2u − 1)n − (2u − 1))) − n/4 u=1(((2u − 1)n − 2(u − 1)) − ((n − 2(u − 1))n − (2u − 1))) = cn. For secondary diagonal of Hn, the sum of the diferences between the horizontally exchanged numbers is equal to n/4 u=1((2(u − 1)n + (2u − 1)) − (n − (2u − 1)n + 2u)) + n/4 u=1(((n − (2u − 1))n + (2u − 1)) − (2(u − 1)n + 2u)) = −n 2 . This indicates that after the horizontal swaps the secondary diagonal is left with n/2 units more, therefore the sum of the numbers of the secondary diagonal of Mn is cn. Examples L4 =     16 3 14 1 5 10 7 12 8 11 6 9 13 2 15 4    , H4 =     3 16 1 14 5 10 7 12 8 11 6 9 2 13 4 15    , N4 =     16 5 12 1 3 10 7 14 2 11 6 15 13 8 9 4    , M4 =     3 5 12 14 16 10 7 1 13 11 6 4 2 8 9 15    . c
  • 4. Publisher Info. December 27, 2019 L8 =             64 7 62 5 60 3 58 1 9 50 11 52 13 54 15 56 48 23 46 21 44 19 42 17 25 34 27 36 29 38 31 40 32 39 30 37 28 35 26 33 41 18 43 20 45 22 47 24 16 55 14 53 12 51 10 49 57 2 59 4 61 6 63 8             , M8 =             7 9 52 5 60 13 56 58 64 50 11 62 3 54 15 1 34 23 21 27 38 44 42 31 25 48 46 36 29 19 17 40 32 41 43 37 28 22 24 33 39 18 20 30 35 45 47 26 57 55 14 59 6 51 10 8 2 16 53 4 61 12 49 63             . Some properties of the magic squares The magic squares Mn (for n 4 ), which we call Lohans’ magic squares,1 have the following properties: i) In each of the rows, columns and diagonals there are exactly n/2 odd numbers. The same goes for even numbers; ii) The odd numbers are in radial symmetry with respect to the intersection point of the diago- nals, as are the even numbers. The difference between two symmetrical odd numbers is a multiple of n, and the same is true for even numbers. We have mi,n+1−j − mn+1−i,j is divisible by n; iii) Both odd and even numbers are in bilateral symmetry with respect to the diagonals and the two orthogonal axes that make an angle of 45◦ to them; iv) The set of odd numbers corresponds to a set connected by paths. The same goes for even numbers; v) Every odd number is surrounded by even numbers and, also, every even number is sur- rounded by odd numbers; vi) For each n the sum of the corners of each of central squares is equal to S(n) = 2(n2 + 1); vii) For each n, Det     n2 − 2sn + 2n − 2r + 2 2sn − n − 2r + 1 n2 − 2sn + 2n − 2r 2sn − n − 2r − 1 2sn − n + 2r − 1 n2 − 2sn + 2r 2sn − n + 2r + 1 n2 − 2sn + 2r + 2 n2 − 2sn − 2r + 2 2sn + n − 2r + 1 n2 − 2sn − 2r 2sn + n − 2r − 1 2sn + n + 2r − 1 n2 − 2sn − 2n + 2r 2sn + n + 2r + 1 n2 − 2sn − 2n + 2r + 2     = 0, ∀s, r ∈ In/2 viii) From (1) we have mi,j + mi,n+1−j = n2 + 1, ∀i, j ∈ In; ix) For each n, Det(Mn) = 0. 1 Leisurely and contented, Happy and knowledgeable. Full of wit and humour, Exuberant with interest (http://www.buddhanet.net/e-learning/history/lohans12.htm). c
  • 5. Publisher Info. December 27, 2019 Observation. The item ix is obtained directly by the Gaussian elimination method. The results cited in viii and ix lead us to the following general result on matrices: Proposition 2. If M = (mij)n×n is a matrix of order n > 2 and in it the hypothesis mi,j + mi,n+1−j = k, ∀i, j ∈ In (k constant) is valid then Det(M) = 0. Proof. This result is also proved by the Gaussian elimination method. However, for even orders, this proposition can be proved easily using the fact that the determinant is an n-linear function in relation to the columns of the matrix. In particular, we can use it to prove that Det(Mn) = 0. Conclusion In the method the number 1 is never in the corners as usually happens in the other methods. The method is not a special case of any established methods. For the case n = 4 the magic square has all the beautiful properties of D¨urer’s magic square, differing only as follows: in D¨urer’s magic square we have 9 + 3 + 8 + 14 = 5 + 2 + 12 + 15 = 34 and in the case presented here we have ((13 + 5 + 1 + 9) + (16 + 12 + 4 + 8))/2 = 34. However, the sum of the common terms is 5 + 9 + 8 + 12 = 34. The aforementioned proposition establishes a new general method to build doubly even magic squares. The presented method has an easy analytical treatment and makes strong use of symmetry and parity. References [1] Jacques Sesiano. Magic Squares: Their History and Construction from Ancient Times to AD 1600. Springer Nature Switzerland AG 2019. Available on https://doi.org/10.1007/978-3-030-17993-9 [2] W. S. Andrews, Magic Squares and Cubes, Open Court, Chicago, 1908. Available on https://archive.org/details/magicsquarescube00andrrich/page/n6 c