The Growing ClockHonors mathematics · Lesson 07 / 10← Lesson 06Lesson 08 →
Lesson 07 · Factorization · 55–65 minutes

Composite Dials & Prime Factorization

Lesson 06 reduced every count to B(m), the number of marks the 1st block reaches on an m-mark dial. But so far B(m) has meant listing readings. Here you will compute it straight from the prime factorization of m. The key idea: one big dial behaves like several small dials read at the same time. Along the way you will finally prove the no-bonus lemma that Lesson 06 borrowed.

Where this lesson is headed
B(m) = 2a · ∏ Q(pe) − δ(m)

In words: split the dial into its prime-power pieces, count each piece, multiply, and subtract 1 only for a pure power of two. Write m = 2a × (odd part); the product runs over the odd prime powers pe in the odd part (an empty product is 1). Same setup as Lessons 03 to 05: a clock starting at circumference m, growing 1 cm per rotation, on an m-mark dial, so the reading is T(k) mod m.

B(m): marks reached in the 1st block, k = 0 to m − 1 (Lesson 06)

F(m): marks ever reached (two blocks, k = 0 to 2m − 1, are enough by Lesson 02)

Q(pe): number of squares on a pe-mark dial, p an odd prime

δ(m): 1 when m is 2, 4, 8, …; 0 otherwise

01. A 6-mark dial is a 2-mark dial and a 3-mark dial at once

Start with the simplest composite dial, 6 = 2 × 3. Any mark on the 6-mark dial can be described by two small readings: what it reads on a 2-mark dial and on a 3-mark dial. The grid on the right shows every mark by its pair of small readings. Turn the clock and watch both. (Shortcut: Space turns one rotation, ← undoes one.)

The m-mark dial

Reached in 1st block1
Reached so far1
Added by 2nd block0

Settings

Dial size m

The pair grid

Reached so farReached laterNever reached

Tap a cell to see how its mark is rebuilt from the two small readings.

Guided experiments

Do these in order. "Set this up" chooses the dial and turns the clock for you.

    Rotation by rotation

    kT(k)mod umod vReadingNew?

    A tempting guess

    We can count marks on each small dial. Which product gives the count on the big dial?

    Pick the statement to test.
    All marks ever reached multiply; 1st blocks do not. Stage 02 explains why, and how to count each piece.