Petty's Notebook
ArticlesPapersnfieldAbout
Get notified when new posts are published. No spam, just math.
Alexander S. Petty  |  ©2009-2026
← Back
Capacity

The Clocks Beneath Collision Energy

July 31, 202611 min read
Companion paper: Conservation and Profinite Dynamics in Digit-Collision Energy →
Circles of different sizes overlap along one line, clocks with different periods. Their hands move while their weights stay fixed and add to one, and the collision deficit comes from the clocks' weighted ages, with no mass ever lost.
Circles of different sizes overlap along one line, clocks with different periods. Their hands move while their weights stay fixed and add to one, and the collision deficit comes from the clocks' weighted ages, with no mass ever lost.

The Secondary Term of the Cubic Law measures the shortfall in the continuous collision energy. At resolution NNN the energy J(N)J(N)J(N) falls short of NNN by a deficit DND_NDN​, and the deficit grows like (log⁡N)2/π2(\log N)^2/\pi^2(logN)2/π2. That settles its size. It says nothing about what the deficit is, or how it moves from one integer to the next. Here I want to get inside it and watch it change.

A size is a summary. The questions it leaves open are about particular integers and particular primes, and they can’t be approached without knowing what the deficit is made of and how it moves.

Watch it for a few steps and it does something a smooth quantity has no business doing. From five to six the resolution goes up and the deficit goes down, from 11/611/611/6 to 17/1017/1017/10.

The explanation is a set of clocks. Every period kkk gets a clock whose hand shows the remainder of NNN on division by kkk. The collision calculation gives each clock a fixed weight, the weights add to exactly one, and the deficit is two thirds of the weighted average position of the hands. As NNN advances, no weight is created or lost, and only the hands move. It works like a conservation law, a fixed total that never changes while its parts move around, and it sets the rules of motion. At six, the clocks of two, three and six all reset at once, and together they pull the average back further than the advance pushed it forward.

That turns the deficit into a dynamical system, and I follow it in three steps. I give every compatible setting of the clocks equal weight, which puts them on the profinite integers, the classical adding machine of dynamics. I subtract each clock’s average position and show that the centered readout converges, with finite variance. And I show that its one-step changes cancel over any stretch of time down to the endpoints, so blocks of steps never pile up variance the way independent steps would.

The catch is that all of that convergence is an average over every compatible setting, and the ordinary integers are a set of measure zero in that space. At every integer we actually count with, the centered readout runs off to minus infinity. Number theory knows this trap well. Émile Borel proved in 1909 that almost every real number is normal, with every string of digits turning up equally often in its expansion, and no one has yet proved it for 2\sqrt22​ or π\piπ. A statement about almost every point can say nothing at all about the points you care about.

Your browser does not support embedded video.
At six, three clocks reset together. Their fixed weights account for the drop, then lead to a stationary law with a very different story at the integers. A video presentation, 8 min 21 sec.

Down at six

Make a clock with six marks, numbered zero through five. Advance its hand once for every integer. At five it reaches the last mark. At six it returns to zero.

A clock with three marks resets at the same instant. So does a clock with two. The clocks with four and five marks keep going.

Those three resets account for an exact drop in collision deficit. The deficit goes from 11/611/611/6 to 17/1017/1017/10. Down by 2/152/152/15, with nothing left over to explain.

Five clocks of periods two through six show the remainders at five and six. The two, three and six clocks reset to zero. A waterfall accounts for the deficit falling from eleven sixths to seventeen tenths by adding two thirds and subtracting one third, one third and two fifteenths. Five clocks of periods two through six show the remainders at five and six. The two, three and six clocks reset to zero. A waterfall accounts for the deficit falling from eleven sixths to seventeen tenths by adding two thirds and subtracting one third, one third and two fifteenths.
Read the upper row at five and the lower row at six, with gold marking the three resets. Beneath, the full advance adds two thirds and the resets take away four fifths, a net fall of two fifteenths.

A fixed share for every clock

Give every period its own clock, well beyond the five drawn above. Period kkk shows the remainder after division by kkk. A clock longer than the current integer has not made its first turn.

The collision calculation assigns each clock a fixed positive weight. Period two gets 1/41/41/4 of the total. Three gets 1/61/61/6. Four and five get 1/121/121/12 each. Six gets 1/301/301/30. The rest goes to the longer clocks. Altogether the weights add to exactly one.

Multiply each clock’s position by its weight, add, and take two thirds of the result. That is the deficit.

DN=23∑k≥2wk(N mod k).D_N=\frac23\sum_{k\ge2}w_k(N\bmod k).DN​=32​k≥2∑​wk​(Nmodk).

This is an exact identity, with nothing fitted to the graph. The weights come from reducing the pairs in the original energy sum by their common factor. The derivation is below.

If every hand could advance without wrapping, the readout would gain 2/32/32/3, because the weights total one. A resetting hand instead loses a full turn. At six, those subtractions are 1/31/31/3, 1/31/31/3 and 2/152/152/15. Together they remove 4/54/54/5. The resets take more than the advance adds.

At a large prime, only that prime’s clock resets, and the rise approaches 2/32/32/3. An integer with enough small divisors can produce a deep fall. The mass on the clocks is conserved, and their weighted positions are free to change.

Four settings out of eight

The clocks cannot be set independently.

Suppose the four-clock points to three. Then the two-clock must point to one. Both are reading the same integer, and an integer that leaves three on division by four is odd.

Two choices on one dial and four on the other appear to allow eight settings. Only four can occur. By contrast, the two-clock and three-clock visit all six of their possible settings.

A two-by-four grid has four allowed remainder pairs and four crossed-out pairs. The allowed cells are numbered zero through three in order of arrival. Below, all six cells of a two-by-three grid are allowed and numbered by their arrival times zero through five. A two-by-four grid has four allowed remainder pairs and four crossed-out pairs. The allowed cells are numbered zero through three in order of arrival. Below, all six cells of a two-by-three grid are allowed and numbered by their arrival times zero through five.
Columns give the longer clock’s remainder and rows the remainder modulo two. The numbers in the cells are times, joined by gold arrows. Shared parity forbids half the settings for two and four, while two and three visit every pair.

Carry this consistency requirement through every period. The resulting space is the profinite integers. A point specifies all the remainders at once. Adding one advances every hand.

To average over a finite collection, run it through a complete cycle. The clocks through six repeat together after sixty steps. Give each of those sixty settings equal weight. The infinite construction keeps these finite averages consistent as more clocks enter.

Nothing here requires random motion. We choose a setting uniformly, then the arithmetic takes over.

Remove the age. Keep the motion.

A six-clock spends equal time at zero, one, two, three, four and five. Its average position is 5/25/25/2. For period kkk, the average is (k−1)/2(k-1)/2(k−1)/2.

Add the weighted average positions through period MMM. This stationary mean age grows like (log⁡M)2/π2(\log M)^2/\pi^2(logM)2/π2, the same leading coefficient found in The Secondary Term of the Cubic Law. A finite total mass can have an infinite average age if enough of it sits on very long clocks.

Subtract each clock’s average position before adding. Call the centered readout YMY_MYM​.

Now the infinite limit exists in mean square over compatible settings, with positive finite variance. In plain terms, the average squared error from omitting the long clocks tends to zero. The raw average age keeps growing, but the fluctuations around it settle into a limiting law.

The next picture uses only periods two through six, so every value is a fraction we can check.

The exact centered clock sum through period six is plotted over thirty steps, with phases seven through twenty highlighted in gold. Its step differences appear underneath. A second chart averages squared block sums over all sixty starting phases; the variance stays below four twenty-sevenths instead of growing linearly. The exact centered clock sum through period six is plotted over thirty steps, with phases seven through twenty highlighted in gold. Its step differences appear underneath. A second chart averages squared block sums over all sixty starting phases; the variance stays below four twenty-sevenths instead of growing linearly.
The gold path runs from two fifteenths to minus eight forty-fifths in thirteen changes. Below, the teal block variance stays under the gold bound of four twenty-sevenths while the dotted line climbs as independent steps would.

From phase seven to phase twenty, the readout rises and falls thirteen times. Add those changes. Every interior height appears once with a plus sign and once with a minus sign. Only the endpoints remain.

The infinite theorem preserves that cancellation. If ggg is the one-step change and YYY the limiting centered readout, then

∑j=1Hg(x+j)=Y(x+H)−Y(x).\sum_{j=1}^{H}g(x+j)=Y(x+H)-Y(x).j=1∑H​g(x+j)=Y(x+H)−Y(x).

Independent steps would keep adding variance. These steps cannot. Their stationary block variance stays below four times the variance of YYY, regardless of block length.

This bounds an average over starting settings. Individual excursions can still be large, since the limiting distribution reaches arbitrarily far in both directions.

Stand at five

There is a trap in taking the average back to the integers.

Fix the integer five and admit longer clocks. On the hundred-clock the hand still points to five, far below its average position of 49.549.549.5. On the thousand-clock it again points to five, while the average position is 499.5499.5499.5.

Each sufficiently long clock adds another negative centered contribution. The weights shrink, but not fast enough to stop their accumulated pull. The centered readout tends to minus infinity.

On clocks of lengths eight, thirty-two and 128, position five lies progressively closer to the beginning relative to each cycle. Below, the centered sum at the fixed integer five falls as clocks through 32,768 are admitted. A narrow teal band shows plus or minus one stationary standard deviation around zero. On clocks of lengths eight, thirty-two and 128, position five lies progressively closer to the beginning relative to each cycle. Below, the centered sum at the fixed integer five falls as clocks through 32,768 are admitted. A narrow teal band shows plus or minus one stationary standard deviation around zero.
Above, five sits ever nearer the start of longer cycles. Below, the gold path holds the integer at five as clocks through 32,768 are admitted, and the teal band is one standard deviation of the whole ensemble.

In the lower panel the gold path leaves the teal band before the clocks reach 128 and never comes back. There is no contradiction. Mean-square convergence averages over the whole space of compatible settings. The ordinary integers form a set of measure zero inside it. The theorem can permit bad behavior at every one of them.

The actual energy calculation advances the integer and the resolution together. It reads Yn(n)Y_n(n)Yn​(n), changing both the setting and the collection of clocks. Following that moving observation requires estimates that stay valid as the collection grows. The stationary theorem alone does not supply them.

Five is not an isolated exception. Fix any nonnegative integer and its centered readout also falls forever. Five itself, with every clock through 32,768 admitted, is down to about −11.08-11.08−11.08, while the stationary spread at that cutoff is about 0.430.430.43. That puts one of the most ordinary integers there is twenty-six standard deviations below the middle of the law, and the next clock will push it lower.

The weights the collision calculation chooses

The continuous capacity is

J(N)=13∑1≤r,s≤Ngcd⁡(r,s)2rs.J(N)=\frac13\sum_{1\le r,s\le N}\frac{\gcd(r,s)^2}{rs}.J(N)=31​1≤r,s≤N∑​rsgcd(r,s)2​.

The diagonal contributes N/3N/3N/3. For an off-diagonal pair, write r=dar=dar=da and s=dks=dks=dk, with a<ka<ka<k and gcd⁡(a,k)=1\gcd(a,k)=1gcd(a,k)=1. Its value is 1/(ak)1/(ak)1/(ak), and it occurs once for each d≤N/kd\le N/kd≤N/k. Include both orders of the pair. Grouping by kkk gives

J(N)=N3+23∑k≥2wkk⌊N/k⌋,J(N)=\frac N3+\frac23\sum_{k\ge2}w_k k\lfloor N/k\rfloor,J(N)=3N​+32​k≥2∑​wk​k⌊N/k⌋,

where

wk=1k2∑1≤a<k(a,k)=11a.w_k=\frac1{k^2}\sum_{\substack{1\le a<k\\(a,k)=1}}\frac1a.wk​=k21​1≤a<k(a,k)=1​∑​a1​.

For period four, this is (1+1/3)/16=1/12(1+1/3)/16=1/12(1+1/3)/16=1/12.

The normalization ∑wk=1\sum w_k=1∑wk​=1 is an exact theorem. One proof splits a coprime pair (a,b)(a,b)(a,b) into its two descendants (a,a+b)(a,a+b)(a,a+b) and (a+b,b)(a+b,b)(a+b,b). For

Q(a,b)=a+ba2b2,Q(a,b)=\frac{a+b}{a^2b^2},Q(a,b)=a2b2a+b​,

the parent minus the two descendants is 1/[ab(a+b)]1/[ab(a+b)]1/[ab(a+b)]. Summing down the tree telescopes. The remaining boundary tends to zero, giving total two before the symmetry factor of one half. The resulting mass is one.

Now use k⌊N/k⌋=N−(N mod k)k\lfloor N/k\rfloor=N-(N\bmod k)k⌊N/k⌋=N−(Nmodk) to obtain the deficit identity. The long clocks must stay in it. For k>Nk>Nk>N their position is NNN, even though they contribute zero to the floor sum for J(N)J(N)J(N).

The increment identity follows immediately,

DN−DN−1=23(1−∑k∣Nk≥2kwk).D_N-D_{N-1}=\frac23\left(1-\sum_{\substack{k\mid N\\k\ge2}}kw_k\right).DN​−DN−1​=32​​1−k∣Nk≥2​∑​kwk​​.

The same unit-mass accounting gives DN/N→0D_N/N\to0DN​/N→0, hence J(N)/N→1J(N)/N\to1J(N)/N→1. Each fixed clock contributes a vanishing fraction of NNN, and the remaining mass can be made arbitrarily small. Passing from continuous capacity to the original cubic digit energy also requires the separate sampling estimate. Conservation does not settle the finer sampling-defect limit.

The average and the finite-variance theorem

Write rk(x)r_k(x)rk​(x) for the period-kkk position. The stationary average is

D∗(M)=13∑2≤k≤Mwk(k−1)=log⁡2Mπ2+O(log⁡(2M)).\begin{aligned} D_*(M)&=\frac13\sum_{2\le k\le M}w_k(k-1)\\ &=\frac{\log^2 M}{\pi^2}+O(\log(2M)). \end{aligned}D∗​(M)​=31​2≤k≤M∑​wk​(k−1)=π2log2M​+O(log(2M)).​

The centered readout is

YM(x)=23∑2≤k≤Mwk(rk(x)−k−12).Y_M(x)=\frac23\sum_{2\le k\le M}w_k \left(r_k(x)-\frac{k-1}{2}\right).YM​(x)=32​2≤k≤M∑​wk​(rk​(x)−2k−1​).

The uniform compatible-state measure is Haar probability. Under it, two centered clock positions have covariance

Cov⁡(rk,rl)=gcd⁡(k,l)2−112.\operatorname{Cov}(r_k,r_l)=\frac{\gcd(k,l)^2-1}{12}.Cov(rk​,rl​)=12gcd(k,l)2−1​.

Thus clocks of coprime lengths have zero covariance, while shared divisors leave an exact dependence. Summing with the collision weights proves YM→YY_M\to YYM​→Y in mean square, with error O(log⁡(2M)/M)O(\log(2M)/\sqrt M)O(log(2M)/M​).

The finite picture uses Y6Y_6Y6​, whose variance is exactly 1/271/271/27. Its one-step variance is 31/27031/27031/270. Averaging over all sixty phases gives the plotted block variances, bounded by 4/274/274/27. The dotted comparison is H(31/270)H(31/270)H(31/270), the variance that independent mean-zero steps with the same individual variance would have. No random simulation is used.

The finite increments are those of the truncated readout. They are not the full deficit increments, which also include every longer clock. The infinite identity holds in mean square. For each fixed block length, the corresponding mean square along the ordinary integers agrees with the stationary value. This does not give a uniform theorem with the block length and cutoff growing together.

At any fixed nonnegative integer nnn, once M≥nM\ge nM≥n,

YM(n)=Dn−D∗(M)−2n3∑k>Mwk.Y_M(n)=D_n-D_*(M)-\frac{2n}{3}\sum_{k>M}w_k.YM​(n)=Dn​−D∗​(M)−32n​k>M∑​wk​.

The tail tends to zero and D∗(M)D_*(M)D∗​(M) grows without bound. This proves the descent at five and at every other fixed nonnegative integer. The fourth figure computes both the fixed-address path and the stationary standard deviation at thirteen finite cutoffs through 32,768. The shaded band is one standard deviation, not the range of the distribution.

The manuscript also determines the rational-frequency amplitudes, their spectral tail and finite alignment extrema. It proves a symmetric, atomless stationary law with unbounded support and finite moments of every order. Those statements concern the stationary law, not a pointwise value of its mean-square limit at each integer.

Open the clock atlas

Keep the same 1,024 consecutive integer positions and add more clock rows. The first panel stops at period sixteen. The last contains every period from two through 512.

Four colored remainder maps cover the same 1,024 consecutive phases and periods up to sixteen, sixty-four, 256 and 512. Violet marks zero after a reset, teal the advancing hand, and gold the last position. More clock rows reveal diagonal reset lines and repeated fine interference patterns. Four colored remainder maps cover the same 1,024 consecutive phases and periods up to sixteen, sixty-four, 256 and 512. Violet marks zero after a reset, teal the advancing hand, and gold the last position. More clock rows reveal diagonal reset lines and repeated fine interference patterns.
Each row is one clock’s remainders across the same window of integers, colored by how far through its cycle the hand has gone. More rows means more clocks. Open at full resolution to see the packed rows.

Color shows a hand’s position as a fraction of its journey from zero to the last mark. Gold is the last position before a reset. Violet is zero. The color scale is identical in all four panels. These are unweighted remainders, not energy contributions.

The sloping boundaries are the reset lines n=jkn=jkn=jk. Follow one across periods and the synchronized returns become visible. At reading size, the shortest periods are too densely packed to distinguish every cell. Open the image at full resolution to inspect them.

This is an integer window, not a full cycle through all compatible settings. It illustrates the clock geometry without claiming to sample the limiting stationary law.

Individual clocks and the exact accounting

These complementary views separate the clock positions, the deficit arithmetic and the centered path. Each uses the same five-to-six or seven-to-twenty examples as the main figures.

Periods two through six at five and six, with the exact weight beneath each clock. The weights stay fixed while the hands move.
Periods two through six at five and six, with the exact weight beneath each clock. The weights stay fixed while the hands move.
The full deficit accounting at six. An advance of two thirds is outweighed by three resets totaling four fifths.
The full deficit accounting at six. An advance of two thirds is outweighed by three resets totaling four fifths.
The finite period-six centered path and its consecutive changes. The selected block runs from phase seven to phase twenty.
The finite period-six centered path and its consecutive changes. The selected block runs from phase seven to phase twenty.
The paper and its context

The full proofs are in Conservation and Profinite Dynamics in Digit-Collision Energy. The paper separates the exact clock identities, the stationary theorems and the limits that require control along the growing integer resolution.

The profinite adding-one system is classical. The collision calculation selects its particular mass distribution and spectral amplitudes. The leading gcd-sum asymptotic is also classical, due to Hilberdink, Luca and Tóth. Its second term is found in The Secondary Term of the Cubic Law. The conserved-clock construction gives a direct arithmetic route through these quantities.

The cubic energy law itself comes from Digit Collisions and the Cubic Law.

Companion paper: Conservation and Profinite Dynamics in Digit-Collision Energy →
Share

Discussion

Sign in to join the discussion.

← All articlesRead the paper →
← Previous: Magnitude Decorrelation in the Collision Spectrum
Next: The Bias Beneath the Secondary Term →