Petty’s Notebook

The Centered Collision Sum

About this paperRepository PDFZenodo
Cite this paper

A. S. Petty, The Centered Collision Sum, DOI: 10.5281/zenodo.21852556.

Lean proofs

Abstract

Fix a base b≥2b\geq2 and a lag ℓ≥1\ell\geq1. Partition the nonzero residues modulo an integer pp coprime to bb by the leading base-bb digit of r/pr/p, and count the residues whose digit is unchanged by multiplication by bℓb^\ell. Once p>bℓ+1p>b^{\ell+1}, subtracting the bin-scale term leaves an integer that depends only on p mod bℓ+1p\bmod b^{\ell+1}. It is therefore a finite function on the unit group modulo bℓ+1b^{\ell+1}.

The finite function obeys an exact reflection law with mean −1/2-1/2. Center it separately over the fibers of reduction modulo bb. The centered signal is odd under reflection and has zero sum on every reduction fiber. Its Dirichlet-character transform consequently vanishes in every even channel and in every channel induced from modulus bb. Only odd characters that detect structure below the base-level partition can survive. This is the spectral gate.

Two prime limits follow. The unweighted centered average tends to zero by the prime number theorem in arithmetic progressions, and the reciprocal-prime centered sum converges by Mertens’ theorem in arithmetic progressions. The uncentered constructive-mean fluctuation retains the same leading drift at every lag, −b−1blog⁡log⁡x.-\frac{b-1}{b}\log\log x. For prime bases at lag one, the reduction-fiber means are also obtained in closed form.

October 2023 (revised September 2026)
2020 Mathematics Subject Classification: 11A63, 11N13, 11M06

The finite source of convergence

A bounded arithmetic fluctuation can build an unbounded sum over reciprocal primes. This happens when a nonzero mean in a finite residue table is repeated across the prime classes. For the collision deviation, the drift is exact rather than numerical. Its coefficient is −(b−1)/b-(b-1)/b at every lag.

That same finite source gives a way to remove the divergence. Subtract the exact mean inside each reduction family. The centered sum over reciprocal primes then converges at every lag, even while the uncentered sum continues to drift. Centering is not fitted to the primes. It is an identity in a finite table.

The collision count begins with a partition of the unit interval. The fractions r/pr/p lie in its bb equal intervals. Multiplication by bℓb^\ell permutes the nonzero residues whenever pp is coprime to bb. A collision records a residue whose initial interval and final interval agree.

When pp is prime and bb generates its unit group, this count is coordinatewise agreement between a reciprocal digit word and one of its cyclic shifts. It is therefore a periodic Hamming-correlation observable. Lempel and Greenberger give the general sequence setting [2], and Kak and Chatterjee study Hamming distance between prime-reciprocal digit sequences and their cyclic shifts [3]. A neighboring arithmetic line due to Girstmair and Murty–Thangadurai studies digit values on one multiplicative orbit through class numbers and generalized Bernoulli numbers attached to odd characters [4, 5].

The construction below uses the complete nonzero residue system and does not require a primitive-root hypothesis. Its collision-specific content is the finite table modulo bℓ+1b^{\ell+1}, its exact reflection law, and the additional channel cancellation created by centering over reduction fibers. The character expansion and the distribution of primes in fixed progressions are classical tools used to read that finite structure. The lag-one table and global drift of The Collision Fluctuation Sum [1] provide the starting case. Here the table extends to every fixed lag, and centering within each reduction family determines the surviving character support.

The count itself grows with pp. Subtracting its bin-scale term leaves a bounded integer. The first result shows that this integer is not an unstructured sequence. At fixed base and lag, all of its values are stored in one finite table.

Let [x]p[x]_p denote the representative of x mod px\bmod p in {1,…,p−1}\{1,\ldots,p-1\} whenever p∤xp\nmid x. Define δp,b(r)=⌊brp⌋,1≤r<p.\delta_{p,b}(r)=\left\lfloor\frac{br}{p}\right\rfloor, \qquad 1\leq r<p. For a unit multiplier g mod pg\bmod p, define Cp,b(g)=#{r∈{1,…,p−1} | δp,b(r)=δp,b([gr]p)}.C_{p,b}(g)= \#\left\{r\in\{1,\ldots,p-1\}\ \middle|\ \delta_{p,b}(r)=\delta_{p,b}([gr]_p)\right\}. The lag-ℓ\ell count is Cb,ℓ(p)=Cp,b([bℓ]p).C_{b,\ell}(p)=C_{p,b}([b^\ell]_p). Write Sb,ℓ(p)=Cb,ℓ(p)−⌊p−1b⌋.S_{b,\ell}(p)=C_{b,\ell}(p) -\left\lfloor\frac{p-1}{b}\right\rfloor. Primality is not needed for the finite structure.

The all-lag table

Put q=bℓ+1q=b^{\ell+1} and let Gb,ℓ={n∈{0,…,q−1} | ⌊nbℓ⌋=n mod b}.G_{b,\ell}= \left\{n\in\{0,\ldots,q-1\}\ \middle|\ \left\lfloor\frac{n}{b^\ell}\right\rfloor=n\bmod b\right\}. The first and last base-bb digits of every index in Gb,ℓG_{b,\ell} agree. The middle ℓ−1\ell-1 digits are free, so ∣Gb,ℓ∣=bℓ.|G_{b,\ell}|=b^\ell. Both endpoint indices 00 and q−1q-1 belong to this set.

Theorem 1 (Finite determination). Let b≥2b\geq2, ℓ≥1\ell\geq1, and p>qp>q with gcd⁡(p,b)=1\gcd(p,b)=1. Write p=qt+ap=qt+a, where 1≤a<q1\leq a<q. Then Sb,ℓ(p)=Tb,ℓ(a),S_{b,\ell}(p)=T_{b,\ell}(a), where Tb,ℓ(a)=−1−⌊ab⌋+∑n∈Gb,ℓ(⌊(n+1)aq⌋−⌊naq⌋).T_{b,\ell}(a)= -1-\left\lfloor\frac ab\right\rfloor +\sum_{n\in G_{b,\ell}} \left( \left\lfloor\frac{(n+1)a}{q}\right\rfloor -\left\lfloor\frac{na}{q}\right\rfloor \right). Thus Sb,ℓ(p)S_{b,\ell}(p) depends only on the unit class of pp modulo bℓ+1b^{\ell+1}.

Proof. For 1≤r<p1\leq r<p, set n(r)=⌊qrp⌋.n(r)=\left\lfloor\frac{qr}{p}\right\rfloor. The identity ⌊⌊x⌋/k⌋=⌊x/k⌋\lfloor\lfloor x\rfloor/k\rfloor=\lfloor x/k\rfloor for positive integers kk gives δp,b(r)=⌊n(r)bℓ⌋.\delta_{p,b}(r)=\left\lfloor\frac{n(r)}{b^\ell}\right\rfloor. Writing bℓr=p⌊bℓr/p⌋+[bℓr]pb^\ell r=p\lfloor b^\ell r/p\rfloor+[b^\ell r]_p gives δp,b([bℓr]p)=n(r)−b⌊n(r)b⌋=n(r) mod b.\delta_{p,b}([b^\ell r]_p) =n(r)-b\left\lfloor\frac{n(r)}b\right\rfloor =n(r)\bmod b. A collision occurs exactly on the slices indexed by Gb,ℓG_{b,\ell}.

Since gcd⁡(p,b)=1\gcd(p,b)=1 and qq is a power of bb, we have gcd⁡(p,q)=1\gcd(p,q)=1. Every interior slice boundary is therefore nonintegral. The floor difference ⌊(n+1)pq⌋−⌊npq⌋\left\lfloor\frac{(n+1)p}{q}\right\rfloor -\left\lfloor\frac{np}{q}\right\rfloor counts the positive residues in every slice except the terminal one. There it also counts the excluded endpoint pp. Since q−1q-1 belongs to Gb,ℓG_{b,\ell}, Cb,ℓ(p)=−1+∑n∈Gb,ℓ(⌊(n+1)pq⌋−⌊npq⌋).C_{b,\ell}(p)= -1+\sum_{n\in G_{b,\ell}} \left( \left\lfloor\frac{(n+1)p}{q}\right\rfloor -\left\lfloor\frac{np}{q}\right\rfloor \right).

Substitution of p=qt+ap=qt+a contributes tt from each of the bℓb^\ell diagonal slices. Since aa is a unit modulo bb, ⌊p−1b⌋=bℓt+⌊ab⌋.\left\lfloor\frac{p-1}{b}\right\rfloor =b^\ell t+\left\lfloor\frac ab\right\rfloor. Subtracting this expression from (10) proves (9). ◻

Corollary 2. For fixed bb and ℓ\ell, the integers Sb,ℓ(p)S_{b,\ell}(p) are uniformly bounded as pp ranges over integers greater than bℓ+1b^{\ell+1} and coprime to bb.

Proof. They are values of the finite function Tb,ℓT_{b,\ell} on the unit group modulo bℓ+1b^{\ell+1}. ◻

In base ten at lag two, reduction modulo 100100 is not enough. Direct substitution in (9) gives S10,2(1009)=8,S10,2(1109)=−10,S_{10,2}(1009)=8, \qquad S_{10,2}(1109)=-10, although the two arguments agree modulo 100100. Reduction modulo 10001000 always suffices by Theorem 1.

Reflection

The finite table has a fixed center before any prime is sampled.

Theorem 3 (Reflection law). For every a∈(Z/qZ)×a\in(\mathbb Z/q\mathbb Z)^\times, Tb,ℓ(a)+Tb,ℓ(q−a)=−1.T_{b,\ell}(a)+T_{b,\ell}(q-a)=-1.

Proof. For 0≤n<q0\leq n<q, write Dn(a)=⌊(n+1)aq⌋−⌊naq⌋.D_n(a)= \left\lfloor\frac{(n+1)a}{q}\right\rfloor -\left\lfloor\frac{na}{q}\right\rfloor. If 1≤n≤q−21\leq n\leq q-2, none of nana and (n+1)a(n+1)a is divisible by qq. Complementary floors then give Dn(a)+Dn(q−a)=1.D_n(a)+D_n(q-a)=1. At n=0n=0 the two increments sum to zero. At n=q−1n=q-1 they sum to two. Both endpoints lie in Gb,ℓG_{b,\ell}, whose size is bℓb^\ell. Hence ∑n∈Gb,ℓ(Dn(a)+Dn(q−a))=bℓ.\sum_{n\in G_{b,\ell}} \bigl(D_n(a)+D_n(q-a)\bigr)=b^\ell.

Write a=bh+sa=bh+s with 1≤s<b1\leq s<b. Since q/b=bℓq/b=b^\ell, ⌊ab⌋+⌊q−ab⌋=bℓ−1.\left\lfloor\frac ab\right\rfloor +\left\lfloor\frac{q-a}{b}\right\rfloor=b^\ell-1. Equations (9), (13), and (14) now give (11). ◻

Corollary 4 (Grand mean). The exact mean of Tb,ℓT_{b,\ell} on the unit group modulo qq is 1φ(q)∑a∈(Z/qZ)×Tb,ℓ(a)=−12.\frac1{\varphi(q)} \sum_{a\in(\mathbb Z/q\mathbb Z)^\times}T_{b,\ell}(a) =-\frac12.

Proof. Negation pairs the units without a fixed point, and every pair has sum −1-1. ◻

Centering by reduction fibers

Let ρ ⁣:(Z/qZ)×⟶(Z/bZ)×\rho\colon(\mathbb Z/q\mathbb Z)^\times \longrightarrow(\mathbb Z/b\mathbb Z)^\times be reduction modulo bb. For u∈(Z/bZ)×u\in(\mathbb Z/b\mathbb Z)^\times, write Au={a∈(Z/qZ)×∣ρ(a)=u}.A_u=\{a\in(\mathbb Z/q\mathbb Z)^\times\mid \rho(a)=u\}. Each fiber has exactly bℓb^\ell elements. Define its exact mean by μb,ℓ(u)=1bℓ∑a∈AuTb,ℓ(a).\mu_{b,\ell}(u)=\frac1{b^\ell}\sum_{a\in A_u}T_{b,\ell}(a).

Definition 5. The centered collision table is Tb,ℓ∘(a)=Tb,ℓ(a)−μb,ℓ(ρ(a)).T_{b,\ell}^{\circ}(a) =T_{b,\ell}(a)-\mu_{b,\ell}(\rho(a)).

This centering removes one number from each coarse digit family, not one number from the table as a whole. It leaves the variation among the bℓb^\ell lifts of the same base-level class.

Proposition 6 (Centered symmetry). For every unit uu modulo bb and every unit aa modulo qq, μb,ℓ(u)+μb,ℓ(−u)=−1,Tb,ℓ∘(−a)=−Tb,ℓ∘(a),∑a∈AuTb,ℓ∘(a)=0.\begin{aligned} \mu_{b,\ell}(u)+\mu_{b,\ell}(-u)&=-1, \\ T_{b,\ell}^{\circ}(-a)&=-T_{b,\ell}^{\circ}(a), \\ \sum_{a\in A_u}T_{b,\ell}^{\circ}(a)&=0. \end{aligned}

Proof. Negation maps AuA_u bijectively onto A−uA_{-u}. Averaging the reflection law over AuA_u proves (18). Subtracting it from the pointwise reflection law proves (19). Equation (20) is the definition of the fiber mean. ◻

The spectral gate

Every function on the finite unit group has a unique expansion in Dirichlet characters modulo qq. For such a function ff, set f^(χ)=1φ(q)∑a∈(Z/qZ)×f(a)χ(a)‾.\widehat f(\chi)= \frac1{\varphi(q)} \sum_{a\in(\mathbb Z/q\mathbb Z)^\times} f(a)\overline{\chi(a)}. Then f(a)=∑χ mod qf^(χ)χ(a).f(a)=\sum_{\chi\bmod q}\widehat f(\chi)\chi(a). Applied to the finite collision table, this is the collision transform. Character orthogonality and Fourier inversion on finite abelian groups are classical [8, 6]. The parity cancellation below is the standard pairing of a function with its reflection. The second vanishing statement records what the collision table gains from its specific reduction-fiber centering.

A star on a residue sum restricts the sum to unit classes.

Before fiber centering, reflection already removes almost every even channel. The trivial coefficient of Tb,ℓT_{b,\ell} is −1/2-1/2, and every nontrivial even-character coefficient is zero. Fiber centering removes the trivial channel and, by a separate mechanism, every channel that factors through modulus bb.

Theorem 7 (Spectral gate). Let χ\chi be a Dirichlet character modulo q=bℓ+1q=b^{\ell+1}. Then Tb,ℓ∘^(χ)=0\widehat{T_{b,\ell}^{\circ}}(\chi)=0 whenever either of the following conditions holds.

  1. χ\chi is even.

  2. χ\chi factors through reduction modulo bb.

Consequently, the centered collision transform is supported only on odd characters that do not factor through modulus bb.

Proof. If χ(−1)=1\chi(-1)=1, pair aa with −a-a in (21). Equation (19) makes the two summands cancel.

Now suppose χ=ψ∘ρ\chi=\psi\circ\rho for a character ψ\psi modulo bb. Grouping the transform by reduction fibers gives ∑a mod q∗Tb,ℓ∘(a)χ(a)‾=∑u mod b∗ψ(u)‾∑a∈AuTb,ℓ∘(a).\sum_{a\bmod q}^{*} T_{b,\ell}^{\circ}(a)\overline{\chi(a)} =\sum_{u\bmod b}^{*}\overline{\psi(u)} \sum_{a\in A_u}T_{b,\ell}^{\circ}(a). Every inner sum is zero by (20). This proves the second vanishing statement. ◻

Corollary 8. If bb is prime and ℓ=1\ell=1, the only possible nonzero coefficients of the centered collision transform belong to primitive odd characters modulo b2b^2.

Proof. A character modulo b2b^2 is imprimitive exactly when it factors through modulus bb. Theorem 7 also requires odd parity. ◻

The gate is exact. It does not say that every remaining coefficient is nonzero. It says that reflection and coarse-family centering leave no other place for the signal to live.

Prime averages

For x>qx>q, define Pb,ℓ∘(x)=∑q<p≤xTb,ℓ∘(p mod q),Hb,ℓ∘(x)=∑q<p≤xTb,ℓ∘(p mod q)p.\begin{aligned} P_{b,\ell}^{\circ}(x) &=\sum_{q<p\leq x}T_{b,\ell}^{\circ}(p\bmod q), \\ H_{b,\ell}^{\circ}(x) &=\sum_{q<p\leq x}\frac{T_{b,\ell}^{\circ}(p\bmod q)}p. \end{aligned} Both sums run over primes.

Theorem 9 (Centered prime limits). For every fixed base b≥2b\geq2 and lag ℓ≥1\ell\geq1, Pb,ℓ∘(x)=o(π(x)),lim⁡x→∞Hb,ℓ∘(x)=Kb,ℓ\begin{aligned} P_{b,\ell}^{\circ}(x)&=o(\pi(x)), \\ \lim_{x\to\infty}H_{b,\ell}^{\circ}(x)&=K_{b,\ell} \end{aligned} for a finite real constant Kb,ℓK_{b,\ell}.

Proof. The prime number theorem in arithmetic progressions gives π(x;q,a)=Li⁡(x)φ(q)+o(Li⁡(x))\pi(x;q,a)=\frac{\operatorname{Li}(x)}{\varphi(q)} +o\bigl(\operatorname{Li}(x)\bigr) for each unit class aa modulo the fixed modulus qq [8]. The total sum of Tb,ℓ∘T_{b,\ell}^{\circ} is zero by (20). Multiplying the class asymptotics by the finite table entries and adding proves (26).

By Mertens’ theorem in arithmetic progressions [7, 8], there are constants M(q,a)M(q,a) for which ∑p≤xp≡a(mod q)1p=1φ(q)log⁡log⁡x+M(q,a)+o(1).\sum_{\substack{p\leq x\\p\equiv a\, (\mathrm{mod}\ q)}}\frac1p =\frac1{\varphi(q)}\log\log x+M(q,a)+o(1). Again the coefficient of the common log⁡log⁡x\log\log x term is the total sum of the centered table, so it vanishes. The finite sum of the remaining class constants converges to Kb,ℓK_{b,\ell}. ◻

Combining Theorems 7 and 9 gives the character form Kb,ℓ=∑χmodqχ(−1)=−1χ does not factor through bTb,ℓ∘^(χ)lim⁡x→∞∑q<p≤xχ(p)p.K_{b,\ell} =\sum_{\substack{\chi\bmod q\\ \chi(-1)=-1\\ \chi\text{ does not factor through }b}} \widehat{T_{b,\ell}^{\circ}}(\chi) \lim_{x\to\infty}\sum_{q<p\leq x}\frac{\chi(p)}p. The outer sum is finite. The gate therefore survives intact at the prime harmonic boundary. Every character in (30) is odd and therefore nonprincipal. Its individual reciprocal-prime limit exists because the common Mertens term cancels.

Drift at every lag

The centered table converges because every coarse family has been balanced exactly. The constructive-mean fluctuation keeps the coarse bias and therefore has a different limit law.

Let p>b+1p>b+1 be prime and write p−1=bQ+R,0≤R<b.p-1=bQ+R, \qquad 0\leq R<b. Call a unit multiplier g≢1(modp)g\not\equiv1\pmod p constructive when its collision count is positive.

Proposition 10 (Constructive mean). The exact mean collision count over the constructive unit multipliers g≢1(modp)g\not\equiv1\pmod p is C‾p,b=Q+QRp−b−1.\overline C_{p,b}=Q+\frac{QR}{p-b-1}.

Proof. For a unit multiplier g≢1(modp)g\not\equiv1\pmod p, introduce the coordinate c(g)=[b(1−g)−1]pc(g)=[b(1-g)^{-1}]_p in the nonzero residues modulo pp. Euclidean division gives br=pδp,b(r)+[br]p.br=p\delta_{p,b}(r)+[br]_p. Since pp is invertible modulo bb, two residues have the same digit exactly when their images under multiplication by bb agree modulo bb. Permute the nonzero residues by multiplication by bb and call the resulting coordinate yy. A collision is then a solution of [gy]p=y+mb[gy]_p=y+mb for a nonzero integer mm with ∣m∣≤Q|m|\leq Q. The definition of c(g)c(g) turns this relation into y≡−mc(g)(modp)y\equiv-mc(g)\pmod p. Pairing mm with −m-m gives Cp,b(g)=2#{1≤m≤Q∣[mc(g)]p>mb}.C_{p,b}(g)=2\#\{1\leq m\leq Q\mid [mc(g)]_p>mb\}. If c(g)<bc(g)<b, then [mc(g)]p=mc(g)<mb[mc(g)]_p=mc(g)<mb for every 1≤m≤Q1\leq m\leq Q. If c(g)>bc(g)>b, the index m=1m=1 contributes. The value c(g)=bc(g)=b would force g=0g=0 and cannot occur for a unit multiplier. Thus the count vanishes exactly when c(g)∈{1,…,b−1}c(g)\in\{1,\ldots,b-1\}. As gg runs through the nonidentity multipliers, 1−g1-g runs through the nonzero classes other than 11. Inversion followed by multiplication by bb is therefore a bijection onto {1,…,p−1}∖{b}\{1,\ldots,p-1\}\setminus\{b\}. Exactly b−1b-1 nonidentity multipliers have zero collisions.

Let ndn_d be the number of residues in digit bin dd. For a fixed residue rr, the images [gr]p[gr]_p run through every nonzero residue other than rr as gg runs through the nonidentity multipliers. Reversing the order of summation gives ∑g≠1Cp,b(g)=∑d=0b−1nd(nd−1).\sum_{g\ne1}C_{p,b}(g)=\sum_{d=0}^{b-1}n_d(n_d-1). There are RR bins of size Q+1Q+1 and b−Rb-R bins of size QQ, so the last expression is Q(b(Q−1)+2R).Q\bigl(b(Q-1)+2R\bigr). The zero multipliers contribute nothing. Dividing by the p−b−1p-b-1 constructive multipliers and simplifying proves (34). ◻

For p>qp>q, the multiplier [bℓ]p[b^\ell]_p is nonidentity and constructive. It cannot be the identity because bℓ−1<pb^\ell-1<p. If its coordinate c([bℓ]p)c([b^\ell]_p) were an integer kk between 11 and b−1b-1, then k(1−bℓ)≡b(modp).k(1-b^\ell)\equiv b\pmod p. The difference between the two sides is nonzero and has absolute value at most (b−1)(bℓ−1)+b<q<p(b-1)(b^\ell-1)+b<q<p, which is impossible. Define Δb,ℓ(p)=Cb,ℓ(p)−C‾p,b.\Delta_{b,\ell}(p)=C_{b,\ell}(p)-\overline C_{p,b}. Equations (4) and (34) give Δb,ℓ(p)=Sb,ℓ(p)−QRp−b−1.\Delta_{b,\ell}(p) =S_{b,\ell}(p)-\frac{QR}{p-b-1}.

Theorem 11 (All-lag drift). For every fixed base b≥2b\geq2 and lag ℓ≥1\ell\geq1, there is a real constant κb,ℓ\kappa_{b,\ell} such that ∑q<p≤xΔb,ℓ(p)p=−b−1blog⁡log⁡x+κb,ℓ+o(1).\sum_{q<p\leq x}\frac{\Delta_{b,\ell}(p)}p =-\frac{b-1}{b}\log\log x+\kappa_{b,\ell}+o(1). The leading coefficient is independent of the lag.

Proof. The finite table has mean −1/2-1/2 by Corollary 4. Mertens’ theorem in arithmetic progressions therefore gives ∑q<p≤xSb,ℓ(p)p=−12log⁡log⁡x+κb,ℓ(S)+o(1).\sum_{q<p\leq x}\frac{S_{b,\ell}(p)}p =-\frac12\log\log x+\kappa_{b,\ell}^{(S)}+o(1). The correction in (37) satisfies QRp−b−1=Rb+R(b−R)b(p−b−1).\frac{QR}{p-b-1} =\frac Rb+\frac{R(b-R)}{b(p-b-1)}. After division by pp, the second term on the right contributes an absolutely convergent series. If uu runs through the least positive representatives of the reduced residue classes modulo bb and R=u−1R=u-1, reflection gives 1φ(b)∑u mod b∗u−1b=12−1b.\frac1{\varphi(b)}\sum_{u\bmod b}^{*}\frac{u-1}{b} =\frac12-\frac1b. Mertens’ theorem in arithmetic progressions applies once more. The coefficient in (38) is consequently −12−(12−1b)=−b−1b.-\frac12-\left(\frac12-\frac1b\right) =-\frac{b-1}{b}. ◻

The lag changes the finite table, the surviving character coefficients, and the additive constant. It does not change the leading drift carried by the coarse arithmetic mean.

Prime-base columns

At lag one, prime bases permit a closed formula for every reduction fiber. The column means are exact.

Lemma 12 (A floor sum). Let bb be prime, 1≤s<b1\leq s<b, and c≥0c\geq0. Put Hc(s)=∑k=0b−1⌊c(bk+s)b2⌋.H_c(s)=\sum_{k=0}^{b-1} \left\lfloor\frac{c(bk+s)}{b^2}\right\rfloor. If b∤cb\nmid c, then Hc(s)=(c−1)(b−1)2+⌊csb⌋.H_c(s)=\frac{(c-1)(b-1)}2+ \left\lfloor\frac{cs}{b}\right\rfloor. If c=bhc=bh, then Hc(s)=hb(b−1)2+b⌊hsb⌋.H_c(s)=\frac{hb(b-1)}2+b\left\lfloor\frac{hs}{b}\right\rfloor.

Proof. Put v=⌊cs/b⌋v=\lfloor cs/b\rfloor. For every kk, ⌊c(bk+s)b2⌋=⌊ck+vb⌋.\left\lfloor\frac{c(bk+s)}{b^2}\right\rfloor =\left\lfloor\frac{ck+v}{b}\right\rfloor. If b∤cb\nmid c, the residues ck+v mod bck+v\bmod b run once through all classes modulo bb. Subtracting their sum from ∑k(ck+v)\sum_k(ck+v) proves (42). If c=bhc=bh, direct summation proves (43). ◻

Theorem 13 (Prime-base column law). Let bb be prime and ℓ=1\ell=1. For every s∈{1,…,b−1}s\in\{1,\ldots,b-1\}, μb,1(s)=sb−1.\mu_{b,1}(s)=\frac{s}{b}-1.

Proof. At lag one, Gb,1={d(b+1)∣0≤d<b}.G_{b,1}=\{d(b+1)\mid0\leq d<b\}. Sum the increment part of (9) over the fiber a=bk+sa=bk+s, where 0≤k<b0\leq k<b. In the notation of Lemma 12, this gives ∑d=0b−1(Hd(b+1)+1(s)−Hd(b+1)(s)).\sum_{d=0}^{b-1} \bigl(H_{d(b+1)+1}(s)-H_{d(b+1)}(s)\bigr). The term with d=0d=0 is zero. For 1≤d≤b−21\leq d\leq b-2, Lemma 12 gives b−12+⌊(d+1)sb⌋−⌊dsb⌋.\frac{b-1}{2} +\left\lfloor\frac{(d+1)s}{b}\right\rfloor -\left\lfloor\frac{ds}{b}\right\rfloor. At the endpoint d=b−1d=b-1, the two cases of Lemma 12 give Hb2(s)=b2(b−1)2+bs,Hb2−1(s)=(b2−2)(b−1)2+bs−1,H_{b^2}(s)=\frac{b^2(b-1)}2+bs, \qquad H_{b^2-1}(s)=\frac{(b^2-2)(b-1)}2+bs-1, so the endpoint contribution is bb. The interior floor differences telescope to s−1s-1. This also covers b=2b=2, when the interior sum is empty and s=1s=1. Thus (45) equals b(b−1)2+s.\frac{b(b-1)}2+s. The remaining terms in (9) sum to ∑k=0b−1(−1−k)=−b−b(b−1)2.\sum_{k=0}^{b-1}(-1-k) =-b-\frac{b(b-1)}2. Thus the sum of Tb,1T_{b,1} over the fiber is s−bs-b. Division by the fiber size bb proves (44). ◻

For base three, the two means are −2/3-2/3 and −1/3-1/3. These values are forced by the collision columns themselves. They are not fitted from prime data.

Base ten

Base ten is composite, so Theorem 13 does not apply. Exact evaluation of the forty entries of T10,1T_{10,1} gives μ10,1(1)=−1710,μ10,1(3)=−910,μ10,1(7)=−110,μ10,1(9)=710.\mu_{10,1}(1)=-\frac{17}{10},\quad \mu_{10,1}(3)=-\frac9{10},\quad \mu_{10,1}(7)=-\frac1{10},\quad \mu_{10,1}(9)=\frac7{10}. Their average is −1/2-1/2, and the first pairs with the fourth while the second pairs with the third under (18).

The partial sums below use the exact means in (47). Every included prime is greater than 100100.

The centered reciprocal-prime sum in base ten at lag one. Theorem 9 proves convergence. The values show the finite scale only.
included primes largest prime H10,1∘H_{10,1}^{\circ}
1,0001{,}000 8,1678{,}167 0.0816431730.081643173
10,00010{,}000 105,019105{,}019 0.0770046720.077004672
100,000100{,}000 1,300,0511{,}300{,}051 0.0773006910.077300691
664,554664{,}554 9,999,9919{,}999{,}991 0.0772155750.077215575

nfield [9] checks the finite identities at explicit ranges. Its all-lag verification exhausts bases two through twelve and lags one through three. It also checks 161 direct collision representatives, the prime-base column law through base 9797, and every value in Table 1.

Centered harmonic support

The construction starts with a finite count. At every lag, one table contains the entire collision deviation for all sufficiently large inputs. Reflection fixes its center. Reduction modulo the base then separates the coarse families from the variation inside each family.

Centering by those families does more than improve a numerical sum. It removes exact spectral channels. Every even character disappears, and every character inherited from the base-level partition disappears. The remaining signal is odd and varies within the original reduction families.

The two prime limits fix the analytic boundary. Ordinary prime averaging cancels the centered signal, while reciprocal-prime weighting reaches a finite value assembled only from the surviving channels. The uncentered fluctuation still carries a universal logarithmic drift whose coefficient does not depend on lag.

The Fourier coordinates, the prime number theorem in progressions, and Mertens’ theorem are inherited machinery. The result here is the exact all-lag collision table, the two-stage centering that determines its surviving channels, and the resulting separation between a convergent centered sum and the lag-independent drift of the uncentered fluctuation.

What geometry do the individual cells of the lag-one table obey?

References

[1]A. S. Petty, The Collision Fluctuation Sum, April 2023. https://doi.org/10.5281/zenodo.21852234.

[2]A. Lempel and H. Greenberger, Families of sequences with optimal Hamming-correlation properties, IEEE Trans. Inform. Theory 20 (1974), no. 1, 90–94. https://doi.org/10.1109/TIT.1974.1055169.

[3]S. C. Kak and A. Chatterjee, On decimal sequences, IEEE Trans. Inform. Theory 27 (1981), no. 5, 647–652. https://doi.org/10.1109/TIT.1981.1056394.

[4]K. Girstmair, The digits of 1/p1/p in connection with class number factors, Acta Arith. 67 (1994), no. 4, 381–386. https://doi.org/10.4064/aa-67-4-381-386.

[5]M. R. Murty and R. Thangadurai, The class number of Q(−p)\mathbb{Q}(\sqrt{-p}) and digits of 1/p1/p, Proc. Amer. Math. Soc. 139 (2011), no. 4, 1277–1289. https://doi.org/10.1090/S0002-9939-2010-10560-9.

[6]A. Terras, Fourier Analysis on Finite Groups and Applications, Cambridge University Press, 1999. https://doi.org/10.1017/CBO9780511626265.

[7]K. S. Williams, Mertens' theorem for arithmetic progressions, J. Number Theory 6 (1974), no. 5, 353–359. https://doi.org/10.1016/0022-314X(74)90032-8.

[8]H. Davenport, Multiplicative Number Theory, 3rd ed., Springer, 2000.

[9]A. S. Petty, nfield, software repository. https://github.com/alexspetty/nfield