magic constant
Given a magic square, magic cube, etc., the sum of any row, column or diagonal is called the magic constant of that magic square, cube, etc.
In the case of a standard magic square that uses the integers from 1 to , the magic constant is
while that for a magic cube is
We can then generalize to higher dimensions thus:
So, for dimension the magic constant is . For instance, a Franklin magic square () has magic constant .
In a trivial sense, an sudoku puzzle has a magic constant of .