Skip to content
Vamshi Jandhyala

Books · Number Puzzles

Chapter 29

A Number That Counts Itself

Fill ten boxes, labelled 0,1,2,,90, 1, 2, \dots, 9, with single digits so that the digit in box kk says how many times kk appears in the ten-digit string you have written. So if box 33 holds a 22, the whole number must contain exactly two 33s.

Solution

There is exactly one such number: 6210001000.6210001000. Reading it against its own boxes: box 00 holds 66, and the number does contain six 00s; box 11 holds 22, and there are two 11s; box 22 holds 11, and there is a single 22; box 66 holds 11, and there is a single 66; every other box holds 00, 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 1010, because together they count each of the number’s ten digits exactly once. Here 6+2+1+1=106 + 2 + 1 + 1 = 10, as it must. That balance condition, with the requirement that the entries describe themselves, leaves 62100010006210001000 as the only possibility.