In a magic NxN square, numbers from 1 to Nē are set so the numbers in each row, column, or major diagonal, have the same sum: the "magic constant".
What is the value of this constant, as a function of N?
The required value of this constant for N>=3 is N(N^2+1)/2.
Edited on May 26, 2023, 1:45 am