Naked and hidden pairs are the first technique that removes candidates instead of placing digits, and they are what gets you past the point where singles dry up. Both patterns live inside a single unit: one row, one column or one box.
A naked pair is two cells of a unit holding the same two candidates and nothing else. Those two digits must occupy those two cells in some order, so no other cell in the unit can use them.
A hidden pair is two digits that are legal in only two cells of a unit. Those cells have to take the two digits, so every other candidate sitting in them is dead and can be erased.
| Naked pair | Hidden pair | |
|---|---|---|
| What you spot | two cells with the same two candidates | two digits confined to the same two cells |
| What you erase | those digits from the rest of the unit | the other candidates inside the two cells |
| Easy to see | yes, the cells look identical | no, extra candidates disguise it |
| Gain | eliminations outside the pair | eliminations inside the pair |
The two are mirror images of each other. Clear the extras out of a hidden pair and what remains is a naked pair.
Naked pair in row 7:
c1 c2 c3 c4 c5 c6 c7 c8 c9
{2,6} {1,4,9} {2,6} [5] {1,4,6,9} [3] {1,4,7} [8] {4,7,9}
c1 and c3 both read {2,6}, so 2 and 6 are used up in row 7.
Remove 6 from c5 -> c5 becomes {1,4,9}
Hidden pair in box 1 (4 and 6 already placed):
{1,3,5,9} {3,5,7} {1,7,9}
[4] {3,5,8} {5,7,8}
[6] {2,3,8} {2,5,8}
1 is legal only in the two top corner cells, and so is 9.
Both cells reduce to {1,9}: drop 3 and 5 from the left one,
drop 7 from the right one.
Neither pair placed a digit, but the box now has two cells locked, which usually exposes a single on the next sweep.
{2,6} and {2,6,7} are not a naked pair. They may belong to a triple instead.Pairs become necessary around medium classic Sudoku and stay useful at every level above it. They are also the pattern that trains the habit behind triples, quads and every locked-set technique further up the ladder: stop reading cells, start counting digits.