Evan Tessell
Puzzle Math

Each Sudoku Cell Has Twenty Different Peers

Count the cells that share a row, column, or box without counting overlaps twice.

A cell's peers are the other cells that share its row, column, or box. A placed digit cannot appear in any of those peer cells. Counting them is a small exercise in handling overlapping groups.

There are eight other cells in the row and eight in the column. Those two groups do not overlap outside the starting cell, so they contribute sixteen peers. The box contains eight other cells, but four of them have already been counted: two in the same row and two in the same column.

Only the box's remaining four cells are new. The total is therefore 8 plus 8 plus 4, which equals 20. Adding 8 plus 8 plus 8 would count four cells twice and incorrectly give 24.

You can see the count on an empty grid. Mark a center cell, shade its row and column, then outline its box. Identify the four box cells that remain unshaded. Repeat with a corner cell. The shape moves, but the count stays the same.

This count has a practical use when updating candidate notes. After entering a digit, remove it from all peers, while leaving unrelated cells alone. You do not need to visit any peer twice just because it shares both a row and a box. The exercise also shows why a move affects a cross-shaped region plus a few additional box cells, rather than only its immediate neighbors.

Sources & notes

Original puzzle teaching and explanation by Evan Tessell.

How this site checks its content

Your privacy choices

Optional analytics can help us understand which pages are useful. It loads only after you accept. Advertising data stays off.

The games run in this tab and do not save your progress after a refresh. Privacy choices are saved on this browser only.

Read the privacy notice