JMC 2017 Q6
6. In a magic square, the numbers in each row, each column and the two main diagonals have the same total. This magic square uses the integers 2 to 10. Which of the following are the missing cells?

| 10 | 5 | |
| 8 | 4 | |
| 7 | 2 |
Junior Mathematical Challenge 2017, Question 6. © UK Mathematics Trust. Original paper on ukmt.org.uk
Answer: D
Let the total of each row, column and both diagonals be \(T\).
Note that 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 = 54. Therefore \(3T = 54\), that is \(T = 18\). It is clear that option D is the only option which makes each row, each column and both diagonals sum to 18.
| \(x\) | 10 | 5 |
| 8 | \(y\) | 4 |
| 7 | 2 | \(z\) |
Solution © UK Mathematics Trust, from the JMC 2017 solutions. Longer versions with investigations: Solutions and investigations (PDF).