Qm

Why the centre of a 3 by 3 magic square is always 5

The numbers 1 to 9 are arranged in a 3 by 3 grid so that every row, column and both diagonals add to the same total.

  1. What is that total?
  2. Prove that the centre square must contain 5.
  3. Which numbers can go in the corners?
Show a hint

Add up the four lines that pass through the centre: two diagonals, the middle row and the middle column. Every number is counted once, except the centre.

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Cut the clock face into three parts with equal sumsEight eights that add to a thousandThe magic sum of a 4 by 4 squareFour fours from zero to tenAdding 1 to 100 the way Gauss didWhy the square root of two is not a fraction
All questions →