Hidden pairs: two numbers, two cells

The Sudokumania team ·

Guide cover: Hidden pairs: two numbers, two cells

The naked pair starts from the cells: two cells that can only hold the same two numbers. The hidden pair starts from the numbers, and goes back to the question of scanning: where can a number go? When two numbers, in a row, can only go in the same two cells, those two cells are theirs. Like the naked pair, it doesn't write a number: it removes notes. But it removes them from the two cells of the pair, not from the others.

The idea

Suppose that in a row the 3 can only go in two cells, and the 8 can only go in those same two. You don't know yet which of the two will get the 3 and which the 8, but you know that the 3 and the 8 of the row will go there, one in each. So in those two cells there's no room for any other number: their other notes are removed, and the 3 and the 8 are left.

It's called “hidden” because at first you can't see it. The two cells have other notes too, for example the 3, the 5 and the 8 in one and the 2, the 3, the 6 and the 8 in the other, and those extra notes hide the pair. Once the extra notes are removed, the hidden pair becomes a naked pair. It works the same way in a column and in a box.

Both numbers must have exactly those two cells. If the 3 has two possible cells and the 8 has three, there's no pair: the 8 can still go in the third cell, and leave room for another number in one of the first two.

A step-by-step example

1 7 9 6 8 4 4 5 3 8 2 6 1 8 2 6 4 1 7 9 1 6 4 3 3 1 5 5 4 2 7 5 9 3 5 3 8 4 9 4 7 5 1 2 1 2 7 9 2 6 7 9 1 6 2 6
In row 8 the numbers 7 and 9 can only go in two cells, the same ones: the other notes of those two cells are removed.

Here's how you get there:

  1. Write the notes of the row you're looking at. In every empty cell mark the numbers that aren't already in its row, its column and its box.
  2. Take the missing numbers, one at a time. For each one, count in how many cells of the row it appears among the notes. The ones that appear in only two cells are the candidates for the pair.
  3. Look for two numbers with the same two cells. The same ones, both of them: if the 3 is in the second and the sixth cell, the 8 must also be in the second and the sixth, and in no other.
  4. Remove the other notes from those two cells. Only the two numbers are left. In the other cells of the row there's nothing to remove: the 3 and the 8 aren't in them anyway.

The removed notes are useful right away. A note removed from one of the two cells can leave a number with only one place in its column or its box: it's a hidden single. And the two cells, now with only two notes, are a naked pair: if another unit contains both of them, try there too.

In a box

In a box the hidden pair is found like a hidden single, with scanning: for a number you look at the rows and columns that already contain it, and see which cells of the box are left free. If two are left for the 3, and the same two are left for the 8, you have the pair, even without having written all the notes.

3 5 8 2 7 4 4 6 3 5 2 8 4 5 9 5 8 4 3 9 6 7 1 5 7 2 8 3 4 7 2 3 1 4 8 5 9 6 3 4 5 4 2 5 6 5 4 7 1 6 1 2 8 1 2 8 1 3 6 1 3 6
In box 3 the numbers 2 and 8 have only two possible cells, the same ones: the other notes there are removed.

If you don't use notes, at least write the two small numbers in those two cells: they remind you that nothing else goes there, and they save you from redoing the scan on the next move.

Naked or hidden

They're two ways of looking at the same unit. The naked pair looks at the cells: two cells with the same two notes and nothing else, and those two numbers are removed from the other cells. The hidden pair looks at the numbers: two numbers with the same two cells and no others, and the other notes are removed from those cells.

They often go together. In a unit with four empty cells, if two cells are a naked pair, the other two cells necessarily belong to the two numbers that are left: a hidden pair. The result is the same, and it's best to look for the one you see first. Usually the naked pair shows up in units with few empty cells, the hidden one in those with many: there the notes are many and there are no two cells with only two notes.

To spot it quickly

  • Count the places of each number, not the notes of each cell. That's the change of view you need: for each missing number, in how many cells of the unit it can go.
  • Start from the boxes with many empty cells: there scanning quickly finds the numbers with two places.
  • Mark the numbers with two places. When you find a second one with the same two places, the pair is complete.
  • After the pair go back to the singles: look at the row, the column and the box of the two cells, from which some notes have disappeared.

The most common mistakes

  • A number with three places. The 3 in two cells and the 8 in three aren't a pair: both numbers must have only the same two cells.
  • Two places, but not the same ones. The 3 in the second and the sixth cell, the 8 in the second and the seventh: no pair.
  • Removing from the wrong cells. It's the mistake of someone who already knows the naked pair. Here the notes are removed from the two cells of the pair, and nothing is removed from the other cells of the unit.
  • Notes that aren't up to date. An extra 8, still in a cell where it can no longer go, hides the pair from you. An 8 you forgot to write in a cell where it can go is worse: it makes you see a pair that isn't there, and you remove correct notes. Before removing anything, check again the notes of the two numbers in all the empty cells of the unit.
  • Three numbers with the same two cells. It can't happen: two cells can't hold three numbers. If you find it, there's a mistake further back, a wrong digit or a note erased by mistake: go back and check.

The same reasoning works with three numbers and three cells: it's the hidden triple, and it's the next step.

When you need it, on Sudokumania

Our solver, at every step, tries the techniques from the simplest: first the singles, then the intersections, then the pairs, the triples and the others. The hidden pair is the second one in the group of the hard techniques, right after the naked pair: the solver uses it only when it can't find a naked pair. A sudoku is hard when, to solve it, the solver uses a technique from this group at least once (pairs and triples, naked and hidden, the X-Wing and the Swordfish) and nothing harder. In easy and medium sudoku the hidden pair is never needed. In hard ones you look for it when the singles, the intersections and the naked pairs find nothing more.

More guides

Settings

Default level

It's the sudoku you find on the home page when you open the site.

Appearance

Theme
Text

While playing

Marks two equal numbers in the same row, column or box in red.

When you place a number, it disappears from the notes in its row, column and box.

Your time is still measured for your statistics.

Language