Find the last number of a line
A line with one empty square gives its number away: the magic sum minus the numbers in the line. In a 3×3 square of 1 to 9 a row of 2, 7 and an empty square holds 15 − 9 = 6.
Place each number once so that every row, every column and both diagonals add up to the same magic sum.
The square has 3×3 to 6×6 squares. Each number goes in once: 1 to 9 in a 3×3 square, 1 to 16 in a 4×4 square, or another run of numbers that the page names.
Every row, every column and both diagonals add up to the same number, the magic sum: 15 in a 3×3 square of 1 to 9, 34 in a 4×4 square of 1 to 16.
A few numbers are given. Fill in the rest; every puzzle has exactly one solution.
Start with the first way and move on when it gives nothing new.
A line with one empty square gives its number away: the magic sum minus the numbers in the line. In a 3×3 square of 1 to 9 a row of 2, 7 and an empty square holds 15 − 9 = 6.
A row of a 4×4 square of 1 to 16 with 9, 12 and two empty squares needs 34 − 21 = 13 more. If only 2, 5, 8 and 11 are still free, the pair is 2 and 11 or 5 and 8; a column through one of the squares decides.
Every number goes in once. When a number fits no empty square but one, because every other line would miss its sum with it, it goes in that square.
In 5×5 and 6×6 squares a line may have three or four empty squares. List the sets of free numbers that add up to what the line is missing: a number that fits no set is out, and a number in every set belongs to the line.
The diagonals are lines too. A corner square sits on a row, a column and a diagonal, so three sums check it at once, and the middle of an odd square sits on four lines.


Who made Magic Squares, when and where, and its other names: puzzle types.
Print-ready Magic Squares books for Amazon KDP, every puzzle with its answer key.
Magic Squares book generatorJust one page? Free Magic Square Puzzle Generator