Mean Grids: (i) Fill a 3 × 3 grid with 9 distinct numbers so that the average along each row, each column and each diagonal is 10. (ii) Can the grid be filled with a few numbers changed and still give an average of 10 in all directions?
Hint. An average of 10 across three cells is the same as a total of 30 across those cells.
Translate averages into totals. Three cells averaging 10 must sum to 3 × 10 = 30. So the task is to build a 3 × 3 grid in which every row, every column and both diagonals add to 30 — that is exactly a magic square with magic constant 30.
One solution with nine distinct numbers.
| 7 | 12 | 11 |
|---|---|---|
| 14 | 10 | 6 |
| 9 | 8 | 13 |
Checking every line: · Rows: 7 + 12 + 11 = 30, 14 + 10 + 6 = 30, 9 + 8 + 13 = 30 ✓ · Columns: 7 + 14 + 9 = 30, 12 + 10 + 8 = 30, 11 + 6 + 13 = 30 ✓ · Diagonals: 7 + 10 + 13 = 30, 11 + 10 + 9 = 30 ✓ All nine entries 6, 7, 8, 9, 10, 11, 12, 13, 14 are distinct ✓
How it was built. Take the standard 3 × 3 magic square using 1 to 9 (magic constant 15) and add 5 to every entry. Adding a fixed number to every value adds that number to every average, so every line average moves from 5 to 10 — the rule from the start of the chapter doing real work.
(ii) Yes, endlessly many grids work. The centre cell is forced, but everything else has freedom.
Why the centre must be 10: the four lines through the centre (middle row, middle column and both diagonals) together cover the centre four times and every other cell exactly once. Their totals give 4 × 30 = 120 = (sum of all nine cells) + 3 × (centre). The three rows give the sum of all nine cells as 3 × 30 = 90, so 120 = 90 + 3 × centre, forcing centre = 10.
Making new grids: every 3 × 3 magic square with constant 30 has the shape
| 10 + a | 10 − a − b | 10 + b |
|---|---|---|
| 10 − a + b | 10 | 10 + a − b |
| 10 − b | 10 + a + b | 10 − a |
for any two numbers a and b. Taking a = 4, b = 1 gives the grid above; taking a = 5, b = 2 gives
| 15 | 3 | 12 |
|---|---|---|
| 7 | 10 | 13 |
| 8 | 17 | 5 |
which also has every line summing to 30 ✓. Choosing a = b makes some entries repeat, so distinct entries just need a ≠ b and both non-zero.
✦ (i) One answer is 7, 12, 11 / 14, 10, 6 / 9, 8, 13 — every row, column and diagonal sums to 30, so every average is 10. (ii) Yes, infinitely many grids work, but the centre cell must always be 10, because the four lines through the centre force it.
