TAOCP 7.2.2.1 Exercise 409
A $10 \times 10$ Hidato puzzle assigns each cell either blank or a number from ${1,2,\dots,100}$ such that every number in this set appears exactly once in the completed grid.
Section 7.2.2.1: Dancing Links
Exercise 409. ▶ [30] Can the first 10 clues of a $10 \times 10$ hidato puzzle be the first 20 digits of $\pi$?
Verified: yes
Solve time: 1m13s
Setup
A $10 \times 10$ Hidato puzzle assigns each cell either blank or a number from ${1,2,\dots,100}$ such that every number in this set appears exactly once in the completed grid. A clue fixes the value of a particular cell in advance. Therefore, any valid set of clues must assign pairwise distinct integers from ${1,\dots,100}$.
The problem asks whether the first $10$ clues of such a puzzle can equal the first $20$ digits of $\pi$, interpreted as integers placed as fixed entries in the grid.
The first $20$ decimal digits of $\pi$ are
$$ 3,1,4,1,5,9,2,6,5,3,5,8,9,7,9,3,2,3,8,4. $$
Solution
Let $S$ denote the set of integers appearing among the first $20$ digits of $\pi$. A necessary condition for the existence of a valid set of $10$ clues drawn from these digits is that $S$ must contain at least $10$ distinct elements, since each clue fixes a distinct value in a distinct cell.
We determine the distinct elements of the sequence
$$ 3,1,4,1,5,9,2,6,5,3,5,8,9,7,9,3,2,3,8,4. $$
The values that appear are
$$ 1,2,3,4,5,6,7,8,9, $$
and no other digit occurs. Hence $S = {1,2,3,4,5,6,7,8,9}$ and therefore $|S| = 9$.
Any choice of $10$ clues drawn from this sequence must assign values belonging to a set of size $9$. By the pigeonhole principle, at least two of the chosen clues must share the same value. This contradicts the defining property of Hidato clues, since each number in a valid $10 \times 10$ Hidato puzzle must occur at most once in the completed grid, and a clue fixes that occurrence uniquely.
Therefore no $10$ clues can be taken from the first $20$ digits of $\pi$ while remaining consistent with the requirements of a $10 \times 10$ Hidato puzzle.
This completes the proof. ∎
Verification
The argument depends only on two properties: that Hidato assigns distinct values from ${1,\dots,100}$ to all cells, and that the proposed clue set contains only the digits $1$ through $9$. The explicit enumeration of the first $20$ digits confirms that no $0$ appears and that the only possible values lie in a set of size $9$. Since $10$ distinct clues would require at least $10$ distinct values, the contradiction is unavoidable and does not depend on any additional structural properties of Hidato such as adjacency constraints.
Notes
The obstruction is purely cardinality-based and independent of the geometry of the grid or the Hidato adjacency rule. Any proposed set of $k$ clues drawn from a sequence of integers can only be valid if the sequence contains at least $k$ distinct values within the allowed numeric domain of the puzzle. In this case, the decimal expansion of $\pi$ over the first $20$ digits fails this condition before any combinatorial structure of the puzzle is considered.