← All projects / Visualising the Echo

What an echo looks like

Send a number's bits on repeat, write each row as an ordinary number, and count how often each digit turns up in each place. If the counts are lopsided in the last digit, they're lopsided again in the next place, about five times fainter, and again in the one after. That fading copy is the echo. This page draws it.

One family, place by place

Each small chart is one place of the number: the last digit, the one before it, and so on. A bar shows how often that digit lands there. The dashed line is level, 10% for every digit.

share of each digitlevel

Touch a bar for its share.

The fade

How far each place is from level: the gap between its most common digit and its least common one. Each line on the scale is 10 times smaller than the one above, so a steady fade is a straight line.

this family5 times fainter each placeexactly level

Two echoes that cancel

The register for the 67s is built from two lanes. 5 rules out one power in every four, which as bits is 1011. 7 rules out one in every three, which is 110. Each of those echoes on its own. Lay one over the other, keeping a 1 only where both have one, and the echo is gone.

What cancels is the balance of 1s and 0s

A row ends in an odd digit exactly when its last bit is a 1. So the share of odd last digits is the share of 1s in the block: three quarters for the lane of 5, two thirds for the lane of 7. Together they leave exactly half the slots alive, so odd and even split evenly.

It isn't two echoes adding up to nothing

The combined block is a new family with its own tally, not the two tallies added. It comes out level because it is half 1s and 12 bits long, the case the no-echo rule picks out. Its number is 2,482.

One more lane and it's back

13 rules out one more slot in every twelve. That leaves five 1s where there were six, the balance is gone, and every place is lopsided again.

An echo you can predict: 666

666 in binary is 1010011010. Sent on repeat, its last two digits are a jumble. From the third place on, the echo follows a formula exactly: every even digit gets the same share, every odd digit gets the same smaller share, and the gap between them is 100 divided by 5, once for each place after the first.

gap at place k = 100 ÷ 5k − 1   so 4, then 0.8, then 0.16, then 0.032 ...

Why it can be predicted

Each row is the one before it, doubled. Double a number by hand and a digit comes out even unless a carry arrives, and a carry arrives exactly when the digit to its right was 5 or more. So the share of even digits in one place is the share of 0 to 4 in the place before it.

Why it shrinks by 5

0 to 4 holds three even digits and two odd ones. If a place leans 10 points toward even, its 0 to 4 share leans only 2 points, and that becomes the next place's lean. A fifth each time, for ever, never reaching zero.

Where it starts

The echo without a zero

Zero-free ten writes every number with the digits 1 to 9 and A for ten. Switch the charts at the top to zero-free digits and the same families are tallied in that spelling. Every family up to 4,095 was counted both ways.

The last digit doesn't change

A 0 is simply written A. In all 4,016 families the last digit's gap is the same in both spellings.

No family is level any more

In ordinary digits 386 families have no echo anywhere. Written zero-free, every one of them picks up a tilt somewhere. The family of 9 is level in the last two places and then, in the third, each even digit turns up 10.2% of the time and each odd one 9.8%.

The steady fade breaks

The family of 8 has gaps of 10, 2, 2/5, 2/25, 2/125 in ordinary digits. Zero-free it goes 10, 0, 2/5, 2/25, 0. The sizes are the same kind of number, but a place can come out level and the next be lopsided again. Only 16 of 3,179 keep a clean fade by 5.

The reason is a borrow

A zero-free digit is the ordinary digit, or one less when the digits below it are too small and something has to be borrowed. That happens about one time in ten and turns an odd digit into an even one. It isn't independent of the digit itself, so it can cancel a lean in one place and bring one back in the next.

The full comparison, with both spellings side by side, is on The Echo Without a Zero.