The method of constructing even order magic square (n = 4 * m)

For the number n divisible by 4, we can construct magic square as follows:

1. From left to right, from the first line to the nth line, in the order of 1, 2 And n ^ 2 fills this matrix.

2. Divide the above matrix into m ^ 2 small 4×4 matrices. For the number a on the two diagonals of each 4×4 small matrix, replace a with the complement of a, the square of N + 1-A.

That is: A & lt; – n ^ 2 + A-1

Read More: