Chapter 29
A Number That Counts Itself
Fill ten boxes, labelled , with single digits so that the digit in box says how many times appears in the ten-digit string you have written. So if box holds a , the whole number must contain exactly two s.
Solution
There is exactly one such number: Reading it against its own boxes: box holds , and the number does contain six s; box holds , and there are two s; box holds , and there is a single ; box holds , and there is a single ; every other box holds , and those digits indeed do not appear.
A quick way to corner it is to notice that the ten box-entries must add up to , because together they count each of the number’s ten digits exactly once. Here , as it must. That balance condition, with the requirement that the entries describe themselves, leaves as the only possibility.