sequence of numbers from 1 to n2, located on
the ruled square, so that the sum of the numbers in all the rows, columns and on both diagonals of the squares have the same value, and called the magic of the amount.
Formula magical amount
For each of n, where ‘n’ is the magic square, the value of the magic of the amount S can be determined by formula.
The sum of numbers in each line is equal to S, and lines of a total of ‘n’, it means that the sum of all numbers magic square is equal to n*S.
On the other hand, according to the formula for the sum of n terms of an arithmetical progression, we find that the same amount is equal to 1+2+3+...+n2= (1+n2) n2/2.
Equal these two values, we get n*S= (1+n2)n2/2.
Thus, if the number ‘n’ is specified, the number of S can be calculated by the formula S=n (n2 +1) /2=(3 +n)/2.
We write in the form of a the table of values of magical amounts for the first values of ‘n’.
Magic squares of order n (n<4)