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

  • Context: Undergrad 
  • Thread starter Thread starter BobFijiwinkle
  • Start date Start date
  • Tags Tags
    Constant Magic
Click For Summary
SUMMARY

The magic constant of a magic square can be derived using the formula M(n) = n(n² + 1) / 2, where n represents the order of the magic square. This formula accurately calculates the sum of each row, column, and diagonal in a magic square. The discussion clarifies that the magic constant for a 3x3 magic square, which includes numbers from 1 to 9, is 15. The derivation involves summing integers from 1 to n² and dividing by the number of rows or columns.

PREREQUISITES
  • Understanding of magic squares and their properties
  • Basic knowledge of algebra and summation formulas
  • Familiarity with the concept of integer sequences
  • Knowledge of mathematical induction for proofs
NEXT STEPS
  • Study the derivation of the formula for the magic constant in detail
  • Explore the properties of different orders of magic squares
  • Learn about the historical context of magic squares, including Gauss's contributions
  • Investigate variations of magic squares and their applications in combinatorial design
USEFUL FOR

Mathematicians, educators, students studying combinatorial mathematics, and anyone interested in the properties and applications of magic squares.

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.
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 68 ·
3
Replies
68
Views
12K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 15 ·
Replies
15
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 17 ·
Replies
17
Views
5K
  • · Replies 2 ·
Replies
2
Views
1K
  • · Replies 2 ·
Replies
2
Views
3K