← All projects / The Proofs

The proofs, written out

Most of this site is counting. These are the results that don't depend on counting: arguments that settle a pattern for every place and every row, for ever. Each one is dated and linked to the public record of when it was first posted.

What's proved here

A caution that belongs at the top. These are my own write-ups. Every step has been checked against exact computer counts, listed under each proof. They have not been read by a mathematician, and results this elementary may well be known already. If you find a hole, it's a real one and I'd want to know.

The words used

"Place 1" is the last digit of a number written in ordinary digits, place 2 is the digit before it, and so on. A place is "level" when each of the ten digits turns up there equally often over a whole cycle of the family. An "ending" is the last few digits of a number.

The one fact borrowed from outside

Take the powers of two and look only at their remainders after dividing by a power of five. They run through every remainder that isn't a multiple of 5, each exactly once, before repeating. That's a standard result about the number 2. Everything else below is built up from scratch.

The endings of a power of two are perfectly level

Written 1 December 2026First posted 1 Dec 2026, 21:37 (Melbourne time)public record 66759af

Fix a number of places, j. Look at the last j digits of 2k for every k from j upwards. They run through a fixed set of endings, each once per cycle, and in that set every digit is equally common in every place from the second to the j-th.

  1. What the endings are. Once k is at least j, 2k divides by 2j, so its last j digits do too. And a power of two never divides by 5. So every ending has the form 2j × t, where t is below 5j and isn't a multiple of 5.
  2. Every one of them turns up. By the borrowed fact, the remainder of 2k after dividing by 5j runs through every value that isn't a multiple of 5, once each. An ending is pinned down by two things: that it divides by 2j, and its remainder by 5j. So each ending of that form appears exactly once per cycle. There are 4 × 5j−1 of them.
  3. The j-th place. The ending 2j × t has digit d in place j when it lies between d × 10j−1 and (d + 1) × 10j−1. Dividing through by 2j, that means t lies in a stretch of length 5j−1 ÷ 2.
  4. Pair the digits up. Digits 0 and 1 share the stretch of t from 0 up to 5j−1. Digits 2 and 3 share the next stretch of the same length, and so on. Inside each stretch, write h = (5j−1 − 1) ÷ 2. The even digit gets the first h + 1 values of t and the odd digit gets the remaining h.
  5. Count, leaving out multiples of 5. The even digit's values hold (5j−2 + 1) ÷ 2 multiples of 5, which leaves 2 × 5j−2. The whole stretch has 4 × 5j−2 values that aren't multiples of 5, so the odd digit also gets 2 × 5j−2. Every digit gets the same count, so place j is level.
  6. The places below it. Cut an ending down to its last i digits and you get one of the endings for i places. Each of those is the cut-down version of exactly 5j−i longer ones. So place i inherits the level split it had when it was the top place.

That completes it.

Checked by computer

For 2 to 8 places I listed every ending the powers of two actually reach and compared the list with the description in step 1. They were identical every time, and the digit counts in the top place came out equal: 2 each for two places, up to 31,250 each for eight.

The 97s are flat past the last digit, for ever

Written 1 December 2026First posted 1 Dec 2026, 21:37 (Melbourne time)public record 66759af

Take any odd number B that isn't a multiple of 5, and the family B × 2k + 1. Every place from the second onwards is level. The 97s are the case B = 3, and the 1null1s are B = 1.

  1. Multiplying by B only shuffles the endings. B shares no factor with 10. So multiplying by B sends multiples of 2j to multiples of 2j, sends numbers that aren't multiples of 5 to numbers that aren't, and never sends two different endings to the same one. The endings of B × 2k are therefore the same set as the endings of 2k, each still appearing once per cycle.
  2. So before the plus 1, every place past the last is level. That's the result above.
  3. Adding 1 never carries. B × 2k is even and not a multiple of 5, so it ends in 2, 4, 6 or 8. Adding 1 gives 3, 5, 7 or 9 and leaves every other digit alone.
  4. So after the plus 1, every place past the last is still level.

That completes it.

Checked by computer

All 800 families of this kind with B under 2,000 are exactly level in places 2 to 9, counted over a whole cycle of 1,562,500 numbers each. The 97s, the 1null1s, B = 7 and B = 1,999 were also counted exactly through place 10.

The 67s are flat past the second place, for ever

Written 1 December 2026First posted 1 Dec 2026, 21:37 (Melbourne time)public record 66759af

In the family 2k + 3, every place from the third onwards is level. In the second place each odd digit turns up 15% of the time and each even digit 5%.

  1. When can the plus 3 change place j? Only if a carry reaches it. That needs the j − 1 digits below it, plus 3, to come to 10j−1 or more. So those lower digits would have to read 99...97, 99...98 or 99...99.
  2. From the third place on, they can't. For j at least 3, the lower digits of a power of two form a multiple of 2j−1, which is a multiple of 4. But 10j−1 is itself a multiple of 4, so the three numbers just below it leave remainders 3, 2 and 1 when divided by 4. None of them is a multiple of 4.
  3. So no carry ever reaches the third place or beyond. Those places hold exactly what they held in 2k, and that was level.
  4. The second place. The two-digit endings of a power of two are the twenty multiples of 4 that aren't multiples of 5: 04, 08, 12, 16, 24 and so on, with each tens digit appearing twice. Adding 3 carries only when the number ends in 8. That happens once for each even tens digit (08, 28, 48, 68, 88) and never for an odd one. Each of those five moves from an even tens digit to the odd one above it.
  5. The result. Each even tens digit is left with 1 ending out of 20, which is 5%. Each odd one now has 3 out of 20, which is 15%.

That completes it.

Checked by computer

Counted exactly over a whole cycle of 7,812,500 numbers: the 67s are uneven in places 1 and 2 and exactly level in places 3 to 10. The second place came out at 15% and 5% as stated.

Every cousin of the 67s stops at the bit length of the number added

Written 1 December 2026First posted 1 Dec 2026, 21:37 (Melbourne time)public record 66759af

Take any positive whole number c and the family 2k + c. If 2j−1 is bigger than c, then place j is level. So the pattern never reaches deeper than the number of binary digits in c.

  1. The largest the lower digits can be. The j − 1 digits below place j form a multiple of 2j−1 that is less than 10j−1. Since 10j−1 is itself a multiple of 2j−1, the largest they can be is 10j−1 − 2j−1.
  2. So a small c can't make a carry. If c is less than 2j−1, the lower digits plus c come to less than 10j−1. Nothing carries into place j.
  3. And c has no digit of its own there. A c that small is also less than 10j−1, so it doesn't reach place j.
  4. So place j is untouched and holds what it held in 2k, which was level.

That completes it. For c = 3 it gives the third place onwards, matching the proof above.

Checked by computer, and what isn't proved

The proof gives a limit, not the exact depth. For all 256 odd c under 512 I measured the deepest uneven place and it equalled the number of binary digits in c every time. I haven't proved it always reaches the limit. The seven cousins that matched the 67s nine places deep, such as c = 637, are ten bits long, and at the tenth place they do go uneven.

The 0101 and 1010 echo never stops

Written 1 December 2026First posted 1 Dec 2026, 21:56 (Melbourne time)public record 69b7b62

In the 0101 family, (4k − 1) ÷ 3, every even place from the second on is uneven by exactly 2 endings, and every odd place from the third on is exactly level. In the 1010 family it's the other way round. The gap at place j is 100 ÷ 5j−1 percent, so it shrinks 25 times every two places and never reaches zero.

  1. The binary end is fixed. Call the number y. Then 3y + 1 = 4k, which divides by 2j once k is big enough. That pins down the last j bits of y: they're the 0101 pattern. Call that j-bit number a.
  2. Which remainders the powers of 4 reach. The powers of 4 are every second power of 2. So of all the remainders by 5j that aren't multiples of 5, they reach exactly half, once each per cycle. Every power of 4 is 1 or 4 modulo 5, because they alternate 4, 1, 4, 1. And exactly half of the allowed remainders are 1 or 4 modulo 5. Two sets of the same size, one inside the other, are the same set: the powers of 4 reach precisely the remainders that are 1 or 4 modulo 5.
  3. What that makes y. If 4k is 1 modulo 5 then y is 0 modulo 5. If it's 4 then y is 1. So y is always 0 or 1 modulo 5, and every remainder by 5j of that kind is reached.
  4. So the endings are known exactly. Putting the last two steps together, the last j digits of the 0101 family are precisely the numbers below 10j that end in the bit pattern a and are 0 or 1 modulo 5. Each appears once per cycle, and there are 2 × 5j−1 of them.
  5. Count the top place. Write each ending as a + 2j × t. As in the first proof, the digits pair up, and each pair shares a stretch of 5j−1 values of t. With h = (5j−1 − 1) ÷ 2, the even digit gets the first h + 1 values when j is even and the first h when j is odd. Which it is comes down to whether a is below or above half of 2j, and the 0101 pattern is about a third of it on even j and two thirds on odd j.
  6. Only t modulo 5 matters. Whether an ending is 0 or 1 modulo 5 depends only on t modulo 5, and exactly two of the five remainders qualify. The number h always leaves remainder 2 when divided by 5. So in the even digit's share, the remainders 0, 1 and 2 each come up one more time than 3 and 4 do (on even j), or just 0 and 1 do (on odd j).
  7. The difference is 0 or 2. If both qualifying remainders are among the favoured ones, or neither is, one digit of each pair gets exactly 2 more endings than the other. If exactly one is favoured, they tie.
  8. Which case, for every j. The two qualifying remainders depend only on j modulo 4, so there are four cases to work through. On even j they come out as 0 and 1, both favoured: a gap of 2. On odd j they come out as 0 and 2, and only 0 is favoured: a tie. That's every j from 2 upwards.
  9. The 1010 family is twice the 0101 family. Its endings carry the 1010 bit pattern and are 0 or 2 modulo 5. The same count gives a gap of 2 on odd places from the third on, and a tie on even places.
  10. Why it never dies. The gap is always 2 endings, but the number of endings grows five times with each place. Two out of 2 × 5j−1 is 100 ÷ 5j−1 percent: 20, then 0.8, then 0.032, for ever smaller and never nothing.

That completes it.

Checked by computer

For 2 to 8 places I listed every ending both families reach and compared them with the description in step 3: identical each time. Exact counts over whole cycles gave gaps of 20, 0.8, 0.032, 0.00128 and 0.0000512 percent for 0101, and 4, 0.16, 0.0064 and 0.000256 for 1010, which is the formula at every place. Counting straight from the description, the difference is 2, 0, 2, 0 without a break out to 60 places.

In the 369 with the 1 at the end, every number ends at 30, 33, 63 or in the signal loop

Written 3 December 2026First posted 3 Dec 2026, 18:58 (Melbourne time)public record 916d416

The words used

Write a number in binary and number its places from the right: place 1 is the 1's place. Now line it up with the 1's place last: the bit from place 2 comes first, then place 3, and so on, and the bit from place 1 goes at the end. Read that string in the 369: the first position is worth 3, the second 6, the third 9, and so on, and the positions holding a 1 are added. For a number L bits long that is 3 × (1 × bit 2 + 2 × bit 3 + ... + (L − 1) × bit L + L × bit 1). Call the answer the reading. The page for all of this is The 1 at the End.

Start from any whole number, take its reading, take the reading of that, and keep going. The chain always ends in one of four places: it stops on 30, on 33 or on 63, each of which is its own reading, or it goes round 27, 39, 42 for ever. Nothing else is possible.

  1. The most a string can read. A string L long reads highest when every position holds a 1. That is 3 × (1 + 2 + ... + L), which comes to 3 × L(L + 1) ÷ 2.
  2. The least a number can be. A number L bits long has a 1 in its top place, so it is at least 2L−1.
  3. At 8 bits the number wins. For L = 8 the most the string can read is 3 × 36 = 108, and the number is at least 128.
  4. And keeps winning. Going from L to L + 1 doubles 2L−1. It multiplies 3 × L(L + 1) ÷ 2 by (L + 2) ÷ L, which is less than 2 once L is more than 2. So if the number is ahead at one length it is ahead at the next. From 8 bits up, every number is bigger than its reading.
  5. So every chain comes down below 128. While a chain is at 128 or more, each step makes it strictly smaller. It can't shrink for ever, so it drops below 128.
  6. And stays there. A number below 128 has at most 7 bits, so it reads at most 3 × 28 = 84. Once a chain is below 128 it never leaves.
  7. Below 128 there are only so many numbers. A chain that stays among 127 numbers must come back to one it has visited, and from then on it repeats. So every chain ends by stopping or looping, and every stop and every loop lies below 128.
  8. Follow all 127. Taking each number from 1 to 127 in turn and following its chain gives exactly four endings: 30, 33, 63 and the loop 27 → 39 → 42 → 27.

That completes it.

Checked by computer

Step 8 is a finite check and was done by program: tools/oneend_shapes.py follows all 127 chains and stops with an error if any ending other than those four turns up. The comparison in steps 3 and 4 was also checked directly for every length from 8 to 400 bits. Separately, every number up to a million was followed, and all of them end in one of the four.

Three shapes read as themselves, each at one length only

Written 3 December 2026First posted 3 Dec 2026, 18:58 (Melbourne time)public record 916d416

In the 369 with the 1 at the end, a number that is all 1s in binary reads as itself only when it is 63. A number that is all 1s followed by a 0 reads as itself only when it is 30. A number with a 1 at each end and 0s between reads as itself only when it is 33.

  1. All 1s. The number is 2L − 1. Every position of its string holds a 1, whichever way it is lined up, so it reads as 3 × L(L + 1) ÷ 2. For L from 1 to 7 the readings are 3, 9, 18, 30, 45, 63, 84 and the numbers are 1, 3, 7, 15, 31, 63, 127. They agree at L = 6 only.
  2. Past 7 it can't happen again. At L = 7 the number, 127, is ahead of the reading, 84. Adding a bit more than doubles the number, and multiplies the reading by (L + 2) ÷ L, which is less than 2. So the number stays ahead for good.
  3. All 1s then a 0. The number is 2L − 2. Its 1's place holds the 0, and that goes to the end, so the string is L − 1 ones and then a 0. It reads as 3 × (L − 1)L ÷ 2. For L from 2 to 6 the readings are 3, 9, 18, 30, 45 and the numbers are 2, 6, 14, 30, 62. They agree at L = 5 only, and from L = 6 the number is ahead and stays ahead for the same reason.
  4. A 1 at each end. The number is 2L−1 + 1. Its top 1 lands in position L − 1 of the string and its bottom 1 goes to position L. It reads as 3 × (L − 1) + 3 × L, which is 3 × (2L − 1). For L from 2 to 7 the readings are 9, 15, 21, 27, 33, 39 and the numbers are 3, 5, 9, 17, 33, 65. They agree at L = 6 only. After that the reading goes up by 6 each time while the number nearly doubles, so they never meet again.

That completes it.

Checked by computer, and what isn't proved

The three formulas were compared with the numbers by exact arithmetic for every length up to 60 bits, and they agree only where stated. The same was done with 3 replaced by every other step from 1 to 200. Besides 1 and 3, only the steps 2, 5, 6, 27 and 105 have even one of the shapes reading as itself, and 3 is the only step above 1 with all three. That part is a count, not a proof: I haven't shown it for steps beyond 200.

The Thue-Morse family ends in six digits twice as often as the other four

Written 4 December 2026First posted 4 Dec 2026, 00:55 (Melbourne time)public record 2752427

Write the Thue-Morse bits, 1001 0110 0110 1001 and so on, one more bit on each row, and read each row as an ordinary number. In the first N rows, for every N that is a multiple of 16, the last digit is 0, 1, 2, 3, 5 or 6 exactly N ÷ 8 times each, and 4, 7, 8 or 9 exactly N ÷ 16 times each.

  1. The bits come in fours. Number the bits from 0. Bit i is 1 when i, written in binary, has an even number of 1s, and 0 when it has an odd number. Call a number even-counted or odd-counted to match. The four bits numbered 4q to 4q + 3 have the binary form of q with 00, 01, 10 or 11 on the end, which adds 0, 1, 1 or 2 ones. So they are 1001 when q is even-counted and 0110 when q is odd-counted. As numbers those blocks are 9 and 6.
  2. Only the remainder on dividing by 5 matters. A row's last digit is fixed by its last bit and by what the row leaves on division by 5. Adding a bit doubles the row and adds the bit, and the last digit of twice a number depends only on what that number leaves on division by 5.
  3. Whole blocks just add. Adding a 4-bit block multiplies the row by 16 and adds the block. 16 leaves 1 on division by 5, so the remainder simply goes up by the block's value: by 4 for a 9 and by 1 for a 6.
  4. The row is a multiple of 5 again every eight rows. The numbers 2u and 2u + 1 differ only in their last bit, so one is even-counted and the other is odd-counted. Blocks 2u and 2u + 1 are therefore a 9 and a 6 in some order. Together they add 15 to the remainder, which is a multiple of 5. The count starts from 0, so after every eight rows the row is a multiple of 5.
  5. There are two kinds of eight. 2u has the same number of 1s as u. If u is even-counted, the eight bits are 1001 0110, and starting from a multiple of 5 the eight rows end in 1, 2, 4, 9, 8, 7, 5, 0. If u is odd-counted, the eight bits are 0110 1001 and the rows end in 0, 1, 3, 6, 3, 6, 2, 5.
  6. Count them. By the argument of step 4, the numbers 2w and 2w + 1 are one even-counted and one odd-counted. So every sixteen rows hold one eight of each kind. Put together, those sixteen rows end in 0, 1, 2, 3, 5 and 6 twice each, and in 4, 7, 8 and 9 once each.

That completes it.

Checked by computer, and what isn't proved

The counts were checked at every multiple of 16 rows up to 65,536, and both kinds of eight were checked to be the only ones that occur. The mirror string, 0110 1001 and so on, gives the same counts. That was checked the same way and the argument is the same, but I haven't written it out.

One place in, the second-last digit of a row is odd exactly when the last digit of the row before is 5 or more. Seven rows in sixteen end in 5 or more, so the second-last digit is even in 9 rows of 16, which is 56.25%. The count gives 56.252%. Places further in than that are counted on Blocks That Interlock, not proved.

Two blocks in Thue-Morse order: what decides the last digit

Written 4 December 2026First posted 4 Dec 2026, 00:55 (Melbourne time)public record 2752427

Take two blocks of bits, A and B, of the same length L, where L is a multiple of 4. Lay them down in Thue-Morse order: A B B A B A A B and so on. Write a and b for the blocks read as numbers.

First case: a + b is a multiple of 5. Then every stretch of 4L rows has the same ten last-digit counts, and unless L is a multiple of 5 those counts are not level. The last digit stays lopsided by the same amount for ever.

Second case: a + b is not a multiple of 5. Then the last digit settles towards one pattern: each even digit gets a fifth of the share of 0 bits in A and B together, and each odd digit gets a fifth of the share of 1 bits. After 2L × 2K rows, with K a multiple of 4, every digit's share is within (1 + 0.8 × 5K÷4) ÷ 2K of that. So if A and B together are half 1s, the last digit heads for level.

  1. The set-up is the same as before. Block number q is A when q is even-counted and B when q is odd-counted, in the words of the last proof. A row's last digit is fixed by its last bit and its remainder on division by 5, and the last digit of twice a number depends only on that remainder.
  2. Whole blocks just add. 24 is 16, which leaves 1 on division by 5, so 2L leaves 1 as well. Adding a whole block therefore adds its value to the remainder. After m blocks the remainder is a for each A so far plus b for each B so far. One consequence: the two blocks joined into one number leave the same as a + b, so "a + b is a multiple of 5" and "the join is a multiple of 5" say the same thing.
  3. The blocks come in pairs. Blocks 2u and 2u + 1 are one A and one B: A then B if u is even-counted, B then A if u is odd-counted. Call those 2L rows pair u. Before pair u, there have been u A's and u B's, so the remainder is that of u × (a + b).
  4. First case. If a + b is a multiple of 5, the row before every pair is a multiple of 5. So the 2L rows of a pair end in the same digits as the first 2L rows of A B on its own, or of B A on its own. Pairs 2w and 2w + 1 are one of each. So every 4L rows have the same ten counts: those of A B plus those of B A. Ten whole numbers that add up to 4L can all be equal only if 4L is a multiple of 10, which needs L to be a multiple of 5.
  5. Second case, if the pairs were perfectly mixed. The remainder before pair u depends only on what u leaves on division by 5, and because a + b is not a multiple of 5 it takes each of the five values once as u runs through 0, 1, 2, 3, 4. The kind of pair depends on whether u is even-counted. That makes ten combinations. Now fix a position inside the pair. The row there leaves a power of 2 times the starting remainder, plus an amount fixed by the bits so far. As the starting remainder runs through all five values, so does that. So if the ten combinations came up equally often, the remainder at every position would be evenly spread whatever the bit there, and each even digit would get a fifth of the share of 0 bits and each odd digit a fifth of the share of 1 bits.
  6. How nearly mixed they are. Look at the first 2K pairs. For any number z, multiply out (1 − z)(1 − z2)(1 − z4) and so on up to (1 − z2K−1). Every u below 2K appears once as zu, with a plus sign if u is even-counted and a minus sign if it is odd-counted, because each 1 in the binary form of u brings one minus sign. Now let z be a fifth root of 1 other than 1 itself. The powers z, z2, z4, z8 are the four such roots, and then they repeat. The four factors (1 − z)(1 − z2)(1 − z3)(1 − z4) multiply to exactly 5. That is because (x − z)(x − z2)(x − z3)(x − z4) is x4 + x3 + x2 + x + 1, which is 5 at x = 1. So the whole product has size exactly 5K÷4, however large 2K is.
  7. Turn that into counts. For each remainder c, let dc be the number of even-counted u below 2K that leave c, less the number of odd-counted ones. The sum in step 6 is d0 + d1z + d2z2 + d3z3 + d4z4. It has size 5K÷4 at each of the four roots and is 0 at z = 1. Each dc is a fifth of a sum of those five values with weights of size 1, so it is at most 0.8 × 5K÷4 in size. Each remainder is left by a fifth of the u, give or take less than 1. So each of the ten combinations comes up 2K ÷ 10 times, give or take at most 0.5 + 0.4 × 5K÷4.
  8. Add it up. Fix a digit. For each kind of pair and each position holding a bit of the right kind, exactly one starting remainder gives that digit. So across the ten combinations there are at most 4L places where the digit appears. Its count therefore differs from the perfectly mixed count by at most (0.5 + 0.4 × 5K÷4) × 4L, out of 2L × 2K rows. Dividing gives the bound in the claim. Each time K goes up by 4 there are 16 times as many rows and the allowance shrinks to about 5 sixteenths.

That completes it.

Checked by computer, and what isn't proved

First case: every pair of 4-bit blocks whose values add to a multiple of 5 (51 pairs), every such pair of 8-bit blocks (13,107) and a sample of 12-bit ones (2,464). Each repeats the same counts every 4L rows and none is level. Second case: 1,299 pairs, all inside the bound at K = 4, 8 and 12. The measured distances shrink by very nearly 5 sixteenths each time K goes up by 4, so the bound has the right speed.

This is only about the last digit. Places further in are counted on Blocks That Interlock, not proved. In the second case the bound is proved only at row counts of the form 2L × 2K with K a multiple of 4. I expect the same method to cover the counts in between, but I haven't written that out.

Two blocks in Fibonacci order: the last digit settles, unless both are multiples of 5

Written 4 December 2026First posted 4 Dec 2026, 00:55 (Melbourne time)public record 2752427

Take two blocks A and B of the same length L, a multiple of 4, not both multiples of 5 as numbers. Lay them down in Fibonacci order: A B A A B A B A and so on. Then in the long run each even digit's share of the last digits is a fifth of the share of 0 bits in the whole string, and each odd digit's share is a fifth of the share of 1 bits. The share of 1 bits is (ones in A ÷ φ + ones in B ÷ φ2) ÷ L, where φ is the golden ratio, 1.618. The last digit heads for level exactly when A and B are each half 1s.

  1. Whole blocks just add. As in the last proof, after m blocks the remainder on division by 5 is a for each A so far plus b for each B. That is a × m plus (b − a) times the number of B's so far.
  2. A known description of Fibonacci order. Let α be 2 − φ, which is 0.38197 and is the same as 1 ÷ φ2. Count the blocks from 0. Block m is a B exactly when the fractional part of (m + 1)α is at least 1 − α, and the number of B's among the first m blocks is the whole part of (m + 1)α. This is the standard description of the Fibonacci word. I am quoting it, not proving it.
  3. One number carries both. Let y be the fractional part of (m + 1)α ÷ 5. Then 5y is (m + 1)α less a multiple of 5. Its whole part, 0 to 4, is the number of B's so far as a remainder on division by 5. Its fractional part says whether the next block is A or B.
  4. Weyl's theorem spreads y evenly. Because α is irrational, as m runs through the numbers leaving any one remainder on division by 5, y is spread evenly between 0 and 1 in the long run. This is Weyl's equidistribution theorem, a standard result. I am quoting it too.
  5. So the remainder is evenly spread, whatever comes next. The fractional part of 5y decides the next block. Whatever it is, the whole part of 5y is equally likely to be 0, 1, 2, 3 or 4, and so is the remainder of m, each independently of the other. The remainder before the next block is a times the remainder of m, plus (b − a) times the whole part of 5y. If a is not a multiple of 5, a times the remainder of m runs through all five values. If a is a multiple of 5 then b is not, and what is left is b times the whole part, which runs through all five. Either way the remainder before a block is evenly spread, whichever block comes next.
  6. Finish as before. As in step 5 of the last proof, the remainder is then evenly spread at every position inside the block, whatever the bit there. So each even digit gets a fifth of the share of 0 bits and each odd digit a fifth of the share of 1 bits. By step 2, B's are 1 ÷ φ2 of the blocks and A's are 1 ÷ φ, which gives the share of 1 bits in the claim. Setting that share to a half and collecting the φ gives (ones in A − ones in B) × φ equal to a whole number. φ is irrational, so the two blocks must have the same number of 1s, and then each must be half 1s.

That completes it.

Checked by computer, and what isn't proved

The description in step 2 was checked for the first 100,000 blocks. Six pairs of blocks were run for half a million rows or more, and every digit's share came within 0.00002 of the predicted one. Two pairs that are both multiples of 5, which the claim leaves out, were 0.14 and 0.15 away, so the condition is needed.

This is only about the last digit, and only about the long run: I haven't proved how fast it settles. In the counts the gap falls roughly in step with one over the number of rows. The proof leans on two standard results that I quote and don't prove here.

A rule that holds for 288 quadrillion numbers, and then fails

Written 4 December 2026First posted 4 Dec 2026, 07:25 (Melbourne time)public record ad20fd4

Read binary with places worth 1, 2, 1, 2 and so on, with the 1 at the end, and keep reading the answer. Every number ends at 1 or at 3. If the number with its 1 moved to the end is a multiple of 3, the number ends at 3. That is true for every number below 258 − 1, which is 288,230,376,151,711,743. It is false for that number, which ends at 1.

  1. Every chain ends at 1 or 3. A number L bits long reads as at most the first L places added up, which is 3L ÷ 2 rounded down. From 4 bits on that is less than the number itself, so the chain keeps falling until it is below 8. Then by hand: 1 stays, 2 goes to 1, 3 stays, 4 goes to 2, 5 goes to 3, 6 goes to 3 and 7 goes to 4.
  2. The reading leaves the same as the moved number. Binary's own places, 1, 2, 4, 8 and so on, leave 1, 2, 1, 2 and so on when divided by 3. So a string read with places 1, 2, 1, 2 leaves the same, on division by 3, as the string read as an ordinary number. The string being read here is the number with its 1 moved to the end.
  3. So the first reading is a multiple of 3. By step 2, when the moved number is a multiple of 3, so is the reading.
  4. Below 258 − 1 the first reading is at most 86. A number of 57 bits or fewer reads as at most 85. A 58-bit number reads as 87 only when every bit is a 1, and that number is 258 − 1 itself. Any other 58-bit number reads as 86 at most.
  5. Every multiple of 3 up to 84 ends at 3. There are 28 of them and each was followed. By steps 3 and 4 the first reading is one of them, so the number ends at 3.
  6. The first exception. 258 − 1 is 58 ones. Moving its 1 to the end changes nothing. It is a multiple of 3, because 4 leaves 1 on division by 3 and so does every power of 4. It reads as 87, which is 29 × 3. Now 87 is 1010111, and with its 1 moved to the end it is 1101011, which reads as 1 + 2 + 2 + 2 + 1 = 8. And 8 reads as 1. So it ends at 1.

That completes it.

Checked by computer, and what isn't proved

Every number below a million or so (1,048,576) was followed: 349,534 of them have a moved number that is a multiple of 3, and all 349,534 end at 3. So did 200,000 random numbers of up to 58 bits. The chain 288,230,376,151,711,743 to 87 to 8 to 1 was worked by machine as well as by hand.

Why it fails in the end: being a multiple of 3 is not handed down the chain. An odd multiple of 3 with an odd number of bits reads as something that leaves 2. For every multiple of 3 up to 84 the chain reaches 3 anyway. 87 is the first where it doesn't, and no number below 258 − 1 can read as 87.

This says nothing about the numbers whose moved number is not a multiple of 3. Those end at 1 or at 3 in a mix, counted on Kaleidoscopes.

Places 1 2 4 on repeat are casting out sevens

Written 4 December 2026First posted 4 Dec 2026, 08:03 (Melbourne time)public record 51a9f4c

Read binary with places worth 1, 2, 4, 1, 2, 4 and so on, nothing moved, and keep reading the answer. Every number ends at one of 1 to 7 and stays there. The ending is the number's remainder on dividing by 7, with 7 standing in for a remainder of 0. The same holds for places 1 2 with 3 in place of 7, for places 1 2 4 8 with 15, and for any run of doubling places 1, 2, 4 ... 2p−1 with 2p − 1.

  1. The reading is a digit sum in base 8. Cut the number's bits into groups of three, starting from the 1's place. Each group, read with places 1, 2, 4, is a number from 0 to 7, and those are the digits of the number written in base 8. So reading with places 1, 2, 4 on repeat adds up the base 8 digits.
  2. A digit sum keeps the remainder by 7. 8 leaves 1 on division by 7, so 64 does, and so does every power of 8. A number is its digits times those powers, added up. So the number and the sum of its digits leave the same on division by 7.
  3. The reading is smaller, until one digit is left. If the number has two or more digits in base 8, its top digit is worth at least 8 times what it counts for in the digit sum, so the sum is smaller than the number. A number from 1 to 7 is a single digit and reads as itself.
  4. So every chain stops at one of 1 to 7. By step 3 it keeps falling while it has more than one digit, and it can never reach 0, because a number above 0 has a digit above 0.
  5. And the stopping point is the remainder. By step 2 the remainder by 7 never changes along the chain. A number from 1 to 6 is its own remainder. 7 leaves 0. So the chain stops at the remainder, with 7 for 0.
  6. Any doubling run works the same way. With places 1, 2, 4 ... 2p−1 the groups are p bits long and the base is 2p, which leaves 1 on division by 2p − 1. Every step above goes through with that base. For p = 2 that is base 4 and remainders by 3. For p = 4 it is base 16 and remainders by 15.
  7. Equal shares. In any run of seven numbers in a row each remainder by 7 turns up once. The same is true of seven odd numbers in a row, because they step by 2 and 2 shares no factor with 7. So each ending gets exactly a seventh: 9 in every 63.

That completes it.

Checked by computer, and what isn't new

Every number up to a million or so (1,048,576) was followed for p from 2 to 6, which is remainders by 3, 7, 15, 31 and 63. Every one stopped at its remainder.

None of this is new. It is casting out nines in another base, and the ending is the digital root in base 8. It is recorded here because it is what makes these families draw the cleanest pictures on Kaleidoscopes, and because the multiples of 3, 7 and 15 they pick out are the streaks the primes avoid on Overlays.

It only works with nothing moved. Put the 1 at the end and the remainder is no longer handed down the chain: see the proof above this one.

Smaller proved facts elsewhere on the site

Several of these are well-known facts met along the way, not new results. They're listed here because the site uses them.