← All projects / Reading the Register in Base 13
Write a 67s number in base 13 and look at its last digit. That one digit says which of the twelve slots of the register the number sits in. Five of the digits belong to live slots, and every known prime ends in one of those five.
Twelve slots, one for each step round the register, each marked with the last base 13 digit every number in that slot has. Base 13 uses the digits 0 to 9, then A for ten, B for eleven and C for twelve.
live slot: a prime can end in this digitdead slot
Touch a slot for the numbers in it.
Each row is one slot and each column is one lap of twelve powers. Read along a row: the numbers get longer but the last digit never changes.
Counted from power 3 on. The first two primes of each family are the small numbers that start the lanes.
Touch a bar for its counts.
13 is one more than 12, so adding up a number's base 13 digits keeps its remainder on dividing by 2, 3, 4, 6 and 12. That turns the 6n ± 1 rule into a digit-sum rule: a number passes exactly when its digits add to 1 or 5 more than a multiple of 6.
Type any whole number. Here it is in base 13, with each of the tests run on its digits.
The register is 12 wide because 5 rules out every 4th power and 7 every 3rd, and 4 and 3 both go into 12. 13's own lap is 12 as well. So one lap of base 13's last digit covers all three lanes exactly once.
The last base 13 digit tells you the slot, and so does the power's remainder on dividing by 12. Neither narrows the candidates further than the register already does. What base 13 adds is that you can read the slot off the number itself, without knowing its power.