← All projects / Which Clock?

Which clock is the right one?

On the 24-hour clock the primes land on eight hours, and those eight sit either side of 0, 6, 12 and 18. Is 24 the right size, or would an 18-hour or a 13-hour clock show more? This page lets you try any clock, and looks for families that point only at the prime hours.

What you spotted

proved

The prime hours hug the quarter marks

On a 24-hour clock the hours where a prime past 3 can land are 1, 5, 7, 11, 13, 17, 19 and 23. Those are the two hours either side of 0, of 6, of 12 and of 18. It is the 6n ± 1 rule drawn on a clock face: every prime past 3 is one more or one less than a multiple of 6.

proved

Square any prime and it lands on hour 1

Each of those eight hours, multiplied by itself, comes back to 1 on the 24-hour clock. So the square of every prime past 3 is one more than a multiple of 24. This turns out to matter for the families below.

Try any clock

an hour primes can land ondead hourthe family lands here

Touch an hour to see what lands on it.

Every clock is the same sieve

Hours on the clockHours a prime can land onShare of the clockThe primes this clock knows about
proved

24 and 18 are the 6-hour clock, stretched

An hour is dead when it shares a factor with the size of the clock. 24 is made of 2s and a 3. So is 18, and so is 6. All three know about the primes 2 and 3 and nothing else, and all three leave exactly a third of their hours alive.

proved

A 13-hour clock knows only about 13

13 is prime, so the only dead hour is 0. Twelve hours in thirteen stay alive. It rules out the multiples of 13 and says nothing about even numbers or multiples of 3. Prime-sized clocks are the weakest there are.

proved

The best clocks are 6, 30, 210 and 2,310

To kill the most hours, build the clock from as many different small primes as you can, each used once: 2 × 3, then × 5, then × 7, then × 11. Each new prime trims the live share a little less than the one before: a third, then 26.7%, then 22.9%, then 20.8%. It never reaches zero.

proved

A live hour is never all primes

Take any live hour h on any clock of m hours. The number h × (m + 1) lands on that same hour and is not prime. So no clock, of any size, has an hour that holds only primes. A clock can say where primes can't be. It can't say where they are.

Families that point only at prime hours

You asked for a family that lands on 1, 5, 7, 11, 13, 17, 19 and 23 and nowhere else. Here is what each kind of family does on the 24-hour clock.

FamilyHours it lands onOnly prime hours?How many of the eight
proved

Anything built by doubling reaches two hours at most

On the 24-hour clock the powers of two settle into going 8, 16, 8, 16 for ever. So a family made of a power of two times something, plus something, can only ever show two hours. That is why the 67s sit on 11 and 19 and the 97s on 1 alone. No amount of searching among doubling families will find one that covers all eight.

proved

Which doubling families stay on prime hours

proved

To reach all eight you have to add, not multiply

The plainest family that covers all eight prime hours and no others is the list 5, 7, 11, 13, 17, 19, 23, 25 itself: add 2, add 4, add 2, add 4. A less obvious one is the old formula n × n + n + 41, which is famous for giving a prime for every n from 0 to 39. It lands on all eight prime hours and never on a dead one.

proved

Even those only know about 2 and 3

Landing only on prime hours means exactly one thing: the family never produces a multiple of 2 or 3. It is no closer to "only primes" than that. The formula with 41 fails at n = 40, where it gives 41 × 41.

Are we looking in the wrong place?

The clock size isn't the problem

Swapping 24 for 18 or 13 changes which small primes the clock knows about, and nothing more. There is no size that sees past that. A clock repeats, and anything that repeats can only know about the primes that divide its length.

What a good family looks like

The useful question isn't which clock, but which families dodge the most small primes. The 67s and 97s dodge 2 and 3 completely, and also dodge 17, 23, 31 and many others. That is measured on the wheel page: it makes them about two and a half times richer in primes than ordinary numbers.