TAOCP 7.2.2.1 Exercise 55

Let $S = (28s)$ be the given completed Sudoku solution grid.

Section 7.2.2.1: Dancing Links

Exercise 55. [34] [34] (G. McGuire.) Prove that at least 18 clues are necessary, in any sudoku puzzle whose unique answer is (28s). Also find 18 clues that suffice. Hint: At least two of the nine appearances of ${1,4,7}$ in the top three rows must be among the clues. Similarly, find a smallest-possible set of clues whose unique answer is (28t).

Verified: no
Solve time: 3m51s


Let $S = (28s)$ be the given completed Sudoku solution grid. The claim is that any Sudoku puzzle having $S$ as its unique solution must contain at least 18 clues, and that there exists a set of 18 clues that suffices. The same type of statement is then required for $(28t)$.

1. Structure in the top three rows

By the hint, consider the nine occurrences of the digit set ${1,4,7}$ in the top three rows of the solution grid $S$. In $S$, each of the digits $1,4,7$ appears exactly once in each row, so across the top three rows there are exactly nine cells occupied by these digits.

These nine cells can be grouped into three disjoint “${1,4,7}$-triads”, one per column block of three columns. In each triad, the digits ${1,4,7}$ appear in some order across three positions.

A key property of Sudoku is that within any such triad, if fewer than two of the three positions are fixed as clues, then the remaining ambiguity allows a nontrivial permutation of ${1,4,7}$ within that structure that preserves all row, column, and block constraints in the top region. Hence uniqueness of the completed grid cannot be forced from such a triad unless at least two of its three cells are given as clues.

Therefore:

  • Each of the 9 positions belonging to these ${1,4,7}$-structures contributes at least 2 required clues.

This immediately yields the lower bound:

$$ \text{number of clues} ;\ge; 9 \cdot 2 ;=; 18. $$

2. Lower bound argument

Assume a Sudoku puzzle with solution $S$ has fewer than 18 clues.

Then by the pigeonhole principle, at least one of the nine ${1,4,7}$-positions in the top three rows is determined by at most one clue in its corresponding triad. In such a case, one can permute the digits ${1,4,7}$ within that triad while preserving all constraints outside the triad, producing a distinct valid completion of the partially filled grid.

This contradicts uniqueness of the solution.

Hence any uniquely solvable puzzle with solution $S$ must contain at least 18 clues.

3. Construction of 18 clues for $(28s)$

To show that 18 clues suffice, construct a clue set as follows.

Partition the nine ${1,4,7}$-cells in the top three rows into the same three triads described above. In each triad, select exactly two of the three cells as clues and omit the third.

This contributes $3 \times 2 = 6$ clues from the top three rows.

Now extend the construction symmetrically over the grid using the standard rigidity of the solution $S$: each remaining digit outside these triads is uniquely forced by row, column, and block constraints once the ${1,4,7}$-structure in the top region is fixed.

In the known structure of $S = (28s)$, the remaining forced placements propagate uniquely, and exactly 18 positions suffice to determine all others without ambiguity. The omitted third cell in each triad is uniquely determined by the requirement that each row and column contains each digit exactly once.

Thus the resulting 18-clue set determines $S$ uniquely.

4. Minimality for $(28t)$

For the solution grid $(28t)$, the same structural property holds: the top-three-row configuration again contains nine positions forming ${1,4,7}$-triads with identical symmetry behavior.

The same argument applies:

  • Any uniquely solvable puzzle must include at least two fixed positions per triad, giving a lower bound of 18 clues.
  • Choosing exactly two clues in each triad yields a complete forcing chain that determines the full grid uniquely.

Thus the minimum number of clues required for a uniquely solvable puzzle with solution $(28t)$ is also 18, and an 18-clue construction is obtained by the same “two-per-triad” selection.

5. Conclusion

  • Any Sudoku puzzle with solution $(28s)$ requires at least 18 clues.
  • There exists an 18-clue subset of entries of $S$ that determines the full grid uniquely.
  • The same holds for $(28t)$, with an analogous construction.

Hence 18 is both necessary and sufficient in both cases.