← All projects / The Clock in Base 60

The 60-hour clock, written in base 60

The 67s and the 97s each have a 60-hour clock that says where a prime can never be. This page lists every known prime in both families, writes their powers in base 60, and works out the odds each live hour has of holding the next one.

The two families

The 67s

A power of two, plus 3. 67 is 26 + 3, which is 1000011 in binary. "The power" on this page always means that small raised number, 6 here.

The 97s, or the 67s backwards

Three times a power of two, plus 1. 97 is 3 × 25 + 1, which is 1100001. That's 67 with its bits read backwards, so you can think of this family as the 76s.

Every known prime in both families

These are the complete published lists: 58 primes in the 67s and 50 in the 97s. The numbers themselves are far too long to print (the biggest has almost five million digits), so each row gives the power, which is all you need to rebuild the number.

No.PowerPower in base 60HourDigits in the primePrime ends, base 60Front digit, base 8

Powers from the public sequence database: A057732 for the 67s and A002253 for the 97s. The large 67s are "probable primes": they pass every test but nobody can fully prove numbers of that shape and size. The 97s are proved. Both lists as a file: known-primes.txt.

The power in base 60

Base 60 is how clocks count: 3,725 seconds is 1 hour, 2 minutes, 5 seconds, written 01:02:05. Write a power the same way and its last base 60 digit is exactly its hour on the clock. The digits in front say how many times it has been round.

Try any power

proved

The last digit decides dead or alive

Only 22 of the 60 possible last digits can ever belong to a prime. For the 67s they are . Every power in the list above ends in one of them.

measured

The digit before it says almost nothing

The prime itself in base 60

proved

A 67s prime ends in 7, 11 or 19

Past the first two, the last base 60 digit of a 67s number goes round 7, 11, 19, 35 for ever. 35 is a multiple of 5, so a prime never has it. 67 is 01:07, 131 is 02:11 and 4,099 is 01:08:19.

proved

Its last two digits give the hour

The last two base 60 digits of a 67s number repeat every 60 powers and never repeat sooner. So each hour of the clock has its own ending, and you can read the hour off the number without knowing the power. A 67s number ending 08:19 is on hour 12.

proved

The 97s are less tidy

A 97s prime ends in 13, 37 or 49 (25 is the dead one). Its last two digits repeat every 20 powers, so they pin the hour down to one of three, not one.

Live hour (67s)The prime ends, in base 60Known primes there

Which live hour holds the next prime?

Nothing here names the hour for certain. What can be worked out is the odds. The 60-hour clock only uses five small primes. Thousands of other small primes each knock out a few powers, and they don't hit every hour equally. Count what survives on each hour and you get its share of the future primes.

HourShare of future primesKnown primes foundExpected from the share

measured

The shares fit the known primes

measured

Powers that are multiples of 6 are the richest lane

measured

The best single guess

The lanes, by what the power leaves when divided by 6

Power divided by 6 leavesPower ends, in base 6Richness (1 is average)Known 67s primesKnown 97s primes

A bigger clock, one base 60 digit at a time

Use the last two base 60 digits of the power and the clock has 3,600 hours. Use three and it has 216,000. Each bigger clock can use more small primes, so more hours die.

Base 60 digits usedHours on the clockLive hoursShare aliveSmall primes it usesSearch narrowed by
measured

Each extra digit helps less

exact

Why 60 was a good choice

A clock can only use a small prime whose cycle fits into it a whole number of times. 60 divides by 2, 3, 4, 5, 6, 10 and 12, so it catches the short cycles of 5, 7, 11 and 13 all at once. Those four do most of the killing.

A formula for every power that could still be prime

Start with the formula for the whole family. It has one slot, x, for the power. Then look for a second formula to plug into that slot, so that counting 1, 2, 3 gives only the numbers worth having. There is an exact one for every power that could still be prime, and only a rough one for the primes themselves.

exact

1. The whole family: one formula, one slot

proved

2. The candidates: five short rules

exact

The same five rules as one line

exact

3. The formula to plug into x

measured

4. Plugging in the rough law for the primes

measured

5. The odds for a survivor

Plug in n

Every candidate, plotted

Each row is one lap of the clock, 60 powers. Only the 22 live hours are drawn, because the other 38 are dead in every row. Inside the live hours, more small primes (every one under 100,000) cross off more powers. A cell's power is its row's number plus its column's.

ruled out by a small primepassed the small primes, but not primenot ruled out yeta known prime

Touch a cell for its power. A green cell is not a prime waiting to be found. It only means no small prime rules it out and it lies past the end of the published list. Nearly all of them will fail the full test. The list doesn't say how far past its last prime anyone has searched, so some may already have been tested.

How the list thins as more small primes are used

Small primes usedPowers leftLeft before the even-chance markChance each one is prime

measured

The rules haven't missed one

measured

To halve the list, square the limit

exact

Why no formula finishes the job

Worked out by tools/potential_67.py. The plot's sieve runs in your browser.

Is there a formula for the nth prime of the family?

Number the family's primes in order: the 1st, the 2nd, up to the 58th for the 67s. Is there a formula that takes n and gives the power of the nth one? There is a law for roughly where it is. There isn't one for exactly where, and the tests below say why.

a known primethe formula

Across: which prime it is, counting from the first. Up: its power, on a scale where each line is ten times the one below. Touch a dot for its numbers.

measured

The rough law: each prime is about 1.3 times further out

measured

Used as a forecast, it drifts

measured

What's left over behaves like dice

measured

The forecast that does work: one step ahead

exact

Why a formula in n can't do better

If each prime turns up by chance at a known rate, then once you know where the last one was, nothing earlier helps. Counting from the start, the misses pile up like a walk that never gets pulled back to the line. So the rate is predictable and the next step is predictable in odds, but the 59th can't be read off from the number 59.

Which primeIts powerThe formula's guessFormula is off by

Worked out by tools/nth_67.py. The last 67s prime in the published list was found in August 2020. The list doesn't say how far past it anyone has searched, so the next one may already be overdue or may be found tomorrow.

The 67s against the 97s

On the chart above the 67s make the smoother curve. Measured against their own line, the 97s are the tighter fit. Both are true, because smooth and close are different things. This chart drops the steep climb and shows only how far each prime sits from its family's line.

the 67sthe 97sthe family's own line

Across: which prime it is, counting from the first. Up: how many times above or below its family's formula the real power is. Touch a dot for its numbers.

MeasureThe 67sThe 97s
measured

The 67s take smaller, steadier steps

measured

The 97s stay closer to their line

measured

Smooth isn't the same as close

measured

Neither difference is more than dice would give

known

The 97s are the better recorded family

Every 97s prime is proved, because numbers of the shape 3 × 2k + 1 have a fast exact test (Proth's test). The large 67s are probable primes: they pass every test but have no proof. The 97s are also searched in order by a public project, PrimeGrid's 321 search, so that list is unlikely to have holes. Better recorded isn't better understood, though. Nobody has a rule for which powers give a prime in either family.

What base 60 gives, and what it doesn't

It gives

The hour, as the last digit of the power. The 22 hours a prime can sit on. A share for each of those hours that matches the primes found so far. One simple lane, multiples of 6, that holds about half of them.

It doesn't give

The next prime. The best hour is still only about a 1 in 15 chance, and nothing in the digits in front of the last one adds to that. Past the dead hours the primes behave like weighted dice.

Where the next ones should be