← All projects / The Power-of-3 Primes
Allow √13 and some ordinary primes split in two: exactly the ones that are a power of 3, or minus a power of 3, on dividing by 13. 13 isn't alone. For 2,053 primes q below 200,000 the same is true with q in place of 13. These are the power-of-3 primes. 13 is the first of them, and the only one where the answer can be read straight off the base 3 digits.
p splits when √q is allowed ⇔ p ≡ ±3k (mod q)
Touch a bar for its counts.
The rule needs 3 and −1 to be squares mod q. That happens only when q is 1 more than a multiple of 12, so every power-of-3 prime is. The register's 12 turns up once more.
a power of 3minus a power of 3any other remainder
± a power of 3 mod q: splitsstays primeq itself
Touch a prime to see why.
Touch a row to look at it above.
To read a remainder mod q off base 3 digits, cut them into blocks of the length it takes 3 to come back to 1, and add. For 13 that's 3 digits, because 13 is 111 in base 3. The split remainders then come out as the blocks of 0s and 1s, as on Which Primes Split, Read in Base 3.
A prime that is 111...1 in base 3 with k ones has 3 coming back to 1 after k steps. It's a power-of-3 prime only if half of q − 1 equals k or 2k. With 3 ones, q = 13 and half of 12 is 6 = 2 × 3. With 7 ones, q = 1,093, and 546 is nowhere near 7 or 14. It only gets worse.
Almost certainly: they keep turning up at about the same rate, roughly one prime in nine, but it hasn't been proved. It's the same kind of question as Artin's conjecture on primitive roots, which asks for which primes the powers of a number fill every remainder. That is only known to hold if the generalised Riemann hypothesis is true (Hooley, 1967). The rule itself is Gauss's law of quadratic reciprocity (1801); what this page adds is the list and the pictures.