Guides

Sudoku for beginners: a worked example

The hard part of Sudoku is knowing where to look first. Here we solve level 1 of SumGrid's Sudoku one forced step at a time, and show why each digit has to go where it does.

The puzzle

Fill the grid so that every row, every column and every 3×3 box holds the digits 1 to 9 once each. The digits already printed are the givens; you can't change them.

This is level 1 of SumGrid's Sudoku, the first puzzle in the level list and the same for every player. It has 40 givens and 41 empty cells, and like every SumGrid level it has exactly one solution.

4
6
9
8
1
1
7
4
2
5
8
3
7
1
5
7
9
8
1
9
2
3
7
1
9
8
4
9
5
2
2
1
6
9
4
5
2
3
7
6
Level 1: 40 givens, 41 empty cells.

To talk about cells, we use rows and columns: row 1 is the top row and column 1 is the left column. The boxes are numbered 1 to 9 from the top left, reading across like a page, so box 4 is the middle box on the left. In the diagrams below, givens are bold and the digits we place are blue. The digits placed in each step are shaded, and the caption names them.

Step 1: scan one box for one digit

Start with box 4 (rows 4 to 6, columns 1 to 3). It has no 1 yet. Look along the rows that pass through it:

That leaves row 5, where the box has two empty cells: columns 1 and 3. Column 3 already has a 1, in row 8. So the 1 goes in row 5, column 1.

This is scanning, also called cross-hatching. When a digit fits in only one cell of a box, row or column, that cell is a hidden single.

4
6
9
8
1
1
7
4
2
5
8
3
7
1
5
7
9
8
1
1
9
2
3
7
1
9
8
4
9
5
2
2
1
6
9
4
5
2
3
7
6
Step 1: the 1 goes in row 5, column 1.

Step 2: same box, another digit

Stay in box 4 and try 8. Row 4 has an 8 in column 5, and row 6 has an 8 in column 9. Once again only row 5 is open, and row 5 now has just one empty cell in the box: column 3. The 8 goes in row 5, column 3.

Box 4 gave two digits in a row for the same reason: rows 4 and 6 both hold a 1 and an 8, which pushed both digits into row 5. The box now has only three gaps left.

4
6
9
8
1
1
7
4
2
5
8
3
7
1
5
7
9
8
1
1
9
8
2
3
7
1
9
8
4
9
5
2
2
1
6
9
4
5
2
3
7
6
Step 2: the 8 goes in row 5, column 3.

Step 3: one cell with one answer

Now turn it round: instead of following a digit, look at one cell. Take the centre cell, row 5, column 5.

Between them, that's every digit from 1 to 9 except 5. So this cell must be 5. We didn't even need its box.

This is a naked single. Good cells to check are ones whose row and column are both fairly full, as here.

4
6
9
8
1
1
7
4
2
5
8
3
7
1
5
7
9
8
1
1
9
8
5
2
3
7
1
9
8
4
9
5
2
2
1
6
9
4
5
2
3
7
6
Step 3: the centre cell, row 5, column 5, is 5.

Step 4: chase the digit you just placed

The new 5 is in column 5, which runs through box 2 (top middle). Box 2 has three empty cells: row 2, column 6, and row 3, columns 5 and 6. Row 2 already has a 5, in column 9, and column 5 now has one too. Only row 3, column 6 is left, so it's 5.

The same 5 is in row 5, which runs through box 6 (middle right). Box 6 has five empty cells. Row 4 has a 5 in column 1, which rules out the box's two empty cells in row 4. The new 5 rules out its two empty cells in row 5. Only row 6, column 7 is left, so it's 5 as well.

Neither of these 5s could be placed at the start. Both needed the 5 from step 3.

4
6
9
8
1
1
7
4
2
5
8
3
7
1
5
5
7
9
8
1
1
9
8
5
2
3
7
1
5
9
8
4
9
5
2
2
1
6
9
4
5
2
3
7
6
Step 4: two more 5s, in row 3, column 6 and row 6, column 7.

Step 5: scan a column instead of a box

Scanning works on rows and columns as well as boxes. Column 8 has five empty cells, in rows 1, 2, 3, 4 and 9. Where can its 7 go? Rows 2, 3, 4 and 9 each already have a 7 (in columns 4, 3, 2 and 6). Only row 1 is free, so row 1, column 8 is 7.

Look at that cell on its own and it could be 3 or 7. It is the column, not the cell, that decides. That's what makes it a hidden single rather than a naked one.

4
6
9
8
1
7
1
7
4
2
5
8
3
7
1
5
5
7
9
8
1
1
9
8
5
2
3
7
1
5
9
8
4
9
5
2
2
1
6
9
4
5
2
3
7
6
Step 5: the 7 goes in row 1, column 8.

Step 6: a hidden single in a row

Row 1 now has three empty cells, in columns 2, 3 and 9, and it is missing 2, 3 and 5. Where does the 3 go? Columns 2 and 3 of row 1 sit inside box 1, which already has a 3 (row 3, column 2). So the 3 can only go in row 1, column 9.

Check the cell on its own and you get the same answer: its row, column and box already hold every other digit. Before step 5 neither check worked: row 1, column 8 was still open for the 3, and row 1 had no 7 yet. One placement often unlocks the next one in the same row.

4
6
9
8
1
7
3
1
7
4
2
5
8
3
7
1
5
5
7
9
8
1
1
9
8
5
2
3
7
1
5
9
8
4
9
5
2
2
1
6
9
4
5
2
3
7
6
Step 6: the 3 goes in row 1, column 9.

Step 7: finish the row

Row 1 has two cells left, in columns 2 and 3, and needs 2 and 5. Column 3 has a 5 at the bottom, in row 9, so row 1, column 3 can't be 5. The 5 goes in row 1, column 2, and the last cell, row 1, column 3, is 2.

4
5
2
6
9
8
1
7
3
1
7
4
2
5
8
3
7
1
5
5
7
9
8
1
1
9
8
5
2
3
7
1
5
9
8
4
9
5
2
2
1
6
9
4
5
2
3
7
6
Step 7: row 1 is complete, with 5 and 2 in columns 2 and 3.

Step 8: finish with singles

After seven steps, 32 empty cells are left. Every one of them falls to the same moves you have just used. Level 1 never needs notes, pairs or anything more advanced. If you fill every single you can see, then look again, the grid is done in three rounds.

If you want a place to carry on, try box 7 (bottom left). Scanning it gives four digits straight away: 3, 4, 7 and 9. For example, the 7: row 9 has a 7, column 2 has a 7 and column 3 has a 7, which rules out every empty cell of the box except row 7, column 1.

4
5
2
6
9
8
1
7
3
6
1
9
7
4
3
2
8
5
8
3
7
1
2
5
4
6
9
5
7
4
9
8
2
6
3
1
1
9
8
3
5
6
7
2
4
3
2
6
4
7
1
5
9
8
7
6
3
8
1
4
9
5
2
2
8
1
5
6
9
3
4
7
9
4
5
2
3
7
8
1
6
Solved: every row, column and box holds 1 to 9 once.

When you finish, check a few rows, columns and boxes. Each should hold 1 to 9 with nothing repeated.

What this example teaches

Harder puzzles often need notes and techniques such as pairs and pointing pairs. Our Sudoku strategy guide explains them in roughly the order you will meet them. Stuck on a Sudoku from somewhere else? The Sudoku solver and hint helper shows you just the next step.

Try it yourself

To play this exact puzzle, open the game, choose Sudoku, tap All levels and pick level 1. You can also print a sheet of Sudoku puzzles or play today's daily puzzles. When plain Sudoku feels easy, see how the same ideas work with sums in our Sum Sudoku (killer sudoku) worked example.

Practise in SumGrid