Introduction - If you have any usage issues, please Google them yourself
The array is 1, 2, 3 with natural numbers. N2 fills the positions of each element of the n order matrix, making the sum of the elements of each row, the sum of the elements of each row and the main diagonal elements equal. An odd order magic array is an algorithm that sets the number of natural numbers from the last line of the middle of the matrix and always rows to the right lower corner (that is, the next of Aij is Ai+1, j+1). But in the following four situations, it should be modified row number method.
(1) when row is finished (i.e. j=n+1), the first column is transferred.
(2) row row (i.e. i=n+1), then transfer to the first row.
(3) for An, the next n is always An, n-1;
(4) if Aij has been discharged into a natural number, then row Ai 1, j 2.