Sudoku
Name:
Fill every empty square so that each row, each column and each 3 × 3 box holds the numbers 1 to 9, each once.
Sudoku: answers
Play one on screen
Tap a square, then a number. Pencil puts small notes in a square instead. Arrow keys move, and Delete clears.
How to play sudoku
A sudoku is a 9 × 9 grid split into nine 3 × 3 boxes, with some numbers already filled in. Fill every empty square so that each row, each column and each box holds the numbers 1 to 9, each once. There's no adding up: the numbers are only symbols, and letters or pictures would work the same way.
Every puzzle on this page has exactly one answer. That's checked by a program that tries every way of finishing the grid and stops if it finds a second one. So each square can be worked out from the others, and you never need to guess.
The small grids follow the same rule. A 4 × 4 grid has four 2 × 2 boxes and uses 1 to 4. A 6 × 6 grid has six boxes, each two rows high and three columns wide, and uses 1 to 6. They're a good start for children, and the easy ones need nothing more than the first two techniques below.
Solving techniques, from easy to expert
Naked single Easy
Look at one empty square and cross off every number already in its row, column and box. If only one number is left, it goes there. When a row, column or box has just one empty square, this is called a full house.
Hidden single Easy
Pick a number and a box, row or column that still needs it. If every square but one is ruled out for that number, it goes in that square, even though the square on its own could still take other numbers. Scanning a box for each number in turn finds most of these.
Pointing Medium
From here on you'll want pencil marks: the numbers each empty square could still be, written small. If, inside one box, a number's marks all sit in the same row (or column), the box's copy of that number must be in that line. So you can rub that number out of the rest of the line, outside the box.
Claiming Medium
The same idea the other way round. If, in a row or column, a number's marks all fall inside one box, then that box's copy of the number is in this line, and you can rub it out of the box's other squares.
Naked pair (and triple) Hard
Two squares in the same row, column or box that can only be the same two numbers must hold those two between them. Rub both numbers out of every other square in that row, column or box. Three squares sharing three numbers between them work the same way, even if no square has all three.
Hidden pair (and triple) Hard
If two numbers can only go in the same two squares of a row, column or box, those squares must hold them, so every other mark in those two squares can go. A hidden triple is three numbers confined to three squares.
X-Wing (and Swordfish) Expert
Take one number. If in two rows its marks are in only two squares each, and those squares are in the same two columns, the number is at opposite corners of that rectangle one way or the other. Either way each of the two columns gets its copy in those rows, so rub the number out of the rest of both columns. It works with columns and rows swapped too. A Swordfish is the same with three rows and three columns.
XY-Wing Expert
Find a square with two marks, X and Y (the pivot). Then find two squares it can see, one marked X and Z and the other Y and Z (the pincers). Whatever the pivot turns out to be, one pincer is Z, so any square that sees both pincers can't be Z.
How the puzzles are made and graded
Each puzzle starts as a complete, valid grid filled in a random order. Numbers are then taken out in pairs, each square with its partner turned half round the centre, which gives the symmetrical pattern printed sudoku usually has. After each removal the program checks that only one answer remains, and puts the pair back if not.
Then a second program solves the puzzle the way a person would, using the techniques above, always the simplest one that makes progress. The grade is the hardest technique it needed. Easy puzzles need only singles and keep 36 of the 81 numbers. Medium puzzles need pointing or claiming, or singles with 30 or fewer numbers given. Hard puzzles need a pair or triple. Expert puzzles need an X-Wing, Swordfish or XY-Wing. A puzzle that needs anything beyond that is thrown away, so every sheet can be solved by logic alone. The 4 × 4 and 6 × 6 grids come in easy and medium.
The sheet number is the seed for the random choices, so the same settings and number always give the same puzzles. Write it down, or read it off the foot of a printed page, and you can print the same sheet again later. The technique names follow HoDoKu's guide to solving techniques, linked under Sources.
Where sudoku comes from
The modern puzzle first appeared in 1979 in Dell Magazines in the United States, under the name Number Place, and was most likely devised by Howard Garns, a retired architect. The Japanese publisher Nikoli took it up in 1984 under a name meaning "the digits must be single", later shortened to sudoku.
The fewest givens a 9 × 9 sudoku can have and still have only one answer is 17. Gary McGuire, Bastian Tugemann and Gilles Civario showed by an exhaustive computer search, published in 2014, that no 16-clue puzzle exists.
Questions
Is it free to print for a class?
Yes. Print and copy as many as you like. The QR code at the foot of each page leads back here, and you can switch it off.
How do I print the same puzzles again?
Set the same grid, difficulty and puzzles a page, and type the sheet number from the foot of the page. The same settings and number always give the same puzzles.
Where are the answers?
On the last page, up to 12 to a page, numbered to match the puzzles. The numbers that were given are in black and the answers in grey. Untick Answer key if you'd rather print the puzzles alone.
What does large print change?
Bigger, bolder numbers and thicker lines, with at most two puzzles a page, so each grid fills more of the sheet.
Will it fit on A4 as well as US Letter?
Yes. Choose the paper before printing. The grids are sized to fit the shorter of the two sheets.
Can I play on my phone?
Yes. Under the printed pages there's a board for any puzzle on the sheet, with pencil marks and a Check button that shows wrong squares in red.
Sources
- Sudoku (rules; Number Place, Dell Magazines, 1979; Howard Garns; Nikoli, 1984; 4 × 4 and 6 × 6 variants), Wikipedia
- McGuire, Tugemann and Civario, There is no 16-Clue Sudoku (arXiv 1201.0749; Experimental Mathematics, 2014)
- HoDoKu solving techniques: singles
- HoDoKu solving techniques: locked candidates (pointing and claiming)
- HoDoKu solving techniques: naked and hidden subsets
- HoDoKu solving techniques: basic fish (X-Wing, Swordfish)
- HoDoKu solving techniques: wings (XY-Wing)
Added . Last updated and reviewed . What's new



