The Science: Math: Recreations: (Magic Square Recreations )

A Magic Square of order n is an arrangement of the numbers from 1 to n^2 (n-squared) in an n by n matrix. The sum of any row, any column, or any main diagonal must be the same. The smallest non-trivial case is of order 3. The same idea can be extended to other shapes such as stars, cubes, circles, and so on. These are called Magic objects. Magic Square Recreations Math Science.

In recreational mathematics, a magic square is an arrangement of distinct numbers (i.e., each number is used once), usually integers, in a square grid, where the numbers in each row, and in each column, and the numbers in the main and secondary diagonals, all add up to the same number, called the " magic constant . (wikipedia)