What is the equation for finding the magic constant of a magic square?

  • Thread starter Thread starter BobFijiwinkle
  • Start date Start date
  • Tags Tags
    Constant Magic
BobFijiwinkle
Messages
5
Reaction score
0
Hey all. I'm trying to convert a series which gives me the magic constant for a magic square into an equation. How would I go about doing this?

The series is:
\mbox{S}=\left[ \frac{n+1}{2}+\left( n-1 \right)n \right]
 
Physics news on Phys.org
What do you mean by the magic constant? The sum - so for a 3 x 3 from 1-9 you want 15?

Simply sum 1 to n2, then divide by n?
 
Yes, that's what I mean by the magic constant.

Yes, I know that, but I'm trying to derive the formula from the series to prove that that is correct.

BF
 
I'm not sure that it is. Plugging 3 into your formula gives 10, to say nothing of what happens if n is even.

What is the sum of 1 + 2 + 3 + ... a, where a is an integer?
 
Let me get something clear.

I'm trying to prove that the magic constant is

M_{2}\left( n \right)\; =\; \frac{n\left( n^{2}+1 \right)}{2}
 
Ahh, that looks a lot more like the formula I've got.

To explain where I'm coming from with my request for the sum of 1 + 2 + 3 + ... a (hint Gauss), if you sum these, then divide by the number of rows / colums you ought to get somewhere. I didn't want to say the sum of 1 to n2, in case it got confused as 1 + 4 + 9 etc.
 
Back
Top