Hidden Pair

Last updated

Two digits can sometimes be placed in only two cells of a row, column or box. When that happens, those two cells must hold exactly those two digits, so every other candidate in them can go. The pair is hidden because the cells look untidy: each one may list four or five digits, and the digits that matter are buried among them.

It is the mirror of the naked pair. A naked pair removes its two digits from other cells. A hidden pair removes other digits from its two cells.

Hidden pair: the highlighted cells (r7c2 and r8c2) form the pattern. It removes 4 from r7c2, 5 from r7c2, 2 from r8c2 and 4 from r8c2.

Another example, in words

Take the central box, r4c4 to r6c6, and ask where 3 and 9 can go. Suppose the notes show 3 as a candidate only in r4c5 and r6c5, and 9 as a candidate only in those same two cells. Other cells in the box have lost 3 and 9 for other reasons, such as a 3 and a 9 in their rows.

Those two digits need two cells and have exactly two available. One of the cells gets the 3, the other gets the 9. Whatever else is written in r4c5 and r6c5 can therefore be erased. Say r4c5 had 1, 3, 5 and 9, and r6c5 had 3, 7 and 9. After the pass, r4c5 shows 3 and 9, and r6c5 shows 3 and 9. The 1, 5 and 7 are gone, and they may be exactly the digits that were hiding a single elsewhere.

What you have after the clean-up is an ordinary naked pair, so it can now be used to clear 3 and 9 from cells outside the box. Here the two cells share column 5, so the rest of column 5 loses its 3s and 9s too.

How to spot it

Count digit by digit within a unit. For each digit, list the cells in the unit where it is still a candidate. Look for two digits whose lists are the same two cells. That is the hidden pair.

With notes written out, a few signs help. A digit that fits in only two cells of a unit is the starting point. Find another digit with an identical pair of cells, and you are done. Digits that fit in three or more cells of the unit cannot be part of a hidden pair.

It is easiest to find in boxes and in rows or columns with many placed digits, where each digit has few spots left.

Common mistakes

The commonest one is to find two digits that share only one cell and call it a pair. Both digits must be limited to the same two cells, and no others, in that unit.

A second mistake is removing the pair’s own digits instead of the extras. The 3 and the 9 stay. Everything else in those cells goes.

A third is working from old notes. Hidden pairs depend on counting how many cells a digit can still occupy, and a stale candidate makes a digit look more flexible than it is.

When to use it

When singles, locked candidates and naked pairs are all exhausted. Hidden pairs mark the start of hard puzzles. They are slower to see than naked pairs, so check for the naked kind first, then count digits in units with a lot of notes. The same logic extends to hidden triples.

Hidden Pair exampleSudoku board for the Hidden Pair technique. Pattern cells: r7c2, r8c2. Removes 4 from r7c2, 5 from r7c2, 2 from r8c2, 4 from r8c2.9321765673829196731745389263927465186192374971285917723694524
Pattern diagram: outlined cells form the Hidden Pair pattern, crossed digits are removed.