← All projects / Every Repeated Digit
Take every number made of one digit repeated, write it in binary, and send those bits on repeat. That gives 45 families. This is the table where eight of them stood out for leaving no echo in their digits, which is where the echo rule began.
1, 11, 111, 1111, 11111, then 2, 22, 222 and so on up to 99999. Five lengths for each of the nine digits.
Write the number in binary and send those bits over and over, one more bit per row. 9 is 1001, so its rows are 1, 10, 100, 1001, 10011, which in ordinary numbers are 1, 2, 4, 9, 19. The 666 family is built the same way from 666.
For each family: how many rows before its last two digits repeat, how often each digit turns up in the last place and the second-last, how many places stay uneven, and how many primes are in its first 3,000 rows.
| Number | Its bits | Loop | Favourite last digits | Second-last digit | Uneven how deep | By the echo rule | Primes found | Expected |
|---|
no echo: level in every place, or in every place after the last
Every one of them loops, because the bits repeat. The last two digits come round every 12 to 400 rows. But the shares they settle to are all different: some use four last digits, some use all ten.
The families from 9 (bits 1001) and from 2222 give every digit exactly 10% in every place looked at. Six more go level straight after the last digit: 1, 3 and 7, which are all the same all-ones family, and 33, 333 and 8888.
It's the most lopsided of the lot. The 9999 family ends in 9 29% of the time. The bits of 999 are 1111100111: nearly all ones, and a long run of ones keeps a number sitting on the same last digits.
Thirty-seven of the 45 echo: uneven in the last digit, uneven again in the second-last, and so on for ever, a little fainter each time. Eight don't. Asking why turned into a page of its own.
| Number | The block that repeats | Result | Why |
|---|
Each row is the row before, doubled, plus a bit. A doubled digit is even unless the digit on its right was 5 or more. So a lopsided last digit makes a lopsided second-last digit, and that passes up the number. The carry law.
Every family has a depth, set by its block of bits, and one balance that decides whether it echoes. The rule, with its proof.
Below 65,536 there are 5,504 numbers with no echo anywhere and 2,998 that are level after the last digit, and both lists go on for ever. The count.