T TestsWorld
Lesson 5 of 10 Grids and magic squares ⏱ 4 min

Grids with given sums

🤔
Think first
Why do the three row sums of a 1–9 grid always add to the same total?
🎯 In this lesson you'll learn
  • ✓Fill grids to match given sums
  • ✓Spot impossible sums

Fill a 3 × 3 grid with the numbers 1 to 9, each once. The circles outside show the sums of each row and each column.

sum
4 7 5 16
6 1 2 9
3 9 8 20
13 17 15

Impossible grids: the smallest possible row sum is 1 + 2 + 3 = 6 and the largest is 9 + 8 + 7 = 24. A grid asking for a sum of 5 or 26 can never be filled.

Kishor and Vidya's discovery: the three row sums always add to 45, and so do the three column sums (so all six circles add to 90). Why? The row sums together count every number once:

📌

1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 = 45

Book puzzles solved: rows 13, 14, 18 and columns 24, 9, 12 can be filled as 9 1 3 / 8 2 4 / 7 6 5. Rows 24, 15, 6 and columns 12, 16, 17: 7 8 9 / 4 6 5 / 1 2 3.

4756123981692013171516 + 9 + 20 = 4513 + 17 + 15 = 451 + 2 + … + 9 = 45

Tap the diagram to enlarge it

Together the row sums count every number from 1 to 9 once, so they total 45.
📌 Remember these
  1. Row sums total 45
  2. Smallest row sum 6
  3. Largest row sum 24
✅ Quick check
← →