Read Books Online Free | Alphabetical Index

Magic constant

The magic constant of a magic square, an n-by-n matrix, is defined such that the sum of any row, column or main diagonal yields the same result, denoted M2(n). If the numbers in the magic square are 1, 2,..., n², then

.