← All projects / Change the Carry
Long multiplication in base 3 has one rule nobody thinks about: when a column reaches 3, carry 1 to the next column. Change where that carry goes and you get a different number system, with different primes. Pick a rule and multiply.
Type two numbers using the digits 0, 1 and 2. The columns are added up first, then the carry rule is applied until every column is 0, 1 or 2. Columns that had to carry are marked.
splits into two piecesstays primesplits into one piece twice
Touch a prime to see how it splits.
Carrying 1 to the next place means one place is worth 3 of the place before. Carrying two places over means two places are worth 3, so one place is worth √3. Splitting the carry between the next two places means the base β satisfies β + β² = 3, which makes β = (√13 − 1) ÷ 2, about 1.3028.
The carry is used for adding and multiplying alike, so a × (b + c) still equals a × b + a × c. Without that, "prime" would stop meaning anything. That's why the checks above always come out equal.
Each rule makes a new world, and the ordinary primes either split there or don't, by an exact rule on their remainder. The worlds are tidier than ours. They don't make ours any tidier: which ordinary numbers are prime is decided by ordinary multiplication.
No, and it's worth knowing where it comes from. George Bergman described counting in the golden ratio in 1957, where the carry rule is "11 becomes 100". Rényi (1957) and Parry (1960) worked out the general theory of counting in a base that isn't a whole number. Systems whose carries land in a number field like these are called canonical number systems, studied since about 1980. Which primes split when √3 or √13 is allowed follows from Gauss's law of quadratic reciprocity. This page is a way in, not a discovery.