← All projects / Carryless Ten

Ten, with the carries dropped

Carryless base 6 turned out to be base 2 and base 3 glued together. Carryless ten is base 2 and base 5 glued together, in exactly the same way. So once carryless base 2 and base 5 are understood, carryless ten is cracked completely: every prime, every count, no error. Ordinary base ten is a different matter, and this page says why.

How the glue works

Dropping the carries and wrapping each column at a base b means each column is a remainder by b. When b is a product of two numbers with no common factor, a remainder by b is the same as a remainder by each of them (the Chinese remainder theorem), so the whole number splits into two shadows that multiply separately. The glue multiplies bases. It never adds them.

Carryless baseComes apart intoWhat its primes are
2, 3, 5, 7, 11, 13nothing: prime bases stand alonetheir own clean primes (base 3, base 7)
62 × 3disguised base 2 and base 3 primes (page)
102 × 5disguised base 2 and base 5 primes (this page)
124 × 3broken, because wrapping at 4 is itself broken (2 × 2 = 0)
422 × 3 × 7where 2, 3 and 7 together actually lead

So 2, 3 and 7 glue to 42, not to 10 or 11. Ten's pieces are 2 and 5. And 11 doesn't come apart at all: it is prime, so carryless base 11 is clean on its own, like 3, 7 and 13.

Carryless base 2

No-zero base 2 counts 1, 2, 11, 12, 21, 22, 111, … with the digits 1 and 2. Drop the carries and 2 acts as zero. Only 1 acts like 1, so the primes have no twins. These are the irreducible polynomials that run inside checksums and encryption.

DigitsCarryless base 2 primesGauss's count
proved

Each prime length multiplies to a string of ones

exact

And a string of ones is a Mersenne number

In no-zero base 2, a string of m ones is 2m − 1. So the products are 23 − 1 = 7, 27 − 1 = 127, 231 − 1 and 2127 − 1, all four of them Mersenne primes. For example 17 ⊗ 19 = 127: 1121 ⊗ 1211 = 1111111.

proved

The chain stops being prime

The next one is 28191 − 1, and it is known to be composite. The products are Mersenne numbers by construction; whether one is prime is the old Mersenne question, and carryless arithmetic doesn't answer it.

Carryless ten

Use ten without a zero: the digits 1 to 9 and A. Drop the carries and wrap each column at ten, so A acts as zero. Every number then has a wrap-at-2 shadow (odd or even, digit by digit) and a wrap-at-5 shadow.

proved

Base 5 primes in disguise

Every digit but the last is even (2, 4, 6, 8 or A), the last digit is odd, and the wrap-at-5 shadow is a carryless base 5 prime. Example: 21 has shadows 1 and 21, and every two-digit carryless number is prime.

proved

Base 2 primes in disguise

Every digit but the last is 5 or A, the last digit isn't, and the wrap-at-2 shadow is a carryless base 2 prime. Example: 551 wraps at 2 to 111, which is a carryless base 2 prime.

exact

Nothing else is prime

DigitsBase 5 kindBase 2 kindTotal4 × base 5 count + 4 × base 2 count
exact

1, 3, 7 and 9 act like 1

Each carryless ten prime comes in four versions. These are the same four digits every ordinary prime above 5 ends in, and for the same reason: they are the digits with no factor of 2 or 5.

measured

Against the ordinary primes

What this cracks, and what it doesn't

Carryless ten: cracked

Its primes are fixed exactly by carryless base 2 and base 5, and both of those have exact counts, exact tests and a generator with no testing (the same tools as base 3). Nothing about carryless ten is left open.

Ordinary ten: not cracked

With carries, a number doesn't split into a base 2 part and a base 5 part; the carries mix them. The only trace of the glue is the last digit, the remainder by 10, which is why primes end in 1, 3, 7 or 9. Everything past the last digit is where ordinary primes stay hard.

Ten and eleven

Ten without a zero still has ten digits (1 to 9 and A), the same count as 0 to 9. A number system with eleven digits is base 11, which is prime and stands alone; it doesn't come from 2, 3 and 7.