← All projects / Every Repeated Digit

Every repeated digit, from 1 to 99999

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.

How the table is made

The 45 numbers

1, 11, 111, 1111, 11111, then 2, 22, 222 and so on up to 99999. Five lengths for each of the nine digits.

A family from each

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.

What was measured

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.

The table

NumberIts bitsLoopFavourite last digitsSecond-last digitUneven how deepBy the echo rulePrimes foundExpected

no echo: level in every place, or in every place after the last

What the table showed

exact

All 45 settle, each to its own shares

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.

exact

Two are perfectly level, even in the last digit

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.

exact

999 ends in 9 four times out of ten

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.

measured

Lopsided digits don't mean more primes

Where it led

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.

NumberThe block that repeatsResultWhy

The reason is doubling by hand

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.

There is a rule for every number

Every family has a depth, set by its block of bits, and one balance that decides whether it echoes. The rule, with its proof.

The lists go far beyond these eight

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.