×

# Magic Squares

Magic squares are simply delightful and fun to make. They have very special properties which I am sure will interest you.

An example of a 3 by 3 magic square is:

$$\begin{array} {c|c|c} 4 & 3 & 8\\ \hline 9 & 5 & 1\\ \hline 2 & 7 & 6 \end{array}$$

Can you see anything special? Well, each row, column and diagonal have the same sum. In this case, it is 15. For a 4 by 4 square, the sum is 34. For a 5 by 5 square it is 65.

Problem 1: Can you find a rule for the sum of an $$n$$ by $$n$$ magic square?

Give a solution to the problem in the comments below.

How may different magic squares which are 3 by 3 squares? 4 by 4? 5 by 5? If you want to answer these questions, answer them in the problems posted with this set.

Once you solve those, try to solve this question. How many unique magic squares are possible which have a side length of $$n$$ where $$n > 5$$?

Solve this and you may become one of the most famous mathematicians of all time. This is because no one has solved it.

Here is a 4 by 4 magic square but it is a special magic square.

$$\begin{array} {c|c|c|c} 7 & 12 & 1 & 14\\ \hline 2 & 13 & 8 & 11\\ \hline 16 & 3 & 10 & 5\\ \hline 9 & 6 & 15 & 4 \end{array}$$

Each row, column and diagonal have a sum of 34 but all the 2 by 2 squares have a sum of 34. These sort of magic squares are called most-perfect magic squares.

Problem 2: Determine how many different 36 by 36 most-perfect magic squares are possible.

Note by Sharky Kesa
3 years ago

Sort by:

For 4 by 4 : S-34=4q+r ..... I think it is just like a Sudoku that n appears once and only once in each row, column and section. Hmmmm Am I right ? please correct me . :D I'm interested in Magic Squares. Thankssss · 1 year, 10 months ago

It would also be helpful to provide a link from this problems back to this note. Staff · 3 years ago