Petty’s Notebook

Conservation and Profinite Dynamics in Digit-Collision Energy

About this paperRepository PDFZenodo
Cite this paper

A. S. Petty, Conservation and Profinite Dynamics in Digit-Collision Energy, DOI: 10.5281/zenodo.22682715.

Lean proofs

Abstract

The finite collision boundary, with its prescribed square energy, uniquely selects a positive arithmetic mass of total one. Its capacity deficit at resolution NN is two-thirds of that mass’s mean remainder. The compatible remainders form the profinite odometer. After subtraction of the truncated stationary mean, the age observables converge in Haar L2L^2 to a potential with an explicit Jordan-totient variance and a quantitative approximation rate. The deficit increment is its coboundary, so every stationary block sum has bounded variance, uniformly in the block length. A primitive additive-conductor expansion separates the odd sawtooth component from the even divisibility correction. The selected amplitudes satisfy an exact Jordan-totient refinement law and a mixed Dirichlet L(1)L(2)L(1)L(2) identity. Their conductor expansion gives the sharp leading constant in the Haar spectral tail. Conditional means have unique aligned extrema and sharp maximal order 2eγπ−2(log⁡log⁡L)22e^\gamma\pi^{-2}(\log\log L)^2. Positive Möbius regrouping also solves the finite conductor optimization, including the gap after its two extreme classes are removed. The stationary law is symmetric, atomless, and unbounded, with quantitative concentration and tail bounds. The canonical centered cutoffs nevertheless diverge at every ordinary integer. This identifies the distinct arithmetic transfer problem that remains after the stationary dynamics has been determined.

July 31, 2026 (revised September 11, 2026)
2020 Mathematics Subject Classification: Primary 11N37; Secondary 11A25, 37A45, 60F05

Capacity deficit and conserved mass

The capacity deficit admits an exact description by weighted remainders. Primitive-pair reduction of the affine boundary energy, followed by divisor inversion, determines the weight of every period. At every resolution, the same positive mass occupies the remainder classes of a countable collection of periods. Increasing resolution advances every remainder by one. Periods dividing the new integer reset, and the deficit records the change in their mean position.

The continuous quantity is J(N)=13∑r,s≤N(r,s)2rs,DN=N−J(N),D0=0.J(N)=\frac13\sum_{r,s\le N}\frac{(r,s)^2}{rs}, \qquad D_N=N-J(N),\qquad D_0=0. It arises from the squared sawtooth response obtained by straightening the centered collision table in The Cubic Law for Digit-Collision Energy and The Secondary Term in Digit-Collision Energy [7, 8]. Define Hk∗=∑1≤a<k(a,k)=11a,wk=Hk∗k2,ak=kwk(k≥2),H_k^*=\sum_{\substack{1\le a<k\\(a,k)=1}}\frac1a,\qquad w_k=\frac{H_k^*}{k^2},\qquad a_k=kw_k\quad(k\ge2), and set w1=a1=0w_1=a_1=0. The exact identities developed below are ∑k≥2wk=1,DN=23∑k≥2wk(N mod k).\sum_{k\ge2}w_k=1,\qquad D_N=\frac23\sum_{k\ge2}w_k(N\bmod k). The boundary response and its square-energy rule uniquely determine this probability mass. Equivalently, the weights are selected by the reciprocal-address budget ∑k∣nk3wk=nHn−1(n≥2).\sum_{k\mid n}k^3w_k=nH_{n-1}\qquad(n\ge2).

Proposition 1 derives the mass and exact readout directly from the finite capacity identity. The potential is then constructed from these weights. No inverse theorem for a larger class of boundary kernels is required for this construction.

For a compatible residue system x∈Z^x\in\widehat{\mathbb Z}, let rk(x)r_k(x) be its least nonnegative residue modulo kk, and put Ek(x)=rk(x)−k−12,YM(x)=23∑2≤k≤MwkEk(x).E_k(x)=r_k(x)-\frac{k-1}{2},\qquad Y_M(x)=\frac23\sum_{2\le k\le M}w_kE_k(x). Haar expectation on Z^\widehat{\mathbb Z} is denoted by E\mathbb E. The central analytic conclusion is YM⟶Y in L2,g(x)=Y(x)−Y(x−1),Y_M\longrightarrow Y\text{ in }L^2,\qquad g(x)=Y(x)-Y(x-1), where g(x)=23(1−∑k≥2ak1k∣x).g(x)=\frac23\left(1-\sum_{k\ge2}a_k\mathbf 1_{k\mid x}\right). At positive integers, g(N)=DN−DN−1g(N)=D_N-D_{N-1}. If ηq=∑q∣kwk\eta_q=\sum_{q\mid k}w_k and J2(q)=q2∏p∣q(1−p−2)J_2(q)=q^2\prod_{p\mid q}(1-p^{-2}), the potential has variance σ2=EY2=127∑q≥2J2(q)ηq2>0,∥Y−YM∥2≪log⁡(2M)M.\sigma^2=\mathbb EY^2=\frac1{27}\sum_{q\ge2}J_2(q)\eta_q^2>0, \qquad \left\|Y-Y_M\right\|_2\ll\frac{\log(2M)}{\sqrt M}. Sections 3 and 4 prove the potential and coboundary identities. Theorem 12 defines the potential directly from boundary increments through cylinder averages, without using the weight formula in its defining condition.

Section 6 determines every ηq\eta_q through a mixed odd-character L(1)L(2)L(1)L(2) moment and evaluates the leading Haar energy beyond a conductor cutoff. These exact moment identities recover the weights. Leading asymptotics alone do not: a nonzero perturbation at periods two, three and four preserves the truncated stationary profile and every sufficiently large conductor amplitude.

The underlying odometer and its rational spectrum are classical [3]. The arithmetic function 1+∑k∣nak1+\sum_{k\mid n}a_k is the triangular gcd sum studied in [4]. In particular, their Theorem 5.1 gives 3J(N)=3N+O(log⁡2(2N))3J(N)=3N+O(\log^2(2N)), so the continuous leading law and this error bound are already known. The mass formula also occurs in the reduced-ratio capacity calculation of [8]. The conserved-state construction below recovers these facts directly. Its further results concern the square-integrable potential, the exact amplitude formulas and sharp spectral tail, maximal alignment and finite optimization, and quantitative concentration of the selected law. The cotangent and harmonic expansions used in the amplitude calculation are classical [2]. Related work on sawtooth distributions and arithmetic error terms includes [5]. The concentration argument uses Bernoulli activation and Sperner’s antichain estimate, in the classical framework discussed in [1].

All stationary assertions refer to Haar measure or to limits explicitly proved to equal Haar averages. The resolution variable NN is an integer cutoff. The separate prime-square sampling defect is not estimated by replacing this cutoff with an independent random phase.

Capacity, unit mass, and the resolution equation

Use the midpoint convention saw(t)={{t}−12,t∉Z,0,t∈Z.\mathop{\mathrm{saw}}(t)= \begin{cases}\{t\}-\tfrac12,&t\notin\mathbb Z,\\0,&t\in\mathbb Z.\end{cases} At an odd prime pp, the centered floor response has the form Fp(a)=∑d=0p−1(⌊(d(p+1)+1)ap2⌋−⌊d(p+1)ap2⌋)−ap.\mathcal F_p(a)= \sum_{d=0}^{p-1}\left( \left\lfloor\frac{(d(p+1)+1)a}{p^2}\right\rfloor -\left\lfloor\frac{d(p+1)a}{p^2}\right\rfloor\right)-\frac ap. Writing [u]p2[u]_{p^2} for the least nonnegative residue, straightening gives Fp([(1−p)A]p2)=2∑r=1p−1saw(rA/p2).\mathcal F_p([(1-p)A]_{p^2}) =2\sum_{r=1}^{p-1}\mathop{\mathrm{saw}}(rA/p^2). Indeed, multiplication by 1−p1-p sends the two endpoint lists modulo p2p^2 to dd and d+1−pd+1-p. Converting the floors to fractional parts and pairing opposite indices gives the formula, including the midpoint values. This is the response underlying the continuous capacity in [8].

At integer resolution NN, its boundary measure is MN=∑r=1N∑j=0r−1δj/r=∑k=1N⌊Nk⌋∑a∈Ukδa/k,\mathcal M_N=\sum_{r=1}^N\sum_{j=0}^{r-1}\delta_{j/r} =\sum_{k=1}^N\left\lfloor\frac Nk\right\rfloor \sum_{a\in U_k}\delta_{a/k}, where Uk=(Z/kZ)×U_k=(\mathbb Z/k\mathbb Z)^\times for k≥2k\ge2 and U1={0}U_1=\{0\}. Reducing each rational address proves the multiplicity on the right. The mean-zero periodic affine response is specified by BN′=N(N+1) dt−2MN,J(N)=∫01BN(t)2 dt.\mathcal B_N'=N(N+1)\,dt-2\mathcal M_N,\qquad J(N)=\int_0^1\mathcal B_N(t)^2\,dt. The derivative and mean determine the response almost everywhere; midpoint jump values fix its sampled values. In particular BN(t)=2∑r≤Nsaw(rt).\mathcal B_N(t)=2\sum_{r\le N}\mathop{\mathrm{saw}}(rt). The prescribed response and quadratic pairing are part of the selection.

The ramp overlap has a finite affine-cell proof. Write r=gar=ga, s=gks=gk, with (a,k)=1(a,k)=1. The common dilation leaves the integral unchanged. On t=(j+u)/(ak)t=(j+u)/(ak), 0≤j<ak0\le j<ak, 0<u<10<u<1, the residues j mod aj\bmod a and j mod kj\bmod k are independent and uniform. At fixed uu, the two ramp means are (u−1/2)/k(u-1/2)/k and (u−1/2)/a(u-1/2)/a. Hence ∫01saw(rt)saw(st) dt=(r,s)212rs.\int_0^1\mathop{\mathrm{saw}}(rt)\mathop{\mathrm{saw}}(st)\,dt=\frac{(r,s)^2}{12rs}. This proves (1) directly from (11). The resulting gcd/lcm kernel is classical [4].

Proposition 1 (Boundary selection and exact readout). The weights in (2) are positive, sum to one, and obey wk≪log⁡(2k)/k2w_k\ll\log(2k)/k^2. They are the unique coefficients, with w1=0w_1=0, representing the boundary energy by (13) at every integer resolution. For every N≥0N\ge0, J(N)=N3+23∑k≥2wkk⌊Nk⌋,DN=23∑k≥2wkrk(N),DN−DN−1=23(1−∑k∣Nak)(N≥1).\begin{aligned} J(N)&=\frac N3+\frac23\sum_{k\ge2}w_k k \left\lfloor\frac Nk\right\rfloor,\\ D_N&=\frac23\sum_{k\ge2}w_kr_k(N),\\ D_N-D_{N-1} &=\frac23\left(1-\sum_{k\mid N}a_k\right)\quad(N\ge1). \end{aligned}

Proof. In (1), the diagonal contributes N/3N/3. For an off-diagonal pair write (r,s)=(da,dk)(r,s)=(da,dk) with a<ka<k and (a,k)=1(a,k)=1. Its contribution before the factor 1/31/3 is 1/(ak)1/(ak), with ⌊N/k⌋\lfloor N/k\rfloor choices of dd and two orientations. This proves (13). Its consecutive differences determine ∑k∣nkwk\sum_{k\mid n}kw_k, so finite Möbius inversion proves uniqueness. The elementary bound follows from Hk∗≤Hk−1≤1+log⁡kH_k^*\le H_{k-1}\le1+\log k.

Normalization follows from the same primitive-pair geometry. For positive coprime a,ba,b, put Q(a,b)=(a+b)/(a2b2)Q(a,b)=(a+b)/(a^2b^2). Then Q(a,b)−Q(a,a+b)−Q(a+b,b)=1ab(a+b).Q(a,b)-Q(a,a+b)-Q(a+b,b)=\frac1{ab(a+b)}. Every primitive pair except (1,1)(1,1) has a unique parent obtained by subtracting its smaller coordinate from the larger. The square a,b≤Ma,b\le M contains every such parent. Summation therefore gives ∑a,b≤M(a,b)=11ab(a+b)=2−EM,0≤EM≤2(HM+1)M.\sum_{\substack{a,b\le M\\(a,b)=1}}\frac1{ab(a+b)} =2-\mathcal E_M,\qquad 0\le\mathcal E_M\le\frac{2(H_M+1)}M. For the last bound, an outgoing child has a+b>Ma+b>M. For fixed aa there are aa possible b≤Mb\le M, and Q(a,a+b)≤1/(a2M)+1/(aM2)Q(a,a+b)\le1/(a^2M)+1/(aM^2). The other children give the reflected bound. Thus EM→0\mathcal E_M\to0. Putting k=a+bk=a+b and symmetrizing nonnegative sums now gives ∑k≥2wk=∑a,b≥1(a,b)=11a(a+b)2=12∑a,b≥1(a,b)=11ab(a+b)=1.\sum_{k\ge2}w_k =\sum_{\substack{a,b\ge1\\(a,b)=1}}\frac1{a(a+b)^2} =\frac12\sum_{\substack{a,b\ge1\\(a,b)=1}}\frac1{ab(a+b)}=1. The identity k⌊N/k⌋+rk(N)=Nk\lfloor N/k\rfloor+r_k(N)=N, averaged against unit mass, proves (14). Its infinite sum converges because rk(N)≤Nr_k(N)\le N. Finally rk(N)−rk(N−1)=1−k1k∣Nr_k(N)-r_k(N-1)=1-k\mathbf 1_{k\mid N} proves (15). ◻

Corollary 2 (Reciprocal-address characterization). Among sequences with v1=0v_1=0, the identities ∑k∣nk3vk=nHn−1(n≥2)\sum_{k\mid n}k^3v_k=nH_{n-1}\qquad(n\ge2) select exactly vk=wkv_k=w_k. Among unit masses on k≥2k\ge2, the exact deficit DND_N at every resolution, or its exact reset law, also suffices.

Proof. Reducing a/na/n to b/kb/k partitions its reciprocal sum into ∑k∣nkHk∗\sum_{k\mid n}kH_k^*. Inversion gives vn=1n3∑d∣nμ(n/d)dHd−1.v_n=\frac1{n^3}\sum_{d\mid n}\mu(n/d)dH_{d-1}. For any unit mass the age Dv(N)=23∑vkrk(N)D_v(N)=\frac23\sum v_kr_k(N) is finite and satisfies Dv(N)−Dv(N−1)=23(1−∑k∣Nkvk)D_v(N)-D_v(N-1)=\frac23(1-\sum_{k\mid N}kv_k). Finite inversion recovers each coefficient. ◻

On the disjoint union of cycles Ω={(k,r):k≥2, 0≤r<k}\Omega=\{(k,r):k\ge2,\ 0\le r<k\}, define πN(k,r)=wk1r=rk(N),T(k,r)=(k,r+1 mod k).\pi_N(k,r)=w_k\mathbf 1_{r=r_k(N)},\qquad T(k,r)=(k,r+1\bmod k). Then πN+1=T∗πN\pi_{N+1}=T_*\pi_N, and the mass on each cycle remains wkw_k. The age A(k,r)=rA(k,r)=r has expectation 3DN/23D_N/2 under πN\pi_N. This construction retains compatibility between periods; it does not assign independent phases to them.

The first downward reset already occurs at resolution six. The divisor sum and its effect on the deficit are N∑k∣Nakg(N)DN45/61/913/955/127/1811/666/5−2/1517/10\begin{array}{c|ccc} N&\sum_{k\mid N}a_k&g(N)&D_N\\ 4&5/6&1/9&13/9\\ 5&5/12&7/18&11/6\\ 6&6/5&-2/15&17/10 \end{array} At six, the periods two, three, and six reset together. Their weighted reset exceeds the unit advance. The total mass is unchanged, while its mean remainder decreases.

The next corollary recovers the continuous leading law already contained in [4], using the conserved mass.

Corollary 3. J(N)/N→1J(N)/N\to1 and DN≪log⁡2(2N)D_N\ll\log^2(2N).

Proof. For fixed kk, rk(N)/N→0r_k(N)/N\to0, and this ratio is at most one. Dominated convergence against the unit weights proves DN/N→0D_N/N\to0. Splitting (14) at k=Nk=N gives DN≤23(∑k≤Nkwk+N∑k>Nwk)≪log⁡2(2N).D_N\le\frac23\left(\sum_{k\le N}kw_k+ N\sum_{k>N}w_k\right)\ll\log^2(2N). ◻

The finite energy in [8] satisfies Ep=p2(J(p−1)−Sp)E_p=p^2(J(p-1)-\mathcal S_p). The continuous leading law transfers to Ep∼p3E_p\sim p^3 using the separate estimate Sp=o(p)\mathcal S_p=o(p). The stronger sampling limit Sp→1\mathcal S_p\to1 is not a consequence of Corollary 3.

Proposition 4 (Truncated stationary age). Let D∗(M)=13∑k≤Mwk(k−1).D_*(M)=\frac13\sum_{k\le M}w_k(k-1). Then D∗(M)=log⁡2Mπ2+O(log⁡(2M)).D_*(M)=\frac{\log^2M}{\pi^2}+O(\log(2M)). The cycle-stationary measure π∗(k,r)=wk/k\pi_*(k,r)=w_k/k has infinite mean age. The Cesàro averages of πN\pi_N converge to π∗\pi_* in total variation.

Proof. Writing Hu(2)=∑j≤uj−2H_u^{(2)}=\sum_{j\le u}j^{-2}, the identity ∑j≤tHj−1j=H⌊t⌋2−H⌊t⌋(2)2\sum_{j\le t}\frac{H_{j-1}}j =\frac{H_{\lfloor t\rfloor}^2-H_{\lfloor t\rfloor}^{(2)}}2 and Möbius inversion give ∑k≤Mak=12∑d≤Mμ(d)d2(H⌊M/d⌋2−H⌊M/d⌋(2))=log⁡2M2ζ(2)+O(log⁡(2M)).\sum_{k\le M}a_k =\frac12\sum_{d\le M}\frac{\mu(d)}{d^2} \bigl(H_{\lfloor M/d\rfloor}^2-H_{\lfloor M/d\rfloor}^{(2)}\bigr) =\frac{\log^2M}{2\zeta(2)}+O(\log(2M)). Subtracting ∑k≤Mwk=O(1)\sum_{k\le M}w_k=O(1) and dividing by three proves (16). The mean age is infinite by monotone convergence. For the total-variation assertion, first retain finitely many cycles. Their time averages become uniform. The discarded mass is bounded by ∑k>Kwk\sum_{k>K}w_k, independently of the averaging length. ◻

The truncated stationary mean has the same leading coefficient as the secondary law. Comparing it with the synchronized remainder positions requires further arithmetic estimates. In particular, DN−D∗(N)=YN(N)+23N∑k>Nwk,D_N-D_*(N)=Y_N(N)+\frac23N\sum_{k>N}w_k, and the last term is O(log⁡(2N))O(\log(2N)).

Profinite phases and stationary potential

The compact group Z^=lim←⁡LZ/LZ\widehat{\mathbb Z}=\varprojlim_L\mathbb Z/L\mathbb Z consists of compatible residue systems. Its Haar probability measure is uniform on each finite quotient. Translation τx=x+1\tau x=x+1 visits every class modulo LL once in each block of length LL. Approximation of continuous functions by finite-quotient functions proves unique ergodicity. The functions e(ax/q)=exp⁡(2πiarq(x)/q)\mathrm{e}(ax/q)=\exp(2\pi i a r_q(x)/q), with a/qa/q reduced modulo one, form a complete orthonormal system. Translation acts on each by multiplication by e(a/q)\mathrm{e}(a/q). Its spectrum is simple and pure point.

Lemma 5 (Remainder covariance). For positive integers k,lk,l, EEkEl=(k,l)2−112.\mathbb EE_kE_l=\frac{(k,l)^2-1}{12}.

Proof. Put d=(k,l)d=(k,l). Conditional on rd=tr_d=t, the quotients in the residues t+djt+dj modulo kk and t+dht+dh modulo ll are independent and uniform, by the Chinese remainder theorem. Both centered conditional means are t−(d−1)/2t-(d-1)/2. Their product averages to (d2−1)/12(d^2-1)/12. ◻

Theorem 6 (Square-integrable potential). The functions YMY_M converge in Haar L2L^2 to a mean-zero, nonconstant function YY. Equations (8) hold. Its law is symmetric, with Y(−1−x)=−Y(x)Y(-1-x)=-Y(x) almost everywhere.

Proof. The divisor identity d2=∑q∣dJ2(q)d^2=\sum_{q\mid d}J_2(q) and Lemma 5 give, for any finite nonnegative sequence vkv_k, ∥23∑kvkEk∥22=127∑q≥2J2(q)(∑q∣kvk)2.\left\|\frac 23\sum_k v_kE_k\right\|_2^2 =\frac1{27}\sum_{q\ge2}J_2(q) \left(\sum_{q\mid k}v_k\right)^2. Since wk≪log⁡(2k)/k2w_k\ll\log(2k)/k^2, ηq≪log⁡(2q)q2.\eta_q\ll\frac{\log(2q)}{q^2}. For the omitted mass tq(M)=∑k>M, q∣kwkt_q(M)=\sum_{k>M,\ q\mid k}w_k, summation over multiples gives tq(M)≪{log⁡(2M)/(qM),q≤M,log⁡(2q)/q2,q>M.t_q(M)\ll \begin{cases}\log(2M)/(qM),&q\le M,\\ \log(2q)/q^2,&q>M.\end{cases} The series ∑q≥2J2(q)ηq2\sum_{q\ge2}J_2(q)\eta_q^2 converges. Formula (19) proves the Cauchy property, the exact variance, and the squared tail bound O(log⁡2(2M)/M)O(\log^2(2M)/M). The term q=2q=2 is positive. Reflection sends each Ek(x)E_k(x) to −Ek(−1−x)-E_k(-1-x), and passes to the L2L^2 limit. ◻

The full uncentered stationary age is infinite almost everywhere. Indeed its partial sums are YM+D∗(M)Y_M+D_*(M), increase with MM, and have uniformly bounded centered variances. Chebyshev’s inequality and D∗(M)→∞D_*(M)\to\infty show that their limit cannot be finite on a set of positive measure.

Proposition 7 (General weight criterion). For any nonnegative weights vkv_k with ∑k≥2vk=1\sum_{k\ge2}v_k=1, put ξq=∑q∣kvk\xi_q=\sum_{q\mid k}v_k. The centered ages 23∑k≤MvkEk\frac23\sum_{k\le M}v_kE_k converge in L2L^2 if and only if ∑q≥2J2(q)ξq2<∞\sum_{q\ge2}J_2(q)\xi_q^2<\infty. This is also the condition that 23(1−∑kvk1k∣x)\frac23(1-\sum k v_k\mathbf 1_{k\mid x}), initially in L1L^1, have a mean-zero L2L^2 potential for translation.

Proof. Formula (19) and monotone convergence prove the first equivalence. The Fourier calculation in Section 5 gives the unique possible nonconstant coefficients of a potential. Their square sum is exactly 127∑J2(q)ξq2\frac1{27}\sum J_2(q)\xi_q^2. Conversely the convergent centered ages give a potential by taking differences as in Theorem 9. Translation-invariant L2L^2 functions are constant, which proves uniqueness after centering. ◻

For weights proportional to k−sk^{-s}, s>1s>1, the potential criterion is s>3/2s>3/2. A finite uncentered stationary mean requires the stronger condition s>2s>2. These two integrability thresholds concern different observables.

Conservation and the completion identity also hold for every unit mass: N−Dv(N)=N3+23∑k≥2kvk⌊N/k⌋,Dv(N)/N⟶0.N-D_v(N)=\frac N3+\frac23\sum_{k\ge2}kv_k\lfloor N/k\rfloor, \qquad D_v(N)/N\longrightarrow0. The limit follows by dominated convergence, since rk(N)≤Nr_k(N)\le N. Identifying this energy with (11) is the selecting condition in Proposition 1.

Proposition 8 (A mass perturbation). For 0<∣ε∣<1/240<|\varepsilon|<1/24, set vk=wk+ε(1k=2−21k=3+1k=4),Z=23(E2−2E3+E4).v_k=w_k+\varepsilon (\mathbf 1_{k=2}-2\mathbf 1_{k=3}+\mathbf 1_{k=4}),\qquad Z=\frac23(E_2-2E_3+E_4). These are positive unit masses with Yv=Y+εZ,Dv(n)=Dn+εZ(n),EZ=0,∥Z∥22=5627.Y_v=Y+\varepsilon Z,\qquad D_v(n)=D_n+\varepsilon Z(n), \qquad \mathbb EZ=0,\quad \left\|Z\right\|_2^2=\frac{56}{27}. Their truncated stationary means agree with D∗(M)D_*(M) for every M≥4M\ge4, although their potentials differ.

Proof. The weights at two, three and four are 1/4,1/6,1/121/4,1/6,1/12. The changes (1,−2,1)(1,-2,1) have zero total and first moments, giving positivity, normalization and equality of the stationary profiles. The same cancellation removes the centered constants in ZZ, proving the age identity. The function ZZ has period twelve. Formula (19), expanded bilinearly for signed coefficients, gives its norm and shows that it is nonzero. ◻

Coboundary and increment correlations

Theorem 9 (Exact compensation). Let f(x)=∑k≥2ak1k∣xf(x)=\sum_{k\ge2}a_k\mathbf 1_{k\mid x} and g=23(1−f)g=\frac23(1-f). Then f∈Lrf\in L^r for every finite r≥1r\ge1, Ef=1\mathbb Ef=1, and g=Y−Y∘τ−1almost everywhere.g=Y-Y\circ\tau^{-1}\quad\hbox{almost everywhere}. For every integer H≥1H\ge1, ∑j=1Hg(x+j)=Y(x+H)−Y(x),E∣∑j=1Hg(x+j)∣2≤4σ2.\sum_{j=1}^Hg(x+j)=Y(x+H)-Y(x),\qquad \mathbb E\left|\sum_{j=1}^Hg(x+j)\right|^2\le4\sigma^2.

Proof. Minkowski’s inequality applies because ∑akk−1/r<∞\sum a_k k^{-1/r}<\infty. Also Ef=∑ak/k=1\mathbb Ef=\sum a_k/k=1. The exact finite difference of YMY_M is YM(x)−YM(x−1)=23∑k≤Mwk(1−k1k∣x).Y_M(x)-Y_M(x-1) =\frac23\sum_{k\le M}w_k(1-k\mathbf 1_{k\mid x}). Its left side converges in L2L^2 and its right side in L1L^1 to the asserted expressions. Telescoping and the triangle inequality prove (22). ◻

Proposition 10 (Covariance and recurrence). With K(h)=Eg(x)g(x+h)K(h)=\mathbb Eg(x)g(x+h), K(h)=49∑k,l≥2akal(1(k,l)∣h[k,l]−1kl)=49∑q≥2ηq2cq(h),\begin{aligned} K(h)&=\frac49\sum_{k,l\ge2}a_ka_l \left(\frac{\mathbf 1_{(k,l)\mid h}}{[k,l]}-\frac1{kl}\right) \\ &=\frac49\sum_{q\ge2}\eta_q^2c_q(h), \end{aligned} where cq(h)=∑a∈(Z/qZ)×e(ah/q)c_q(h)=\sum_{a\in(\mathbb Z/q\mathbb Z)^\times}\mathrm{e}(ah/q). The series converge absolutely, K(0)>0K(0)>0, and K(1)<0K(1)<0. For LM=lcm⁡(1,…,M)L_M=\operatorname{lcm}(1,\ldots,M), K(LM)⟶K(0),∥Y( ⋅+LM)−Y∥2≪log⁡(2M)M.K(L_M)\longrightarrow K(0),\qquad \left\|Y(\,\cdot+L_M)-Y\right\|_2\ll\frac{\log(2M)}{\sqrt M}.

Proof. The two divisibility events have joint probability 1/[k,l]1/[k,l] precisely when (k,l)∣h(k,l)\mid h. Their product sum is finite by f∈L2f\in L^2. This proves (23). Formula (24) also follows from the Fourier coefficients computed below. Its absolute convergence follows from ∣cq(h)∣≤φ(q)|c_q(h)|\le\varphi(q) and the bound on ηq\eta_q. At h=1h=1, terms with (k,l)=1(k,l)=1 vanish and all others are negative, including k=l=2k=l=2. Nonconstancy of gg gives K(0)>0K(0)>0. The truncations YMY_M and gMg_M have period LML_M. Their L2L^2 approximations prove both recurrence assertions. ◻

Prime resolutions have g(p)=23(1−Hp−1/p)→2/3g(p)=\frac23(1-H_{p-1}/p)\to2/3. Section 7 gives arbitrarily large negative increments. Thus no profile P(N)P(N) with P(N)−P(N−1)→0P(N)-P(N-1)\to0 can leave a bounded error DN−P(N)D_N-P(N) at every integer. A bounded error would force bounded increments, contrary to those resets.

Theorem 11 (Integer laws for fixed increments). For every fixed list of nonnegative shifts h1,…,hrh_1,\ldots,h_r, the empirical joint law of g(n+hi)g(n+h_i) as n→∞n\to\infty equals its Haar joint law. Every fixed joint moment converges. In particular, E∏i=1rf(x+hi)=∑k1,…,kr≥2∏iaki[k1,…,kr]1(ki,kj)∣hi−hj for all i,j.\mathbb E\prod_{i=1}^r f(x+h_i) =\sum_{k_1,\ldots,k_r\ge2} \frac{\prod_i a_{k_i}}{[k_1,\ldots,k_r]} \mathbf 1_{(k_i,k_j)\mid h_i-h_j\ \text{for all }i,j}. For each fixed HH, the empirical second moment of Dn+H−DnD_{n+H}-D_n tends to the left side of (22).

Proof. Finite divisor truncations are periodic and have exactly the limiting uniform residue law. For unshifted positive integers, the empirical LrL^r norm of the tail is bounded, uniformly in the averaging length, by ∑k>Makk−1/r\sum_{k>M}a_k k^{-1/r}, using ⌊X/k⌋/X≤1/k\lfloor X/k\rfloor/X\le1/k and Minkowski. Fixed shifts change only finitely many endpoints; the elementary bound f(n)≪log⁡2(2n)f(n)\ll\log^2(2n) makes their normalized contribution tend to zero. Thus periodic approximation proves joint distribution and, using a higher fixed moment, joint moment convergence. Tonelli’s theorem and the generalized Chinese remainder theorem prove (25); its sum is finite by Hölder. Finally Dn+H−Dn=∑j=1Hg(n+j)D_{n+H}-D_n=\sum_{j=1}^Hg(n+j). ◻

The block length is fixed when the integer average is taken. Equation (22) is uniform in HH in the stationary space; it does not assert a simultaneous uniform integer-average limit in HH and XX.

Theorem 12 (Intrinsic boundary potential). Define JJ by (10) and (11), put J(0)=0J(0)=0, and set d∂(n)=1−J(n)+J(n−1)d_\partial(n)=1-J(n)+J(n-1). The potential YY is the unique mean-zero L2(Z^)L^2(\widehat{\mathbb Z}) function satisfying, for every locally constant ϕ\phi, E[(Y(x)−Y(x−1))ϕ(x)‾]=lim⁡X→∞1X∑n≤Xd∂(n)ϕ(n)‾.\mathbb E\bigl[(Y(x)-Y(x-1))\overline{\phi(x)}\bigr] =\lim_{X\to\infty}\frac1X\sum_{n\le X} d_\partial(n)\overline{\phi(n)}.

Proof. Proposition 1 identifies d∂(n)=g(n)d_\partial(n)=g(n). Truncate its divisor sum at MM, retaining the corresponding constant 23∑k≤Mwk\frac23\sum_{k\le M}w_k. The resulting function is periodic, and its Cesàro and Haar pairings with ϕ\phi agree. The omitted terms have both Haar and upper Cesàro L1L^1 norm at most 43∑k>Mwk\frac43\sum_{k>M}w_k. Thus the limit exists and equals E(gϕ‾)\mathbb E(g\overline\phi). Theorems 6 and 9 give existence. Density of locally constant functions makes the difference of any two solutions translation invariant in L2L^2. Ergodicity and the prescribed mean give uniqueness. ◻

This definition uses only the boundary and its square energy. It prescribes Haar pairings rather than values of an arbitrary representative on the null integer orbit.

Additive conductors and sawtooth decomposition

For q≥2q\ge2, define Rq(x)=∑d∣qμ(q/d)d saw(rd(x)/d),Pq(x)=∑d∣qμ(q/d)Ed(x).R_q(x)=\sum_{d\mid q}\mu(q/d)d\,\mathop{\mathrm{saw}}(r_d(x)/d),\qquad P_q(x)=\sum_{d\mid q}\mu(q/d)E_d(x). These are additive-frequency rows. Their conductors refer to reduced rational frequencies and are distinct from the conductors of multiplicative Dirichlet characters.

Proposition 13 (Spectrum and parity). The rows PqP_q have precisely the primitive additive frequencies of denominator qq, and Pq=Rq−12cq,Y=23∑q≥2ηqPq=O+12g,O=23∑q≥2ηqRq.\begin{aligned} P_q&=R_q-\tfrac12c_q, \\ Y&=\frac23\sum_{q\ge2}\eta_qP_q=O+\tfrac12g, &O&=\frac23\sum_{q\ge2}\eta_qR_q. \end{aligned} All series converge in L2L^2. Distinct denominators are orthogonal. The function OO is odd under x↦−xx\mapsto-x, and gg is even. Moreover, ∥Rq∥22=J2(q)−3φ(q)12,∥Pq∥22=J2(q)12,g^(a/q)=−23ηq,Y^(a/q)=−2ηq3(1−e(−a/q))((a,q)=1).\begin{aligned} \left\|R_q\right\|_2^2&=\frac{J_2(q)-3\varphi(q)}{12}, &\left\|P_q\right\|_2^2&=\frac{J_2(q)}{12}, \\ \widehat g(a/q)&=-\frac23\eta_q, &\widehat Y(a/q)&=-\frac{2\eta_q}{3(1-\mathrm{e}(-a/q))} \quad((a,q)=1). \end{aligned} The row R2R_2 vanishes, but P2=−c2/2P_2=-c_2/2 does not.

Proof. Direct finite Fourier summation gives coefficient −1/(1−e(−a/q))-1/(1-\mathrm{e}(-a/q)) for EkE_k at a nonzero reduced frequency a/qa/q when q∣kq\mid k, and zero otherwise. Möbius inversion in (27) retains only denominator qq. The pointwise endpoint identity is Ed=d saw(rd/d)+12−d21d∣x.E_d=d\,\mathop{\mathrm{saw}}(r_d/d)+\frac12-\frac d2\mathbf 1_{d\mid x}. Summing with μ(q/d)\mu(q/d) and using cq(x)=∑d∣qdμ(q/d)1d∣xc_q(x)=\sum_{d\mid q}d\mu(q/d)\mathbf 1_{d\mid x} proves (28). The finite identity YM=23∑q≤Mηq,MPqY_M=\frac23\sum_{q\le M}\eta_{q,M}P_q, where ηq,M=∑k≤M, q∣kwk\eta_{q,M}=\sum_{k\le M,\ q\mid k}w_k, now proves the limiting expansion. The centered divisibility coefficients give those of gg.

The trigonometric identity ∑a=1q−1csc⁡2(πa/q)=(q2−1)/3\sum_{a=1}^{q-1}\csc^2(\pi a/q)=(q^2-1)/3, obtained by differentiating the cotangent multiplication formula, gives by divisor inversion ∑(a,q)=1csc⁡2(πa/q)=J2(q)/3.\sum_{(a,q)=1}\csc^2(\pi a/q)=J_2(q)/3. Since ∣1−e(−a/q)∣2=4sin⁡2(πa/q)|1-\mathrm{e}(-a/q)|^2=4\sin^2(\pi a/q), Parseval yields ∥Pq∥22=J2(q)/12\left\|P_q\right\|_2^2=J_2(q)/12. Odd and even parity are orthogonal; ∥cq∥22=φ(q)\left\|c_q\right\|_2^2=\varphi(q) then gives the other norm. The same calculations prove (31) and all convergence claims. ◻

Lemma 14 (Recovery of the period masses). For every admissible mass in Proposition 7, vk=∑j≥1μ(j)ξkj(k≥2),v_k=\sum_{j\ge1}\mu(j)\xi_{kj}\qquad(k\ge2), with absolute convergence. Its potential, or its full coboundary, therefore determines every mass.

Proof. Since J2(q)≥q2/ζ(2)J_2(q)\ge q^2/\zeta(2), the energy condition and Cauchy–Schwarz imply ∑q≥2ξq<∞\sum_{q\ge2}\xi_q<\infty. For fixed kk, positivity gives ∑j,m≥1vkjm=∑jξkj<∞\sum_{j,m\ge1}v_{kjm}=\sum_j\xi_{kj}<\infty. Interchanging the absolutely convergent sums leaves ∑j∣mμ(j)=1m=1\sum_{j\mid m}\mu(j)=\mathbf 1_{m=1} and proves the inverse. The Fourier calculation (31) applies with ηq\eta_q replaced by ξq\xi_q, proving the final assertion. ◻

In particular, the spectral measures for translation are ρg=49∑q≥2ηq2∑(a,q)=1δa/q,ρY=19∑q≥2ηq2∑(a,q)=1csc⁡2(πa/q)δa/q.\rho_g=\frac49\sum_{q\ge2}\eta_q^2\sum_{(a,q)=1}\delta_{a/q}, \qquad \rho_Y=\frac19\sum_{q\ge2}\eta_q^2 \sum_{(a,q)=1}\csc^2(\pi a/q)\delta_{a/q}. Every rational nonzero frequency occurs because ηq>0\eta_q>0. Consequently the closed span of the translates of gg is the mean-zero subspace of L2(Z^)L^2(\widehat{\mathbb Z}). To isolate one frequency, average e(−ja/q)g(x+j)\mathrm{e}(-ja/q)g(x+j) over jj and use the simple pure point spectrum.

The Dedekind pairing of the odd rows can also be read directly on a common finite grid. For units a mod da\bmod d, b mod eb\bmod e, put Bd,a(x)=saw(ard(x)/d)B_{d,a}(x)=\mathop{\mathrm{saw}}(a r_d(x)/d) and define s(h,g)=∑t=0g−1saw(t/g)saw(ht/g)s(h,g)=\sum_{t=0}^{g-1}\mathop{\mathrm{saw}}(t/g)\mathop{\mathrm{saw}}(ht/g). Conditioning on the residue modulo g=(d,e)g=(d,e) and using the sawtooth multiplication formula gives EBd,aBe,b=gdes(baˉ,g).\mathbb EB_{d,a}B_{e,b}=\frac{g}{de}s(b\bar a,g). The conditional mean of the first row is (g/d)saw(at/g)(g/d)\mathop{\mathrm{saw}}(at/g). For the second it is (g/e)saw(bt/g)(g/e)\mathop{\mathrm{saw}}(bt/g). Averaging their product proves the formula. Refining the common grid preserves this norm for a fixed coefficient array. The carrier is therefore intrinsic to the remainder observable.

Arithmetic of the collision amplitudes

The rows in (29) occur for every admissible age mass. The boundary selects their amplitudes. Define Δ(q)=∏p∣q(1−p−3),J3(q)=q3Δ(q),F(q)=∑m≥1Hqm−1(qm)2.\Delta(q)=\prod_{p\mid q}(1-p^{-3}),\qquad J_3(q)=q^3\Delta(q), \qquad F(q)=\sum_{m\ge1}\frac{H_{qm-1}}{(qm)^2}. Set η1=1\eta_1=1. The series defining FF is absolutely convergent.

Proposition 15 (Exact amplitude refinement). For every q≥1q\ge1, ηq=1ζ(3)Δ(q)∑d∣qμ(d)d3F(q/d),∑d∣qJ3(d)ηd=q3F(q)ζ(3).\begin{aligned} \eta_q&=\frac1{\zeta(3)\Delta(q)} \sum_{d\mid q}\frac{\mu(d)}{d^3}F(q/d), \\ \sum_{d\mid q}J_3(d)\eta_d&=\frac{q^3F(q)}{\zeta(3)}. \end{aligned} In particular F(1)=ζ(3)F(1)=\zeta(3).

Proof. The primitive-pair representation of the mass gives ηq=12∑a,b≥1(a,b)=1q∣a+b1ab(a+b).\eta_q=\frac12 \sum_{\substack{a,b\ge1\\(a,b)=1\\q\mid a+b}}\frac1{ab(a+b)}. Removing coprimality by Möbius inversion and rescaling both coordinates therefore gives ηq=∑d≥1μ(d)d3F ⁣(q(q,d)).\eta_q=\sum_{d\ge1}\frac{\mu(d)}{d^3} F\!\left(\frac q{(q,d)}\right). Indeed 12∑a=1n−11/[a(n−a)n]=Hn−1/n2\frac12\sum_{a=1}^{n-1}1/[a(n-a)n]=H_{n-1}/n^2. Absolute summation is justified by the same positive sum without the divisibility restriction and ∑d−3<∞\sum d^{-3}<\infty. For squarefree dd, split its primes into those dividing qq and those coprime to qq. The latter contribute 1/(ζ(3)Δ(q))1/(\zeta(3)\Delta(q)), proving (34). At q=1q=1, the already proved unit normalization gives F(1)=ζ(3)F(1)=\zeta(3). Multiplication by q3Δ(q)q^3\Delta(q) and finite divisor inversion prove (35). ◻

Put A0=ζ(2)ζ(3),κ0=γ−ζ′(2)ζ(2),ρ(q)=φ(q)/qΔ(q)=∏p∣qp2p2+p+1,ν(q)=∑p∣qlog⁡pp−1.\begin{aligned} A_0&=\frac{\zeta(2)}{\zeta(3)},& \kappa_0&=\gamma-\frac{\zeta'(2)}{\zeta(2)},\\ \rho(q)&=\frac{\varphi(q)/q}{\Delta(q)} =\prod_{p\mid q}\frac{p^2}{p^2+p+1},& \nu(q)&=\sum_{p\mid q}\frac{\log p}{p-1}. \end{aligned}

Proposition 16 (Uniform conductor expansion). For every q≥2q\ge2, ηq=A0ρ(q)q2(log⁡q+κ0+ν(q))+ϵq,\eta_q=\frac{A_0\rho(q)}{q^2} \bigl(\log q+\kappa_0+\nu(q)\bigr)+\epsilon_q, where ∣ϵq∣≤ζ(4)12ζ(3)q4Δ(q)∏p∣q(p+1).|\epsilon_q|\le \frac{\zeta(4)}{12\zeta(3)q^4\Delta(q)} \prod_{p\mid q}(p+1).

Proof. The positive-real harmonic expansion, with its first neglected term, is [2] Hn−1=log⁡n+γ−12n+en,−112n2<en<0.H_{n-1}=\log n+\gamma-\frac1{2n}+e_n,\qquad -\frac1{12n^2}<e_n<0. Consequently F(q)=ζ(2)(log⁡q+κ0)q2−ζ(3)2q3+r(q),−ζ(4)12q4<r(q)<0.F(q)=\frac{\zeta(2)(\log q+\kappa_0)}{q^2} -\frac{\zeta(3)}{2q^3}+r(q),\qquad -\frac{\zeta(4)}{12q^4}<r(q)<0. Apply (34). The isolated cubic-power term vanishes for q>1q>1, since ∑d∣qμ(d)=0\sum_{d\mid q}\mu(d)=0. The other main terms use ∑d∣qμ(d)d=φ(q)q,∑d∣qμ(d)log⁡dd=−φ(q)qν(q).\sum_{d\mid q}\frac{\mu(d)}d=\frac{\varphi(q)}q,\qquad \sum_{d\mid q}\frac{\mu(d)\log d}d =-\frac{\varphi(q)}q\nu(q). The remainder is bounded by ζ(4)/(12ζ(3)q4Δ(q))\zeta(4)/(12\zeta(3)q^4\Delta(q)) times ∑d∣q∣μ(d)∣d=∏p∣q(p+1)\sum_{d\mid q}|\mu(d)|d=\prod_{p\mid q}(p+1). ◻

The error is Oε(q−3+ε)O_\varepsilon(q^{-3+\varepsilon}) uniformly. For a prime pp the exact formula retains the lower-conductor value: ηp=F(p)−p−3F(1)ζ(3)(1−p−3).\eta_p=\frac{F(p)-p^{-3}F(1)}{\zeta(3)(1-p^{-3})}. For fixed pp and a→∞a\to\infty, (36) instead gives ηpa=A0ρ(p)p2a(alog⁡p+κ0+log⁡pp−1)+Op(p−4a).\eta_{p^a}=\frac{A_0\rho(p)}{p^{2a}} \left(a\log p+\kappa_0+\frac{\log p}{p-1}\right) +O_p(p^{-4a}). The local main factor ρ\rho is multiplicative; the amplitudes are not. In fact, (36) implies η2⋅3a/η3a→ρ(2)/4=1/7\eta_{2\cdot3^a}/\eta_{3^a}\to\rho(2)/4=1/7, whereas Theorem 18 below gives η2=1/2\eta_2=1/2.

Theorem 17 (Sharp Haar spectral tail). Let Π≤Q\Pi_{\le Q} be the orthogonal projection onto additive conductors at most QQ, and define Csp=∏p(1+(1−p−2)ρ(p)2−1p)>0.\mathcal C_{\rm sp}=\prod_p\left( 1+\frac{(1-p^{-2})\rho(p)^2-1}{p}\right)>0. Then ∥Y−Π≤QY∥22∼A02Csp27log⁡2QQ.\left\|Y-\Pi_{\le Q}Y\right\|_2^2 \sim\frac{A_0^2\mathcal C_{\rm sp}}{27}\frac{\log^2Q}{Q}.

Proof. Orthogonality gives the exact tail 127∑q>QJ2(q)ηq2\frac1{27}\sum_{q>Q}J_2(q)\eta_q^2. Set h(q)=J2(q)ρ(q)2/q2h(q)=J_2(q)\rho(q)^2/q^2. This multiplicative function satisfies 0<h(q)≤10<h(q)\le1 and is constant on positive prime powers, with h(p)=1+O(p−1)h(p)=1+O(p^{-1}). Writing h=1∗ch=1*c, the function cc is supported on squarefree integers and has local value h(p)−1h(p)-1. Thus ∑d∣c(d)∣/d<∞\sum_d|c(d)|/d<\infty, and dominated convergence in 1x∑q≤xh(q)=∑d≤xc(d)⌊x/d⌋x\frac1x\sum_{q\le x}h(q) =\sum_{d\le x}c(d)\frac{\lfloor x/d\rfloor}{x} gives the limit ∑dc(d)/d=Csp\sum_dc(d)/d=\mathcal C_{\rm sp}. The product is positive and converges absolutely.

Counting prime divisibility in the first and second moments of ν\nu gives ∑q≤xν(q)=O(x),∑q≤xν(q)2=O(x).\sum_{q\le x}\nu(q)=O(x),\qquad \sum_{q\le x}\nu(q)^2=O(x). The required convergent prime sums are ∑plog⁡pp(p−1),∑p(log⁡p)2p(p−1)2.\sum_p\frac{\log p}{p(p-1)},\qquad \sum_p\frac{(\log p)^2}{p(p-1)^2}. Since h≤1h\le1, partial summation shows that terms involving κ0+ν(q)\kappa_0+\nu(q) in the square of (36) contribute O(log⁡Q/Q)O(\log Q/Q) to the tail. The error (37), with any fixed ε<1/2\varepsilon<1/2, makes its squared and cross terms o(log⁡2Q/Q)o(\log^2Q/Q). Finally partial summation of ∑q≤xh(q)∼Cspx\sum_{q\le x}h(q)\sim\mathcal C_{\rm sp}x yields ∑q>Qh(q)log⁡2qq2∼Csplog⁡2QQ,\sum_{q>Q}\frac{h(q)\log^2q}{q^2} \sim\mathcal C_{\rm sp}\frac{\log^2Q}{Q}, proving the assertion. ◻

This projection uses full conductor amplitudes. It differs from the period cutoff YMY_M, and its Haar norm gives no pointwise evaluation bound on the distinguished integer orbit.

Theorem 18 (Mixed-moment characterization). For every q≥2q\ge2, ηq=12−∑χmodqχ(−1)=−1L(1,χ‾)L(2,χ)ζ(3)Δ(q)φ(q).\eta_q=\frac12- \frac{\displaystyle\sum_{\substack{\chi\bmod q\\\chi(-1)=-1}} L(1,\overline\chi)L(2,\chi)} {\zeta(3)\Delta(q)\varphi(q)}. The sum is over all odd characters, including induced characters, and is real. Moreover η2=1/2\eta_2=1/2 and 0<ηq<1/20<\eta_q<1/2 for q>2q>2. Among the admissible masses of Proposition 7, requiring (40) at every conductor selects v=wv=w.

Proof. Define the absolutely convergent series L(z)=∑n≥1Hn−1n2zn,C3(θ)=∑n≥1cos⁡(nθ)n3,Cl⁡2(θ)=∑n≥1sin⁡(nθ)n2.\mathcal L(z)=\sum_{n\ge1}\frac{H_{n-1}}{n^2}z^n,\qquad C_3(\theta)=\sum_{n\ge1}\frac{\cos(n\theta)}{n^3},\qquad \operatorname{Cl}_2(\theta)=\sum_{n\ge1}\frac{\sin(n\theta)}{n^2}. Inside the unit disk, L′(z)=log⁡2(1−z)/(2z)\mathcal L'(z)=\log^2(1-z)/(2z). For 0<θ<2π0<\theta<2\pi, use log⁡(1−eiθ)=log⁡(2sin⁡(θ/2))+i(θ−π)/2\log(1-e^{i\theta})=\log(2\sin(\theta/2))+i(\theta-\pi)/2. The log-series identity gives Cl⁡2′(θ)=−log⁡(2sin⁡(θ/2))\operatorname{Cl}_2'(\theta)=-\log(2\sin(\theta/2)). Differentiating both sides and matching their values at zero proves ℜL(eiθ)=ζ(3)+C3(θ)2+θ−π2Cl⁡2(θ).\Re\mathcal L(e^{i\theta}) =\frac{\zeta(3)+C_3(\theta)}2 +\frac{\theta-\pi}{2}\operatorname{Cl}_2(\theta). Differentiation can first be justified by Abel limits away from the endpoints; absolute convergence gives continuity at the endpoints.

Average (42) over the qq-th roots of unity. The finite sine transform ∑a=1q−1(aq−12)sin⁡(2πan/q)=−12cot⁡(πn/q)(q∤n)\sum_{a=1}^{q-1}\left(\frac aq-\frac12\right) \sin(2\pi an/q)=-\frac12\cot(\pi n/q) \quad(q\nmid n) vanishes when q∣nq\mid n. It follows that F(q)=ζ(3)2(1+q−3)−π2qC(q),C(q)=∑n≥1q∤ncot⁡(πn/q)n2.F(q)=\frac{\zeta(3)}2(1+q^{-3})-\frac{\pi}{2q}C(q),\qquad C(q)=\sum_{\substack{n\ge1\\q\nmid n}}\frac{\cot(\pi n/q)}{n^2}. Let Cu(q)C^{\rm u}(q) denote the same sum restricted to (n,q)=1(n,q)=1, and set Cu(1)=0C^{\rm u}(1)=0. Descent by (n,q)(n,q) gives C(q)=∑d∣q(d/q)2Cu(d),∑d∣qμ(d)d2C(q/d)=Cu(q).C(q)=\sum_{d\mid q}(d/q)^2C^{\rm u}(d),\qquad \sum_{d\mid q}\frac{\mu(d)}{d^2}C(q/d)=C^{\rm u}(q). Applying (34) therefore yields ηq=12−π2qζ(3)Δ(q)Cu(q).\eta_q=\frac12-\frac{\pi}{2q\zeta(3)\Delta(q)}C^{\rm u}(q). The constant transforms to one half, and the pure cubic power vanishes for q>1q>1.

The cotangent partial-fraction expansion [2], with positive and negative terms paired, gives for every odd character ∑a∈Uqχ(a)‾cot⁡(πa/q)=2qπL(1,χ‾).\sum_{a\in U_q}\overline{\chi(a)}\cot(\pi a/q) =\frac{2q}{\pi}L(1,\overline\chi). This uses oddness, not primitivity. The even coefficients vanish. Character orthogonality and absolute convergence at two give Cu(q)=2qπφ(q)∑χ(−1)=−1L(1,χ‾)L(2,χ).C^{\rm u}(q)=\frac{2q}{\pi\varphi(q)} \sum_{\chi(-1)=-1}L(1,\overline\chi)L(2,\chi). Substitution proves (40). At q=2q=2 there are no odd characters. For q>2q>2, pair residues a,q−aa,q-a, with 0<a<q/20<a<q/2. The cotangent and the difference ∑m≥0[(a+mq)−2−(q−a+mq)−2]\sum_{m\ge0}[(a+mq)^{-2}-(q-a+mq)^{-2}] are both positive. Thus Cu(q)>0C^{\rm u}(q)>0; the lower bound follows from the positive mass. Finally the moment identities fix all ηq\eta_q, and Lemma 14 recovers every wkw_k. ◻

For example, with G=L(2,χ−4)G=L(2,\chi_{-4}) denoting Catalan’s constant, η3=12−33π52ζ(3)L(2,χ−3),η4=12−πG7ζ(3),η6=15η3−47.\eta_3=\frac12-\frac{3\sqrt3\pi}{52\zeta(3)}L(2,\chi_{-3}),\qquad \eta_4=\frac12-\frac{\pi G}{7\zeta(3)},\qquad \eta_6=\frac{15\eta_3-4}{7}. The last identity retains the Euler factors of the induced odd character modulo six.

The finite perturbation in Proposition 8 leaves every ηq\eta_q with q>4q>4 unchanged. It therefore preserves the large-conductor asymptotic and the sharp tail constant, while breaking the mixed-moment characterization. The exact amplitudes contain the selection information that these asymptotics omit.

Conditional means and sharp alignment order

Proposition 19 (Cylinder means). For L≥2L\ge2 and a mod La\bmod L, mL(a):=E(Y∣rL=a)=23∑k≥2wkE(k,L)(a)=23∑q∣Lq≥2ηqPq(a),CL:=13∑k≥2wk((k,L)−1)=13∑q∣Lq≥2φ(q)ηq.\begin{aligned} m_L(a):=\mathbb E(Y\mid r_L=a) &=\frac23\sum_{k\ge2}w_kE_{(k,L)}(a) =\frac23\sum_{\substack{q\mid L\\q\ge2}}\eta_qP_q(a),\\ C_L&:=\frac13\sum_{k\ge2}w_k((k,L)-1) =\frac13\sum_{\substack{q\mid L\\q\ge2}}\varphi(q)\eta_q. \end{aligned} The minimum is −CL-C_L, attained only at zero. The maximum is CLC_L, attained only at minus one. For h≥0h\ge0, −CL≤mL(h)≤−CL+2h/3-C_L\le m_L(h)\le-C_L+2h/3.

Proof. Conditional on rL=ar_L=a, the residue modulo kk is uniform among those congruent to aa modulo d=(k,L)d=(k,L). Its centered mean is Ed(a)E_d(a). The resulting series converges absolutely since d≤Ld\le L. Conditional expectation passes through the L2L^2 limit and retains exactly the frequencies whose denominator divides LL. The identity d−1=∑q∣d, q≥2φ(q)d-1=\sum_{q\mid d,\ q\ge2}\varphi(q) proves (47). All weights are positive, and the term k=Lk=L forces uniqueness at both endpoints. Finally 0≤rd(h)≤h0\le r_d(h)\le h. ◻

The conditional expectations along L2j=lcm⁡(1,…,2j)L_{2^j}=\operatorname{lcm}(1,\ldots,2^j) form a martingale. Their differences are the sums of ηqPq\eta_qP_q over newly admitted divisors, and ∥Y−mL2j∥2≪j 2−j/2.\left\|Y-m_{L_{2^j}}\right\|_2\ll j\,2^{-j/2}. This follows because conditional expectation is the best L2L^2 approximation on its finite quotient and Y2jY_{2^j} belongs to that quotient.

Theorem 20 (Maximal alignment and reset orders). Put κ=eγ/ζ(2)\kappa=e^\gamma/\zeta(2) and Γ=2eγ/π2=κ/3\Gamma=2e^\gamma/\pi^2=\kappa/3. Then, as m→∞m\to\infty, f(Lm)∼κlog⁡2m,CLm∼Γlog⁡2m.f(L_m)\sim\kappa\log^2m,\qquad C_{L_m}\sim\Gamma\log^2m. Furthermore lim sup⁡n→∞f(n)(log⁡log⁡n)2=κ,lim sup⁡L→∞CL(log⁡log⁡L)2=Γ.\limsup_{n\to\infty}\frac{f(n)}{(\log\log n)^2}=\kappa,\qquad \limsup_{L\to\infty}\frac{C_L}{(\log\log L)^2}=\Gamma. Thus lim sup⁡−g(n)/(log⁡log⁡n)2=2Γ\limsup -g(n)/(\log\log n)^2=2\Gamma.

Proof. Harmonic expansion in the Möbius formula gives uniformly for k≥2k\ge2 ak=φ(k)k2(log⁡k+γ+ν(k))+O(σ1(k)k3),ν(k)=∑p∣klog⁡pp−1.a_k=\frac{\varphi(k)}{k^2} \left(\log k+\gamma+\nu(k)\right) +O\left(\frac{\sigma_1(k)}{k^3}\right), \qquad \nu(k)=\sum_{p\mid k}\frac{\log p}{p-1}. Here Hu−1=log⁡u+γ−(2u)−1+O(u−2)H_{u-1}=\log u+\gamma-(2u)^{-1}+O(u^{-2}). The linear correction cancels since ∑d∣kμ(d)=0\sum_{d\mid k}\mu(d)=0. The displayed errors have bounded sum, including over any divisor set.

For v≥1v\ge1 define Ap(v)=1+p−1−p−v−1,tp(v)=∑j=1v(1−p−1)p−j(j+(p−1)−1)Ap(v).A_p(v)=1+p^{-1}-p^{-v-1},\qquad t_p(v)= \frac{\sum_{j=1}^v(1-p^{-1})p^{-j}(j+(p-1)^{-1})}{A_p(v)}. Euler-factor multiplication in the main term of (48) gives f(n)=∏pv∥nAp(v)(γ+∑pv∥ntp(v)log⁡p)−γ+O(1).f(n)=\prod_{p^v\parallel n}A_p(v) \left(\gamma+\sum_{p^v\parallel n}t_p(v)\log p\right) -\gamma+O(1). The local numerator equals [1+p−1−(v+1)p−v+(v−1)p−v−1]/(p−1)[1+p^{-1}-(v+1)p^{-v}+(v-1)p^{-v-1}]/(p-1). Hence Ap(v)≤1+p−1A_p(v)\le1+p^{-1} and 0≤tp(v)≤(p−1)−10\le t_p(v)\le(p-1)^{-1}, with equality in the limits as v→∞v\to\infty.

The classical Mertens estimates are ∏p≤y(1−p−1)−1∼eγlog⁡y,∑p≤ylog⁡pp=log⁡y+O(1).\prod_{p\le y}(1-p^{-1})^{-1}\sim e^\gamma\log y,\qquad \sum_{p\le y}\frac{\log p}{p}=\log y+O(1). See [6]. They imply ∏p≤y(1+p−1)∼κlog⁡y\prod_{p\le y}(1+p^{-1})\sim\kappa\log y. For arbitrary nn, split its prime factors at y=log⁡ny=\log n. The larger ones satisfy ∑p∣np>yp−1≤log⁡nylog⁡y,∑p∣np>ylog⁡pp−1≪log⁡ny.\sum_{\substack{p\mid n\\p>y}}p^{-1} \le\frac{\log n}{y\log y},\qquad \sum_{\substack{p\mid n\\p>y}}\frac{\log p}{p-1} \ll\frac{\log n}{y}. These inequalities and (49) give the upper bound for ff. For LmL_m, the exponents are vp=⌊log⁡m/log⁡p⌋v_p=\lfloor\log m/\log p\rfloor. Splitting at m\sqrt m shows that replacing the finite local factors by their limiting factors costs O(m−1/2)O(m^{-1/2}) relatively in the product and O(log⁡m/m)O(\log m/\sqrt m) in the logarithm-weighted sum. Thus f(Lm)∼κlog⁡2mf(L_m)\sim\kappa\log^2m.

For CLC_L the corresponding factors, now for v≥0v\ge0, are Kp(v)=1+p−1−p−vp+1,up(v)=∑j≥1(1−p−1)p−2j+min⁡(j,v)(j+(p−1)−1)Kp(v).\begin{aligned} K_p(v)&=1+p^{-1}-\frac{p^{-v}}{p+1},\\ u_p(v)&=\frac{\sum_{j\ge1}(1-p^{-1})p^{-2j+\min(j,v)} (j+(p-1)^{-1})}{K_p(v)}. \end{aligned} Because 3CL+1=∑k≥2wk(k,L)3C_L+1=\sum_{k\ge2}w_k(k,L), formula (48) yields 3CL+1=∏pKp(vp(L))(γ+∑pup(vp(L))log⁡p)−γ+O(1).3C_L+1=\prod_pK_p(v_p(L)) \left(\gamma+\sum_pu_p(v_p(L))\log p\right)-\gamma+O(1). The error is uniform since (k,L)≤k(k,L)\le k. The factor at pp is the sum of φ(pj)pmin⁡(j,v)−3j\varphi(p^j)p^{\min(j,v)-3j} over j≥0j\ge0, so the product is absolutely convergent for each fixed LL. Its bounds are Kp(v)≤1+p−1,up(v)≤(p−1)−1,Kp(0)=1+1p(p+1),up(0)≪p−2.K_p(v)\le1+p^{-1},\quad u_p(v)\le(p-1)^{-1},\quad K_p(0)=1+\frac1{p(p+1)},\quad u_p(0)\ll p^{-2}. For the second bound, the finite-vv weights are the infinite-vv weights multiplied by the nonincreasing factor p−(j−v)+p^{-(j-v)_+}. This decreases the average of the increasing function j+(p−1)−11j≥1j+(p-1)^{-1}\mathbf 1_{j\ge1}. Primes not dividing LL contribute a convergent product and a convergent logarithm-weighted sum; they cannot be omitted from (51). More explicitly, with y=log⁡Ly=\log L, their factors beyond yy satisfy ∏p>yp∤LKp(0)=1+O(y−1),∑p>yp∤Lup(0)log⁡p≪log⁡(2y)y.\prod_{\substack{p>y\\p\nmid L}}K_p(0)=1+O(y^{-1}),\qquad \sum_{\substack{p>y\\p\nmid L}}u_p(0)\log p \ll\frac{\log(2y)}y. The primes at most yy are bounded by the limiting factors 1+p−11+p^{-1} and (p−1)−1(p-1)^{-1}, while the larger prime divisors of LL obey the two estimates used above for ff. This makes the upper bound uniform in LL. For L=LmL=L_m, Kp(∞)=1+p−1K_p(\infty)=1+p^{-1} and up(∞)=(p−1)−1u_p(\infty)=(p-1)^{-1}. With vp=⌊log⁡m/log⁡p⌋v_p=\lfloor\log m/\log p\rfloor, splitting at m\sqrt m gives ∑p≤mKp(∞)−Kp(vp)Kp(∞)≪m−1/2,∑p≤m(up(∞)−up(vp))log⁡p≪log⁡mm.\sum_{p\le m}\frac{K_p(\infty)-K_p(v_p)}{K_p(\infty)} \ll m^{-1/2},\qquad \sum_{p\le m}\bigl(u_p(\infty)-u_p(v_p)\bigr)\log p \ll\frac{\log m}{\sqrt m}. The absent primes p>mp>m have the convergent tails just estimated. These bounds and (51) give CL≤(Γ+o(1))(log⁡log⁡L)2C_L\le(\Gamma+o(1))(\log\log L)^2 and CLm∼Γlog⁡2mC_{L_m}\sim\Gamma\log^2m. Finally log⁡Lm∼m\log L_m\sim m by the prime number theorem [9]. This proves the lower maximal orders and the assertion about gg. ◻

The reset sum is a classical gcd observable: 1+f(n)=∑j=1n(j,n)2jn.1+f(n)=\sum_{j=1}^n\frac{(j,n)^2}{jn}. Grouping by the reduced denominator proves this identity. The new alignment quantity CLC_L averages the same harmonic weights against gcd⁡(k,L)−1\gcd(k,L)-1. A single prime-power tower is uniformly bounded in the relevant quantities: f(pv)+Cpv≪1+log⁡pp(v≥1).f(p^v)+C_{p^v}\ll\frac{1+\log p}{p}\qquad(v\ge1). For ff sum apj≪(1+jlog⁡p)/pja_{p^j}\ll(1+j\log p)/p^j. For CC, write k=pjmk=p^jm, (p,m)=1(p,m)=1, bound (k,pv)−1≤pj(k,p^v)-1\le p^j, and sum the convergent series in m−2m^{-2} and p−jp^{-j}.

Finite conductor extrema

Define the fixed-coefficient truncation FQ(a)=23∑2≤q≤QηqPq(a),VQ=13∑2≤q≤Qφ(q)ηq.F_Q(a)=\frac23\sum_{2\le q\le Q}\eta_qP_q(a),\qquad V_Q=\frac13\sum_{2\le q\le Q}\varphi(q)\eta_q. This differs from the period cutoff YQY_Q, whose conductor coefficients are ηq,Q\eta_{q,Q}.

Lemma 21 (Positive Möbius regrouping). For 2≤d≤Q2\le d\le Q, let βd(Q)=∑j≤Q/dμ(j)ηdj\beta_d(Q)=\sum_{j\le Q/d}\mu(j)\eta_{dj}. Then FQ(a)=23∑d=2Qβd(Q)Ed(a),βd(Q)>12wd.F_Q(a)=\frac23\sum_{d=2}^Q\beta_d(Q)E_d(a),\qquad \beta_d(Q)>\frac12w_d.

Proof. The identity follows by interchanging finite divisor sums. Dropping the extra coprimality restriction in Hdm∗H_{dm}^* gives Hdm∗≤Hd∗+φ(d)Hm−1/dH_{dm}^*\le H_d^*+\varphi(d)H_{m-1}/d. Pairing rr with d−rd-r gives Hd∗≥2φ(d)/dH_d^*\ge2\varphi(d)/d, including d=2d=2. Thus wdm≤wdm2(1+12Hm−1).w_{dm}\le \frac{w_d}{m^2}(1+\tfrac12H_{m-1}). For J=⌊Q/d⌋J=\lfloor Q/d\rfloor, βd(Q)=∑m≥1wdm∑j∣m, j≤Jμ(j)\beta_d(Q)=\sum_{m\ge1}w_{dm}\sum_{j\mid m,\ j\le J}\mu(j). For m≥2m\ge2 the inner sum is at least −N(m)-N(m), where N(m)=2ω(m)−1−1≥0N(m)=2^{\omega(m)-1}-1\ge0. Its Dirichlet series is A(s)=∑m≥2N(m)ms=ζ(s)22ζ(2s)−ζ(s)+12.\mathcal A(s)=\sum_{m\ge2}\frac{N(m)}{m^s} =\frac{\zeta(s)^2}{2\zeta(2s)}-\zeta(s)+\frac12. Using Hm−1≤1+log⁡mH_{m-1}\le1+\log m and 12log⁡m≤e−1m<(37/100)m\frac12\log m\le e^{-1}\sqrt m<(37/100)\sqrt m yields βd(Q)wd≥1−32A(2)−37100A(3/2)>1−39798000>12.\frac{\beta_d(Q)}{w_d} \ge1-\tfrac32\mathcal A(2)-\tfrac{37}{100}\mathcal A(3/2) >1-\frac{3979}{8000}>\frac12. Here A(2)=7/4−ζ(2)<1/8\mathcal A(2)=7/4-\zeta(2)<1/8 and A(3/2)<67/80\mathcal A(3/2)<67/80. These estimates follow from ζ(2)>13/8\zeta(2)>13/8, ζ(3)>6/5\zeta(3)>6/5, and ζ(3/2)<27/10\zeta(3/2)<27/10. The first two are certified by sums through 50 and 16; for the last, the integral test gives ζ(3/2)<2+5/14+1/5+1/8=751/280\zeta(3/2)<2+5/14+1/5+1/8=751/280. Substitution in the displayed Dirichlet series proves the stated rational bounds. ◻

Theorem 22 (Complete and restricted finite extrema). On residues modulo LQL_Q the unique minimum and maximum of FQF_Q are −VQ-V_Q at zero and VQV_Q at minus one. Moreover, VQ=log⁡2Qπ2+O(log⁡(2Q)).V_Q=\frac{\log^2Q}{\pi^2}+O(\log(2Q)). For Q≥3Q\ge3, removing these two classes changes the extrema to −VQ+δQ-V_Q+\delta_Q and VQ−δQV_Q-\delta_Q, where δQ≍log⁡QQ2.\delta_Q\asymp\frac{\log Q}{Q^2}. For all sufficiently large QQ, δQ=23min⁡Q/2<p≤Qηp∼2ζ(2)3ζ(3)log⁡QQ2.\delta_Q=\frac23\min_{Q/2<p\le Q}\eta_p \sim\frac{2\zeta(2)}{3\zeta(3)}\frac{\log Q}{Q^2}. For all sufficiently large QQ, the restricted minimizers have one nonzero prime-power coordinate, a≡1(modp)a\equiv1\pmod p, with all other coordinates zero, for a prime attaining that minimum.

Proof. Positive regrouping makes each remainder simultaneously minimal at zero. Equality forces every d≤Qd\le Q to divide aa. Reflection a↦−1−aa\mapsto-1-a gives the maximum. The endpoint value is Pq(0)=−φ(q)/2P_q(0)=-\varphi(q)/2. Absolute divisor inversion gives ∑j≥1μ(j)ηdj=wd\sum_{j\ge1}\mu(j)\eta_{dj}=w_d, and hence ∣βd(Q)−wd∣≪log⁡(2Q)dQ.|\beta_d(Q)-w_d|\ll\frac{\log(2Q)}{dQ}. At zero this compares VQV_Q with D∗(Q)D_*(Q) to within O(log⁡(2Q))O(\log(2Q)), proving the leading value.

If Q/2<p≤QQ/2<p\le Q, the only row d≤Qd\le Q involving pp is d=pd=p, and βp(Q)=ηp\beta_p(Q)=\eta_p. The CRT address a≡0(modLQ/p)a\equiv0\pmod{L_Q/p}, a≡1(modp)a\equiv1\pmod p has gap 2ηp/32\eta_p/3. The conductor expansion (36) gives ηp=ζ(2)ζ(3)log⁡pp2+O(p−2).\eta_p=\frac{\zeta(2)}{\zeta(3)}\frac{\log p}{p^2}+O(p^{-2}). Here ρ(p)=1+O(p−1)\rho(p)=1+O(p^{-1}) and ν(p)=O(log⁡p/p)\nu(p)=O(\log p/p).

Before the factor 2/32/3, a nonzero residue at a prime p≤Q/2p\le Q/2 costs at least 12wp≥log⁡p/(2p2)\frac12w_p\ge\log p/(2p^2). This is at least 2log⁡(Q/2)/Q22\log(Q/2)/Q^2 for large QQ, exceeding the candidate coefficient ζ(2)/ζ(3)<2\zeta(2)/\zeta(3)<2. If pj≤Qp^j\le Q, j≥2j\ge2, is the first missing power of a prime, its remainder is at least pj−1p^{j-1}. Since Hpj∗≥12log⁡(pj)H_{p^j}^*\ge\frac12\log(p^j), its cost is at least log⁡(pj)/(4pj+1)≥log⁡Q/(4Q3/2)\log(p^j)/(4p^{j+1})\ge\log Q/(4Q^{3/2}). It also exceeds the candidate. Only primes in (Q/2,Q](Q/2,Q] can therefore occur in a restricted minimizer. Their single-row costs add positively, proving the exact classification. The prime number theorem supplies primes with p/Q→1p/Q\to1, and (55) proves (54). Finitely many smaller QQ are absorbed into the two-sided order. ◻

The perturbation in Proposition 8 preserves these complete finite extremal values at every Q≥4Q\ge4. Its conductor amplitudes change only at 2,3,42,3,4, by 2ε,−2ε,ε2\varepsilon,-2\varepsilon, \varepsilon. Hence FQv=FQ+εZF_Q^v=F_Q+\varepsilon Z and VQv=VQV_Q^v=V_Q. The regrouped weights change by ε,−2ε,ε\varepsilon,-2\varepsilon,\varepsilon at d=2,3,4d=2,3,4 and remain positive by Lemma 21 and ∣ε∣<1/24|\varepsilon|<1/24. The unique complete extrema are still zero and minus one. Exact boundary readout contains more information than these extremal values.

Individual conductor rows need not have endpoint extrema. For example, (P6(0),…,P6(5))=(−1,−2,−1,1,2,1).(P_6(0),\ldots,P_6(5))=(-1,-2,-1,1,2,1). More generally, if s=rad⁡(q)s=\operatorname{rad}(q) and v=q/sv=q/s, then Pq(a)=vPs(⌊a/v⌋).P_q(a)=vP_s(\lfloor a/v\rfloor). To prove this, write a=vb+ta=vb+t and apply Eve(a)=vEe(b)+t−(v−1)/2E_{ve}(a)=vE_e(b)+t-(v-1)/2 in the Möbius sum; its constant part vanishes. Thus the addresses (6J−1)/5(6^J-1)/5 align the interior minima of all rows 6j6^j, 1≤j≤J1\le j\le J. Their weighted total remains bounded by a constant times ∑j/6j\sum j/6^j. The positivity theorem concerns the entire weighted aggregate.

Proposition 23 (Position stability and its divisibility limit). Relative near-minimality controls mean relative position. Define νL(k)=wk((k,L)−1)3CL((k,L)>1).\nu_L(k)=\frac{w_k((k,L)-1)}{3C_L}\qquad((k,L)>1). Then mL(a)+CL2CL=∑(k,L)>1νL(k)r(k,L)(a)(k,L)−1.\frac{m_L(a)+C_L}{2C_L} =\sum_{(k,L)>1}\nu_L(k)\frac{r_{(k,L)}(a)}{(k,L)-1}. A gap at most εCL\varepsilon C_L gives νL\nu_L-mass at most ε/(2δ)\varepsilon/(2\delta) to relative positions exceeding δ\delta. Nevertheless mLm(1)=−CLm+23+O(log⁡(2m)/m),FQ(1)=−VQ+23+O(log⁡(2Q)/Q).\begin{aligned} m_{L_m}(1)&=-C_{L_m}+\frac23+O(\log(2m)/m),\\ F_Q(1)&=-V_Q+\frac23+O(\log(2Q)/Q). \end{aligned} Thus relative near-extremality does not require divisibility by small primes.

Proof. The identity is a rearrangement of (45); Markov’s inequality proves the stability assertion. At address one, the exact conditional gap is 23∑(k,Lm)>1wk.\frac23\sum_{(k,L_m)>1}w_k. This sum contains every 2≤k≤m2\le k\le m. The omitted mass is O(log⁡(2m)/m)O(\log(2m)/m). For (57), use Pq(1)−Pq(0)=−μ(q)P_q(1)-P_q(0)=-\mu(q) and ∑q≥2μ(q)ηq=−1\sum_{q\ge2}\mu(q)\eta_q=-1. ◻

The analogous finite probability weights are βd(Q)(d−1)/(3VQ)\beta_d(Q)(d-1)/(3V_Q). There is also an absolute, much smaller divisibility threshold. If Z≤QZ\le Q and FQ(a)+VQ<log⁡Z/(6Z2)F_Q(a)+V_Q<\log Z/(6Z^2), then LZ∣aL_Z\mid a. Indeed a missing prime power t≤Zt\le Z has wt≥log⁡t/(2t2)w_t\ge\log t/(2t^2) and contributes at least wt/3w_t/3 to the gap. This is an absolute-gap assertion, consistent with the failure of relative divisibility stability.

Stationary distribution

Theorem 24 (Tails and finite moments). For every 0<c<π0<c<\pi, P(∣Y∣>H)≪cexp⁡(−cH)(H≥1).\mathbb P(|Y|>H)\ll_c \exp(-c\sqrt H)\qquad(H\ge1). The same bound is uniform for YMY_M. Consequently YM→YY_M\to Y in every finite LrL^r, ∥Y∥r≪r2\left\|Y\right\|_r\ll r^2, and Eexp⁡(c∣Y∣)<∞\mathbb E\exp(c\sqrt{|Y|})<\infty for c<πc<\pi. The support is unbounded in both directions. For every d>1/Γd>1/\sqrt\Gamma, eventually P(Y>H)=P(Y<−H)≥exp⁡{−exp⁡(dH)}.\mathbb P(Y>H)=\mathbb P(Y<-H)\ge\exp\{-\exp(d\sqrt H)\}.

Proof. The exact supremum of ∣YL∣|Y_L| is D∗(L)D_*(L). Choose c<d0<πc<d_0<\pi and L=⌊exp⁡(d0H)⌋L=\lfloor\exp(d_0\sqrt H)\rfloor. Equation (16) gives D∗(L)≤(1−ε)HD_*(L)\le(1-\varepsilon)H for some fixed ε>0\varepsilon>0 when HH is large. Chebyshev applied to Y−YLY-Y_L gives O(log⁡2L/(LH2))≪ce−cHO(\log^2L/(LH^2))\ll_c e^{-c\sqrt H}. For YMY_M, if M≤LM\le L the event is empty; otherwise the same tail-variance argument is uniform in MM. These uniform tails imply all the moment and integrability statements.

On the cylinder A={x=0 mod L}A=\{x=0\bmod L\}, the conditional mean is −CL-C_L. For H<CLH<C_L, E((−Y−H)1A∩{Y<−H})≥(CL−H)/L.\mathbb E((-Y-H)\mathbf 1_{A\cap\{Y<-H\}})\ge(C_L-H)/L. Cauchy–Schwarz and EY2=σ2\mathbb EY^2=\sigma^2 therefore give P(Y<−H)≥(CL−H)2/(L2σ2)\mathbb P(Y<-H)\ge(C_L-H)^2/(L^2\sigma^2). Choose L=LmL=L_m with m=⌊exp⁡(d0H)⌋m=\lfloor\exp(d_0\sqrt H)\rfloor and 1/Γ<d0<d1/\sqrt\Gamma<d_0<d. Theorem 20 and log⁡Lm∼m\log L_m\sim m yield the lower bound. Reflection gives the other sign. ◻

Lemma 25 (Bernoulli activation). Suppose independent Bernoulli variables have probabilities bi≤1/2b_i\le1/2. If changing any coordinate from zero to one increases a function by at least a>0a>0, then the probability that its value lies in any interval of length less than aa is O((1+∑ibi)−1/2)O((1+\sum_i b_i)^{-1/2}).

Proof. Such an inverse image is an antichain in the coordinate order. Write each Bernoulli variable as CiεiC_i\varepsilon_i, with CiC_i of probability 2bi2b_i and εi\varepsilon_i fair, independently. Conditional on the CiC_i, Sperner’s estimate bounds the probability by O((1+∑Ci)−1/2)O((1+\sum C_i)^{-1/2}). The variance of ∑Ci\sum C_i is at most its mean. Splitting at half that mean and applying Chebyshev gives the assertion. This is the probabilistic antichain method of [1]. ◻

Theorem 26 (Concentration and absence of atoms). For 0<ε≤10<\varepsilon\le1, sup⁡uP(Y∈[u,u+ε])≪ε1/4.\sup_u\mathbb P(Y\in[u,u+\varepsilon])\ll\varepsilon^{1/4}. The law of YY therefore has no atoms. The laws of ff, gg, and of every fixed nonempty increment block have no atoms either.

Proof. Let Fh(x)=∑j=1hf(x+j)F_h(x)=\sum_{j=1}^h f(x+j) and select primes P/2<p≤PP/2<p\le P, where h≤P/4h\le P/4. The event that pp divides one of x+1,…,x+hx+1,\ldots,x+h has probability h/p≤1/2h/p\le1/2; there is at most one hit. These events are independent across primes under Haar measure.

For each selected prime, sample a Bernoulli activation indicator with parameter h/ph/p. Independently sample a hit location uniformly from {1,…,h}\{1,\ldots,h\} and a positive valuation ee with probabilities P(e=j)=(p−1)/pj\mathbb P(e=j)=(p-1)/p^j, j≥1j\ge1, together with the conditional pp-adic tail. Also sample an independent inactive pp-adic coordinate, conditioned to avoid the hh hit classes. These auxiliary choices are independent of the activation indicators and independent across primes. They reproduce Haar measure: conditional on a hit, its location is uniform and its valuation has the displayed law. Fix the auxiliary choices and all other prime coordinates. Activating pp leaves all divisors prime to pp unchanged and adds only positive divisor terms, including the term ap=Hp−1/pa_p=H_{p-1}/p at the hit. Terms involving several selected primes are also nondecreasing. This argument applies first to finite divisor sums. Their increasing limit is almost surely finite by Theorem 9. For the fixed finite set of selected primes, every activation pattern has positive probability. Removing the union of its finitely many exceptional auxiliary sets makes the full sums finite simultaneously for all patterns. The same monotonicity and increment lower bound therefore hold for the full sums on that common set. Thus Lemma 25 and the prime number theorem give sup⁡uP(Fh∈[u,u+δ])≪min⁡(1,log⁡Ph),δ<log⁡(P/2)P.\sup_u\mathbb P(F_h\in[u,u+\delta]) \ll\min\left(1,\sqrt{\frac{\log P}{h}}\right), \quad \delta<\frac{\log(P/2)}P.

Let A={Y∈I}A=\{Y\in I\} with ∣I∣=ε|I|=\varepsilon and ρ=P(A)\rho=\mathbb P(A). By (22), A∩τ−hAA\cap\tau^{-h}A places FhF_h in an interval of length 3ε3\varepsilon. Take P=⌊log⁡(1/ε)/(10ε)⌋P=\lfloor\log(1/\varepsilon)/(10\varepsilon)\rfloor and N=⌊P/4⌋N=\lfloor P/4\rfloor, for sufficiently small ε\varepsilon. Stationarity and the second moment of ∑j=0N−11A(x+j)\sum_{j=0}^{N-1}\mathbf 1_A(x+j) give ρ2≤ρN+2N2∑h=1N−1(N−h)P(A∩τ−hA)≪log⁡PN.\rho^2\le\frac{\rho}{N} +\frac2{N^2}\sum_{h=1}^{N-1}(N-h)\mathbb P(A\cap\tau^{-h}A) \ll\sqrt{\frac{\log P}{N}}. Taking square roots proves (58). For a fixed hh, select instead all primes 2h<p≤P2h<p\le P. Their activation probabilities have divergent sum as P→∞P\to\infty. The level set of a single value is an antichain for every finite set of selected primes, since all increments are positive. Lemma 25 then forces every atom of FhF_h to have mass zero. This includes f=F1∘τ−1f=F_1\circ\tau^{-1} and hence gg. ◻

The characteristic function has the explicit finite approximation Φ(t)=EeitY=lim⁡M→∞1LM∑a mod LMeitYM(a),∣Φ(t)−ΦM(t)∣≪∣t∣log⁡(2M)M.\Phi(t)=\mathbb Ee^{itY} =\lim_{M\to\infty}\frac1{L_M}\sum_{a\bmod L_M}e^{itY_M(a)}, \qquad |\Phi(t)-\Phi_M(t)|\ll |t|\frac{\log(2M)}{\sqrt M}. It is real, even, and smooth, by symmetry and finite moments. Neither analyticity nor a density follows from these assertions. Combining (58) with the L2L^2 tail estimate gives the uniform distribution-function approximation sup⁡u∣P(YM≤u)−P(Y≤u)∣≪(log⁡2(2M)M)1/9.\sup_u|\mathbb P(Y_M\le u)-\mathbb P(Y\le u)| \ll\left(\frac{\log^2(2M)}M\right)^{1/9}. Indeed compare at distance ε\varepsilon, with errors O(ε1/4)O(\varepsilon^{1/4}) and O(log⁡2(2M)/(Mε2))O(\log^2(2M)/(M\varepsilon^2)), and balance them.

There are no gaps in the support longer than 2/32/3. If a gap (a,b)(a,b) with b−a>2/3b-a>2/3 separated two parts of positive probability, the bound g≤2/3g\le2/3 would imply that {Y≤a}\{Y\le a\} is forward invariant modulo null sets. Measure preservation would make it invariant, contradicting ergodicity. Unbounded support ensures positive mass on both sides of any alleged gap. This does not identify the full support or prove absolute continuity.

Integer cutoff singularities

Theorem 27 (Canonical cutoff singularity). For every fixed nonnegative integer nn and every M≥nM\ge n, YM(n)=Dn−D∗(M)−23n∑k>Mwk.Y_M(n)=D_n-D_*(M)-\frac23n\sum_{k>M}w_k. In particular YM(n)→−∞Y_M(n)\to-\infty. At every fixed negative integer it tends to +∞+\infty. Nevertheless Dn=lim⁡M→∞(YM(n)−YM(0)).D_n=\lim_{M\to\infty}\bigl(Y_M(n)-Y_M(0)\bigr).

Proof. For k>M≥nk>M\ge n, the residue rk(n)r_k(n) equals nn. Separate these terms in (14) and subtract D∗(M)D_*(M). The tail tends to zero at fixed nn, whereas D∗(M)→∞D_*(M)\to\infty. Reflection around −1/2-1/2 gives the negative integers. Subtracting the formula at zero proves the final identity. ◻

The integer orbit is dense in Z^\widehat{\mathbb Z} and has Haar measure zero. Theorem 27 concerns the canonical cutoffs on that orbit; it does not assign point values to an L2L^2 equivalence class. At a growing resolution the exact equation is instead Dn−D∗(n)=Yn(n)+23n∑k>nwk.D_n-D_*(n)=Y_n(n)+\frac23n\sum_{k>n}w_k. The changing observable YnY_n must be evaluated at the changing integer address nn. Its distribution cannot be deduced from unique ergodicity for a fixed continuous function.

The moving-diagonal identity isolates a separate arithmetic transfer problem. Determining the distribution of this changing observation, either on integer intervals or at resolutions p−1p-1, requires additional averaging estimates. The stationary theory alone does not provide that transfer. The mixed-moment identity in Theorem 18 recovers every spectral amplitude and hence the original boundary mass.

References

[1]M. Aizenman, F. Germinet, A. Klein, and S. Warzel, On Bernoulli decompositions for random variables, concentration bounds, and spectral localization, Probab. Theory Related Fields 143 (2009), 219–238, https://doi.org/10.1007/s00440-007-0125-7.

[2]F. W. J. Olver et al., eds., NIST Digital Library of Mathematical Functions, Sections 4.22 and 5.11, https://dlmf.nist.gov/.

[3]M. Foreman and B. Weiss, Odometer based systems, https://arxiv.org/abs/2009.10162.

[4]T. Hilberdink, F. Luca, and L. Tóth, On certain sums concerning the gcd's and lcm's of kk positive integers, Int. J. Number Theory 16 (2020), no. 1, 77–90, https://doi.org/10.1142/S1793042120500049.

[5]R. J. Lemke Oliver and K. Soundararajan, The distribution of consecutive prime biases and sums of sawtooth random variables, Math. Proc. Cambridge Philos. Soc. 168 (2020), no. 1, 149–169, https://doi.org/10.1017/S0305004118000592.

[6]J. D. Lichtman, Mertens' prime product formula, dissected, https://arxiv.org/abs/2002.03361.

[7]A. S. Petty, The Cubic Law for Digit-Collision Energy, https://doi.org/10.5281/zenodo.20547910.

[8]A. S. Petty, The Secondary Term in Digit-Collision Energy, https://doi.org/10.5281/zenodo.21875096.

[9]F. K. Richter, A new elementary proof of the prime number theorem, https://arxiv.org/abs/2002.03255.