The rules in one minute
Wikipedia states the classic goal this way: fill a 9 by 9 grid with digits so that each column, each row and each of the nine 3 by 3 subgrids contains all of the digits from 1 to 9. The setter provides a partly filled grid, and a well-posed puzzle has a single solution. The page also points out that no arithmetic is involved, so the digits could be replaced with any other symbols.
Smaller versions use the same idea. A 4 by 4 grid has 2 by 2 boxes and uses the digits 1 to 4. A 6 by 6 grid uses 1 to 6 with boxes that are two cells by three. The number grids on this site are of these two sizes, and they are a gentler way to learn than a full 9 by 9.
Why you rarely need to guess
Because a well-posed puzzle has exactly one solution, every empty cell has a correct answer that follows from the rules. The skill is finding which cell to fill first.
On this site, each generated grid is checked to have exactly one solution. In the site’s own tests, every sampled easy and medium grid could be finished using only the two techniques below. That is a statement about our puzzles, not a rule about all sudoku, and harder grids elsewhere can need more advanced methods.
Technique one: the naked single
The Sudoku Wiki calls the idea of finding the last possible number for a cell a naked single: if you listed the candidates for the cell, there would be only one. To find one, rule out every digit already in the cell’s row, column and box.
Here is a 4 by 4 puzzle. A dot is an empty cell.
| Col 1 | Col 2 | Col 3 | Col 4 | |
|---|---|---|---|---|
| Row 1 | 1 | . | . | 4 |
| Row 2 | . | 4 | 1 | . |
| Row 3 | 2 | . | . | 3 |
| Row 4 | . | 3 | 2 | . |
Look at row 1, column 2. Its row already has 1 and 4. Its column already has 4 and 3. Its box, the top-left 2 by 2, has 1 and 4. That rules out 1, 3 and 4, leaving only 2. It is a naked single, so write 2.
The same reasoning fills row 1, column 3 with 3, because its row now has 1, 2 and 4. You can finish the entire puzzle this way. The solution is 1 2 3 4, then 3 4 1 2, then 2 1 4 3, then 4 3 2 1, and each of the eight empty cells in turn is a naked single. We checked by exhaustive search that this puzzle has exactly one solution.
Technique two: the hidden single
Sometimes no cell has only one candidate, but a digit has only one place to go in a row, column or box. Sudoku Wiki describes these as hidden singles: other candidates are possible in that cell, but at least one candidate is unique to a particular row, column or box.
| Col 1 | Col 2 | Col 3 | Col 4 | |
|---|---|---|---|---|
| Row 1 | 1 | . | . | . |
| Row 2 | . | 4 | 1 | . |
| Row 3 | . | 1 | 4 | 3 |
| Row 4 | . | . | . | . |
Look at row 2. It holds 4 and 1, so it still needs a 2 and a 3. Row 2, column 1 could take either of them: its column holds only a 1, and its box holds only a 1 and a 4. But column 4 already has a 3 in row 3, so the 3 cannot go in row 2, column 4. The only place left for a 3 in row 2 is column 1. That is a hidden single, so write 3 there.
Row 2, column 4 then takes the 2. This puzzle also has exactly one solution, which we checked by exhaustive search.
A working order that saves time
- Pick the digit that appears most often in the grid. Fewer places remain for it, so it gets forced sooner.
- For that digit, look at each box and ask which cells are not blocked by a matching digit in the same row or column.
- When one box shows a single free cell, place the digit. Repeat for the next digit.
- Then scan for cells that have only one candidate left, the naked singles.
- After every placement, return to step 1, because each new digit blocks more cells.
The red warning on repeated numbers in the challenges here is free, so use it. A mistake found with Check my numbers costs 10 points, and a hint costs 15. Treat those as the price of learning, not as failure.
From small grids to bigger ones
The challenges here step up in size and in how few numbers are given. The numbers in the table come from the challenge pages.
| Challenge | Grid | Numbers given |
|---|---|---|
| Number grid starter | 4 by 4 | 10 |
| Number grid | 4 by 4 | 8 |
| Six by six, easier | 6 by 6 | 22 |
| Six by six, medium | 6 by 6 | 18 |
| Six by six, harder | 6 by 6 | 14 |
Fewer given numbers means each placement depends on more earlier ones, so a mistake travels further. On the larger boards, the only extra care is the box shape: it is two rows tall and three columns wide, and the thick lines on the grid mark it.
What puzzles like this train, and what they do not promise
Sudoku is a tidy exercise in deduction. Each step is a small argument: these digits are ruled out, so this one must go here. That is the same kind of reasoning described in what is logical reasoning?
We do not claim that solving sudoku makes you smarter in general. It makes you better at sudoku, and it can be satisfying for its own sake. For a general approach to problems that do not fit a known technique, see how to improve your problem-solving skills.
Sources and further reading
- Wikipedia: Sudoku: The rules of the classic game, the idea of a well-posed puzzle with a single solution, and the smaller 4 by 4 and 6 by 6 variants.
- Sudoku Wiki: Getting Started: Introduces the naked single and hidden single techniques.