Petty’s Notebook

The Collision Spectrum

About this paperRepository PDFZenodoarXiv
Cite this paper

A. S. Petty, The Collision Spectrum, arXiv:2604.00054, DOI: 10.5281/zenodo.21856168.

Lean proofs

Abstract

Let bb be an odd prime and fiber-center the lag-one collision function on (Z/b2Z)×(\mathbb Z/b^2\mathbb Z)^\times. Every primitive odd Fourier coefficient factors into a generalized Bernoulli number and a finite diagonal character sum. Retaining phase gives S^∘(χ)=2π(b−1)ε(χ‾)L(1,χ)A(χ)‾.\widehat S^\circ(\chi) = \frac{2}{\pi(b-1)} \varepsilon(\overline\chi)L(1,\chi)\overline{A(\chi)}. This separates the classical root-number and LL-value factor from the collision diagonal. Primitive odd orthogonality proves ∑χmodb2χ primitive odd∣SG(χ)∣2=2b(b−1)2.\sum_{\substack{\chi\bmod b^2\\ \chi\ {\rm primitive\ odd}}}|S_G(\chi)|^2 =2b(b-1)^2. The diagonal squares have mean 4b4b and normalize to probability weights. Parseval identifies the collision energy with their weighted second moment of ∣L(1,χ)∣|L(1,\chi)|.

At base five, a cyclotomic identity makes the two factor magnitudes proportional, gives centered collision energy 4848, and yields ∑χmod25χ primitive odd∣L(1,χ)∣4=192π4625.\sum_{\substack{\chi\bmod25\\ \chi\ {\rm primitive\ odd}}}|L(1,\chi)|^4 =\frac{192\pi^4}{625}. An exhaustive finite ledger covers all 14,37214{,}372 primitive odd characters at the odd prime bases from 55 through 7171. It proves no asymptotic law. The co-variation of diagonal weight and ∣L(1,χ)∣|L(1,\chi)| as the base grows remains open.

March 2026 (revised September 2026)
2020 Mathematics Subject Classification: 11A63, 11L40, 11M06

One Unit of Collision Weight

A digit equality can retain an analytic special value. Long division gives a finite equality table. Centering removes the part already fixed by the final digit class, and Fourier expansion isolates what remains in each multiplicative character channel. The resulting coefficient is the product of a generalized Bernoulli number and a short character sum along the equality diagonal. The total mass of these diagonal factors is exact. It fixes the normalization of a collision-weighted mean of Dirichlet LL-values at one.

Coordinate agreement under cyclic shift belongs to classical Hamming correlation theory [1]. Kak and Chatterjee studied decimal prime-reciprocal sequences as communication codes and obtained bounds for Hamming distance from cyclic shifts and for autocorrelation [2]. In the full-reptend case, the underlying collision observable is exactly cyclic shift agreement. The complete-unit formulation below does not require a primitive-root hypothesis. The Hamming observable itself is not new.

A neighboring literature weights digit values rather than testing equality. Girstmair related reciprocal digits to class-number factors and expressed full-period digit variance through a Dedekind sum  [3, 4]. Murty and Thangadurai studied digit averages for bases of prescribed order, and Girstmair later treated half-period variance [5, 6]. Generalized Bernoulli numbers, Dirichlet LL-values, and class numbers enter those settings.

Finite Fourier analysis, character orthogonality, and Parseval are standard  [8]. The generalized Bernoulli and L(1,χ)L(1,\chi) identity is classical [10], as is the surrounding theory of second moments at one [7]. The result specific to the collision table is the exact coefficient factorization, the exact diagonal second moment, and the resulting collision-weighted special-value identity.

At base five, a symbolic cyclotomic identity makes the two factor magnitudes proportional in every primitive odd channel. The finite collision energy then evaluates a fourth moment over the eight primitive odd characters modulo 2525. This is a fixed-modulus identity, not a fourth-moment asymptotic. The finite ledger through base 7171 records the channelwise relation while leaving its base asymptotics open.

The Centered Collision Function

Fix an odd prime bb and put m=b2,Um=(Z/mZ)×.m=b^2, \qquad U_m=(\mathbb Z/m\mathbb Z)^\times. Every residue in UmU_m will be represented by its unique integer aa with 1≤a<m1\le a<m. Dirichlet characters are extended by zero on nonunits.

The lag-one diagonal is G={0≤n<m:⌊nb⌋=n mod b}={r(b+1):0≤r≤b−1}.\begin{aligned} G &= \left\{0\le n<m: \left\lfloor\frac nb\right\rfloor=n\bmod b\right\}\\ &= \{r(b+1):0\le r\le b-1\}. \end{aligned} For n∈Gn\in G, define the digit increment dn(a)=⌊(n+1)am⌋−⌊nam⌋.d_n(a) = \left\lfloor\frac{(n+1)a}{m}\right\rfloor - \left\lfloor\frac{na}{m}\right\rfloor. The finite collision function is S(a)=−1−⌊ab⌋+∑n∈Gdn(a).S(a) = -1-\left\lfloor\frac ab\right\rfloor +\sum_{n\in G}d_n(a). This is the finite-determination form of the lag-one collision deviation. Primality of an original denominator has disappeared from (1). Only its residue aa modulo b2b^2 remains.

For 1≤s≤b−11\le s\le b-1, let Us={a∈Um:a≡s(modb)},S‾s=1b∑a∈UsS(a).U_s=\{a\in U_m:a\equiv s\pmod b\}, \qquad \overline S_s=\frac1b\sum_{a\in U_s}S(a). Define S∘(a)=S(a)−S‾a mod b.S^\circ(a)=S(a)-\overline S_{a\bmod b}. The centered coefficient is S^∘(χ)=1φ(m)∑a∈UmS∘(a)χ‾(a).\widehat S^\circ(\chi) = \frac1{\varphi(m)} \sum_{a\in U_m}S^\circ(a)\overline{\chi}(a).

Lemma 1 (Reflection). For every a∈Uma\in U_m, S(a)+S(m−a)=−1.S(a)+S(m-a)=-1. Consequently, S‾s+S‾b−s=−1\overline S_s+\overline S_{b-s}=-1 and S∘(m−a)=−S∘(a).S^\circ(m-a)=-S^\circ(a).

Proof. For 1≤n≤m−21\le n\le m-2, neither na/mna/m nor (n+1)a/m(n+1)a/m is an integer. The floor identity ⌊k(m−a)m⌋=k−1−⌊kam⌋\left\lfloor\frac{k(m-a)}m\right\rfloor = k-1-\left\lfloor\frac{ka}m\right\rfloor therefore gives dn(a)+dn(m−a)=1.d_n(a)+d_n(m-a)=1. The endpoint terms satisfy d0(a)=d0(m−a)=0,dm−1(a)=dm−1(m−a)=1.d_0(a)=d_0(m-a)=0, \qquad d_{m-1}(a)=d_{m-1}(m-a)=1. There are b−2b-2 interior elements of GG. Since aa is not divisible by bb, ⌊ab⌋+⌊m−ab⌋=b−1.\left\lfloor\frac ab\right\rfloor + \left\lfloor\frac{m-a}b\right\rfloor =b-1. Substitution in (1) gives the first identity. The map a↦m−aa\mapsto m-a carries UsU_s bijectively onto Ub−sU_{b-s}. Averaging the first identity over a fiber gives the second, and subtracting the paired means gives the third. ◻

Lemma 2 (Primitive fiber cancellation). If χ\chi is primitive modulo b2b^2, then ∑a∈Usχ‾(a)=0\sum_{a\in U_s}\overline\chi(a)=0 for every 1≤s≤b−11\le s\le b-1. Hence ∑a∈UmS‾a mod b χ‾(a)=0.\sum_{a\in U_m}\overline S_{a\bmod b}\, \overline\chi(a)=0.

Proof. The subgroup H={1+jb:0≤j≤b−1}H=\{1+jb:0\le j\le b-1\} is the kernel of reduction from UmU_m to (Z/bZ)×(\mathbb Z/b\mathbb Z)^\times. A primitive character modulo b2b^2 is nontrivial on HH. Character orthogonality gives ∑u∈Hχ‾(u)=0.\sum_{u\in H}\overline\chi(u)=0. Every fiber UsU_s is a multiplicative coset of HH, so its character sum also vanishes. The fiber mean is constant on that coset, which proves the second identity. ◻

Diagonal Reduction

For an odd character χ\chi modulo b2b^2, define SG(χ)=∑n∈G[χ‾(n+1)−χ‾(n)].S_G(\chi) = \sum_{n\in G} \bigl[\overline\chi(n+1)-\overline\chi(n)\bigr].

Lemma 3 (Diagonal reduction). For every odd character χ\chi modulo b2b^2, SG(χ)=−2 χ‾(b+1)∑k=1b−1χ‾(k).S_G(\chi) = -2\,\overline\chi(b+1) \sum_{k=1}^{b-1}\overline\chi(k). In particular, ∣SG(χ)∣=2∣∑k=1b−1χ‾(k)∣.|S_G(\chi)| = 2\left|\sum_{k=1}^{b-1}\overline\chi(k)\right|.

Proof. Put Pχ=∑k=1b−1χ‾(k),α=χ‾(b+1).P_\chi=\sum_{k=1}^{b-1}\overline\chi(k), \qquad \alpha=\overline\chi(b+1). The terms indexed by n=r(b+1)n=r(b+1) give SG(χ)=Qχ−αPχ,S_G(\chi)=Q_\chi-\alpha P_\chi, where Qχ=∑r=0b−2χ‾(r(b+1)+1).Q_\chi = \sum_{r=0}^{b-2} \overline\chi\bigl(r(b+1)+1\bigr). The reflection b2−(r(b+1)+1)=(b−1−r)(b+1)b^2-\bigl(r(b+1)+1\bigr) =(b-1-r)(b+1) maps the arguments in QχQ_\chi bijectively onto {j(b+1):1≤j≤b−1}.\{j(b+1):1\le j\le b-1\}. Oddness gives −Qχ=α∑j=1b−1χ‾(j)=αPχ.-Q_\chi = \alpha\sum_{j=1}^{b-1}\overline\chi(j) = \alpha P_\chi. Thus Qχ=−αPχQ_\chi=-\alpha P_\chi, which proves the result. ◻

Write A(χ)=∑r=0b−2χ‾(r(b+1)+1).A(\chi) = \sum_{r=0}^{b-2} \overline\chi\bigl(r(b+1)+1\bigr). The proof gives the phase-sensitive identity SG(χ)=2A(χ).S_G(\chi)=2A(\chi).

Bernoulli Factorization

For a character χ\chi modulo mm, put B1,χ‾=1m∑a∈Uma χ‾(a).B_{1,\overline\chi} = \frac1m\sum_{a\in U_m}a\,\overline\chi(a).

Lemma 4 (Fractional-part transform). Let χ\chi be a primitive character modulo mm, and let nn be coprime to mm. Then ∑a∈Umχ‾(a){nam}=χ(n)B1,χ‾.\sum_{a\in U_m} \overline\chi(a) \left\{\frac{na}{m}\right\} = \chi(n)B_{1,\overline\chi}. Consequently, ∑a∈Um⌊nam⌋χ‾(a)=(n−χ(n))B1,χ‾.\sum_{a\in U_m} \left\lfloor\frac{na}{m}\right\rfloor \overline\chi(a) = \bigl(n-\chi(n)\bigr)B_{1,\overline\chi}.

Proof. Multiplication by nn permutes UmU_m. Substitution by n−1an^{-1}a gives ∑a∈Umχ‾(a){nam}=χ(n)∑a∈Umχ‾(a)am.\sum_{a\in U_m} \overline\chi(a) \left\{\frac{na}{m}\right\} = \chi(n)\sum_{a\in U_m} \overline\chi(a)\frac am. This is the first identity. Subtracting it from nm∑a∈Uma χ‾(a)\frac nm\sum_{a\in U_m}a\,\overline\chi(a) gives the second. ◻

Theorem 5 (Collision spectrum factorization). Let bb be an odd prime, let m=b2m=b^2, and let χ\chi be primitive and odd modulo mm. Then S^∘(χ)=−B1,χ‾ SG(χ)‾φ(m).\widehat S^\circ(\chi) = -\frac{B_{1,\overline\chi}\, \overline{S_G(\chi)}}{\varphi(m)}.

Proof. Write φ=φ(m)\varphi=\varphi(m). By Lemma 2, the centering term contributes zero. Hence φ S^∘(χ)=∑a∈UmS(a)χ‾(a).\varphi\,\widehat S^\circ(\chi) = \sum_{a\in U_m}S(a)\overline\chi(a).

The constant term in (1) contributes zero. Also, {ab}\left\{\frac ab\right\} is constant on each fiber UsU_s. Primitive fiber cancellation gives ∑a∈Um{ab}χ‾(a)=0.\sum_{a\in U_m} \left\{\frac ab\right\}\overline\chi(a)=0. It follows that −∑a∈Um⌊ab⌋χ‾(a)=−1b∑a∈Uma χ‾(a)=−bB1,χ‾.-\sum_{a\in U_m} \left\lfloor\frac ab\right\rfloor\overline\chi(a) = -\frac1b\sum_{a\in U_m}a\,\overline\chi(a) = -bB_{1,\overline\chi}.

At one endpoint, d0(a)=0d_0(a)=0. At the other, dm−1(a)=1d_{m-1}(a)=1. Every nontrivial character sums to zero, so both endpoint slices contribute zero. Every remaining diagonal index has the form n=r(b+1)n=r(b+1) with 1≤r≤b−21\le r\le b-2. Both nn and n+1n+1 are units modulo mm, so Lemma 4 gives ∑a∈Umdn(a)χ‾(a)=[1+χ(n)−χ(n+1)]B1,χ‾.\sum_{a\in U_m}d_n(a)\overline\chi(a) = \bigl[1+\chi(n)-\chi(n+1)\bigr]B_{1,\overline\chi}.

The two endpoint terms in SG(χ)‾\overline{S_G(\chi)} both equal 11. Therefore the sum over the b−2b-2 interior slices is B1,χ‾[b−SG(χ)‾].B_{1,\overline\chi} \bigl[b-\overline{S_G(\chi)}\bigr]. Combining this with the floor contribution gives φ S^∘(χ)=−bB1,χ‾+B1,χ‾[b−SG(χ)‾]=−B1,χ‾SG(χ)‾.\varphi\,\widehat S^\circ(\chi) = -bB_{1,\overline\chi} + B_{1,\overline\chi} \bigl[b-\overline{S_G(\chi)}\bigr] = -B_{1,\overline\chi}\overline{S_G(\chi)}. ◻

Phase-Complete Factorization

For a primitive odd character modulo m=b2m=b^2, put τ(χ‾)=∑a mod mχ‾(a)e2πia/m,ε(χ‾)=τ(χ‾)ib.\tau(\overline\chi) = \sum_{a\bmod m}\overline\chi(a)e^{2\pi ia/m}, \qquad \varepsilon(\overline\chi) = \frac{\tau(\overline\chi)}{ib}. The root number ε(χ‾)\varepsilon(\overline\chi) has absolute value one.

Corollary 6 (Phase-separated coefficient). For every primitive odd character modulo b2b^2, B1,χ‾=−bπ ε(χ‾)L(1,χ),B_{1,\overline\chi} = -\frac b\pi\, \varepsilon(\overline\chi)L(1,\chi), and S^∘(χ)=2π(b−1)ε(χ‾)L(1,χ)A(χ)‾.\widehat S^\circ(\chi) = \frac{2}{\pi(b-1)} \varepsilon(\overline\chi)L(1,\chi)\overline{A(\chi)}. Consequently, ∣S^∘(χ)∣=bπφ(b2)∣L(1,χ)∣ ∣SG(χ)∣=2bπφ(b2)∣L(1,χ)∣∣∑k=1b−1χ‾(k)∣.|\widehat S^\circ(\chi)| = \frac{b}{\pi\varphi(b^2)} |L(1,\chi)|\,|S_G(\chi)| = \frac{2b}{\pi\varphi(b^2)} |L(1,\chi)| \left|\sum_{k=1}^{b-1}\overline\chi(k)\right|.

Proof. The functional equation for a primitive odd character gives B1,χ‾=−bπ ε(χ‾)L(1,χ)B_{1,\overline\chi} = -\frac b\pi\, \varepsilon(\overline\chi)L(1,\chi) with the stated Gauss-sum convention [10]. Substitute this identity and (3) into Theorem 5. Taking absolute values and applying Lemma 3 gives the last line. ◻

The value L(1,χ)L(1,\chi) lies at one, not at the central point. Formula (4) retains the phase and separates three objects. The root number records the functional-equation phase. The LL-value is analytic. The incomplete sum A(χ)A(\chi) comes from the finite collision diagonal.

Diagonal Energy

Let Pb\mathcal P_b denote the primitive odd characters modulo b2b^2.

Lemma 7 (Primitive odd kernel). For every unit yy modulo b2b^2, ∑χ∈Pbχ(y)=φ(b2)2(1y≡1  ( mod b2)−1y≡−1  ( mod b2))−φ(b)2(1y≡1  ( mod b)−1y≡−1  ( mod b)).\begin{aligned} \sum_{\chi\in\mathcal P_b}\chi(y) ={}& \frac{\varphi(b^2)}2 \left( \mathbf 1_{y\equiv1\;(\bmod b^2)} - \mathbf 1_{y\equiv-1\;(\bmod b^2)} \right)\\ &- \frac{\varphi(b)}2 \left( \mathbf 1_{y\equiv1\;(\bmod b)} - \mathbf 1_{y\equiv-1\;(\bmod b)} \right). \end{aligned} In particular, ∣Pb∣=(b−1)22.|\mathcal P_b|=\frac{(b-1)^2}{2}.

Proof. For either odd modulus q=bq=b or q=b2q=b^2, character orthogonality followed by the odd projector gives ∑χmodqχ(−1)=−1χ(y)=φ(q)2(1y≡1  ( mod q)−1y≡−1  ( mod q)).\sum_{\substack{\chi\bmod q\\\chi(-1)=-1}}\chi(y) = \frac{\varphi(q)}2 \left( \mathbf 1_{y\equiv1\;(\bmod q)} - \mathbf 1_{y\equiv-1\;(\bmod q)} \right). The imprimitive odd characters modulo b2b^2 are precisely the lifts of the odd characters modulo bb. Subtraction proves the kernel formula. Setting y=1y=1 gives the population. ◻

Theorem 8 (Exact diagonal moment). For every odd prime bb, ∑χ∈Pb∣SG(χ)∣2=2b(b−1)2.\sum_{\chi\in\mathcal P_b}|S_G(\chi)|^2 = 2b(b-1)^2. Equivalently, 1∣Pb∣∑χ∈Pb∣SG(χ)∣2=4b.\frac1{|\mathcal P_b|} \sum_{\chi\in\mathcal P_b}|S_G(\chi)|^2 = 4b.

Proof. Write xr=r(b+1)+1,0≤r≤b−2.x_r=r(b+1)+1, \qquad 0\le r\le b-2. These are distinct units modulo b2b^2, and their reductions modulo bb run once through the nonzero residue classes. Equation (3) reduces the theorem to ∑χ∈Pb∣A(χ)∣2=b∣Pb∣.\sum_{\chi\in\mathcal P_b}|A(\chi)|^2 = b|\mathcal P_b|.

Expand the left side and apply Lemma 7 with y=xkxj−1y=x_kx_j^{-1}. The positive congruence modulo b2b^2 holds only when j=kj=k. Its contribution is φ(b2)2(b−1)=b2(b−1)2.\frac{\varphi(b^2)}2(b-1) = \frac b2(b-1)^2. The negative congruence modulo b2b^2 would require (j+k)(b+1)≡−2(modb2).(j+k)(b+1)\equiv-2\pmod{b^2}. Since (b−1)(b+1)≡−1(modb2)(b-1)(b+1)\equiv-1\pmod{b^2}, this forces j+k≡2b−2(modb2)j+k\equiv2b-2\pmod{b^2}. The range 0≤j+k≤2b−40\le j+k\le2b-4 makes that impossible.

Modulo bb, the positive congruence again holds on the b−1b-1 diagonal pairs. The negative congruence is j+k=b−2j+k=b-2, which also has b−1b-1 ordered solutions. Their two kernel contributions have equal magnitude and opposite sign. They cancel. The surviving term is ∑χ∈Pb∣A(χ)∣2=b2(b−1)2=b∣Pb∣.\sum_{\chi\in\mathcal P_b}|A(\chi)|^2 = \frac b2(b-1)^2 = b|\mathcal P_b|. Multiplication by four through (3) proves the theorem. ◻

The theorem removes aggregate uncertainty from the finite factor. Any remaining base dependence in the special-value moment must come from the values at one and their channelwise relation with the collision geometry.

Collision Energy

Define the centered collision energy Eb=∑a∈Ub2∣S∘(a)∣2.E_b=\sum_{a\in U_{b^2}}|S^\circ(a)|^2.

Theorem 9 (Exact special-value moment). For every odd prime bb, ∑χmodb2χ primitive odd∣L(1,χ)∣2 ∣SG(χ)∣2=π2φ(b2)b2 Eb.\sum_{\substack{\chi\bmod b^2\\ \chi\ {\rm primitive\ odd}}} |L(1,\chi)|^2\,|S_G(\chi)|^2 = \frac{\pi^2\varphi(b^2)}{b^2}\,E_b.

Proof. Parseval with the normalization (2) gives ∑χ mod m∣S^∘(χ)∣2=1φ(m)∑a∈Um∣S∘(a)∣2.\sum_{\chi\bmod m}|\widehat S^\circ(\chi)|^2 = \frac1{\varphi(m)} \sum_{a\in U_m}|S^\circ(a)|^2. Lemma 1 makes every even coefficient vanish. Every imprimitive character modulo b2b^2 is induced from modulus bb and is constant on each fiber UsU_s. Fiber centering makes every imprimitive odd coefficient vanish as well. Only primitive odd characters remain.

Substitution of Corollary 6 gives b2π2φ(m)2∑χ primitive odd∣L(1,χ)∣2∣SG(χ)∣2=Ebφ(m).\frac{b^2}{\pi^2\varphi(m)^2} \sum_{\chi\ {\rm primitive\ odd}} |L(1,\chi)|^2|S_G(\chi)|^2 = \frac{E_b}{\varphi(m)}. Rearranging proves the identity. ◻

The finite collision energy therefore evaluates a weighted second moment of the values L(1,χ)L(1,\chi) exactly.

Corollary 10 (Normalized collision weights). For χ∈Pb\chi\in\mathcal P_b, define wb(χ)=∣SG(χ)∣22b(b−1)2.w_b(\chi) = \frac{|S_G(\chi)|^2}{2b(b-1)^2}. Then ∑χ∈Pbwb(χ)=1\sum_{\chi\in\mathcal P_b}w_b(\chi)=1 and ∑χ∈Pbwb(χ)∣L(1,χ)∣2=π2Eb2b2(b−1).\sum_{\chi\in\mathcal P_b} w_b(\chi)|L(1,\chi)|^2 = \frac{\pi^2E_b}{2b^2(b-1)}.

Proof. The first identity is Theorem 8. Divide Theorem 9 by 2b(b−1)22b(b-1)^2 and use φ(b2)=b(b−1)\varphi(b^2)=b(b-1). ◻

The normalized squares divide one unit of collision weight among the primitive odd channels. Equation (5) is therefore an exact expectation of ∣L(1,χ)∣2|L(1,\chi)|^2 under a distribution supplied by the digit geometry.

The Exact Base-Five Sector

Theorem 11 (Base-five cyclotomic identity). For every primitive odd character χ\chi modulo 2525, ∣∑k=14χ‾(k)∣=52∣B1,χ‾∣.\left| \sum_{k=1}^{4}\overline\chi(k) \right| = \frac{\sqrt5}{2} \left|B_{1,\overline\chi}\right|. Moreover, ∣SG(χ)∣=5∣B1,χ‾∣.|S_G(\chi)| = \sqrt5\left|B_{1,\overline\chi}\right|.

Proof. Put ψ=χ‾\psi=\overline\chi and z=ψ(2)z=\psi(2). The residue 22 generates U25U_{25} and has order 2020. Write z=e2πij/20z=e^{2\pi i j/20}. Oddness makes jj odd, while primitivity modulo 2525 gives 5∤j5\nmid j. Thus gcd⁡(j,20)=1\gcd(j,20)=1, and zz is a primitive twentieth root of unity.

Since 3≡27(mod25),4≡22(mod25),3\equiv2^7\pmod{25}, \qquad 4\equiv2^2\pmod{25}, the short character sum is P5(χ)=∑k=14ψ(k)=p(z),p(x)=1+x+x2+x7.P_5(\chi) = \sum_{k=1}^{4}\psi(k) = p(z), \qquad p(x)=1+x+x^2+x^7. Lemma 3 gives ∣SG(χ)∣=2∣p(z)∣.|S_G(\chi)|=2|p(z)|.

Let ara_r be the least positive residue of 2r2^r modulo 2525. For 0≤r≤90\le r\le9, (a0,…,a9)=(1,2,4,8,16,7,14,3,6,12).(a_0,\ldots,a_9) = (1,2,4,8,16,7,14,3,6,12). The relations ar+10=25−ar,zr+10=−zra_{r+10}=25-a_r, \qquad z^{r+10}=-z^r pair the Bernoulli sum into 25B1,ψ=∑r=09(2ar−25)zr.25B_{1,\psi} = \sum_{r=0}^{9}(2a_r-25)z^r. Reduction by Φ20(z)=z8−z6+z4−z2+1=0\Phi_{20}(z)=z^8-z^6+z^4-z^2+1=0 gives 25B1,ψ=−10q(z),25B_{1,\psi}=-10q(z), where q(x)=1+2x+3x2+x3−2x4+x5+x6+2x7.q(x) = 1+2x+3x^2+x^3-2x^4+x^5+x^6+2x^7.

The Laurent polynomial identity x7(q(x)q(x−1)−5p(x)p(x−1))=Φ20(x)⋅(−3+x2+5x3+x4−3x6)\begin{aligned} x^7\bigl( q(x)q(x^{-1})-5p(x)p(x^{-1}) \bigr) ={}& \Phi_{20}(x)\\ &\cdot \bigl(-3+x^2+5x^3+x^4-3x^6\bigr) \end{aligned} is exact. Setting x=zx=z gives ∣q(z)∣2=5∣p(z)∣2.|q(z)|^2=5|p(z)|^2. Since B1,ψ=−(2/5)q(z)B_{1,\psi}=-(2/5)q(z), ∣B1,ψ∣2=45∣p(z)∣2.|B_{1,\psi}|^2 = \frac45|p(z)|^2. The two conclusions follow. ◻

Corollary 12 (Exact base-five coefficient). For every primitive odd character χ\chi modulo 2525, ∣S^∘(χ)∣=554π2∣L(1,χ)∣2.|\widehat S^\circ(\chi)| = \frac{5\sqrt5}{4\pi^2}|L(1,\chi)|^2.

Proof. At modulus 2525, ∣B1,χ‾∣=5π∣L(1,χ)∣.|B_{1,\overline\chi}|=\frac5\pi|L(1,\chi)|. Theorem 11 gives ∣SG(χ)∣=55π∣L(1,χ)∣.|S_G(\chi)| = \frac{5\sqrt5}{\pi}|L(1,\chi)|. Substitution in Theorem 5 proves the result. ◻

Theorem 13 (Exact collision energy and fourth moment). The centered base-five collision table satisfies E5=48.E_5=48. Moreover, ∑χmod25χ primitive odd∣L(1,χ)∣4=4π4625E5=192π4625.\sum_{\substack{\chi\bmod25\\ \chi\ {\rm primitive\ odd}}} |L(1,\chi)|^4 = \frac{4\pi^4}{625}E_5 = \frac{192\pi^4}{625}.

Proof. Let ζ=e2πi/20\zeta=e^{2\pi i/20}. The primitive odd characters modulo 2525 correspond to the eight exponents j∈(Z/20Z)×.j\in(\mathbb Z/20\mathbb Z)^\times. For p(x)=1+x+x2+x7p(x)=1+x+x^2+x^7, put d(x)=p(x)p(x−1).d(x)=p(x)p(x^{-1}). Its exact Laurent expansion is d(x)=4+2(x+x−1)+(x2+x−2)+(x5+x−5)+(x6+x−6)+(x7+x−7).\begin{aligned} d(x) ={}& 4+2(x+x^{-1})+(x^2+x^{-2})\\ &+(x^5+x^{-5})+(x^6+x^{-6})+(x^7+x^{-7}). \end{aligned}

Write c20(n)=∑j∈(Z/20Z)×ζjnc_{20}(n) = \sum_{j\in(\mathbb Z/20\mathbb Z)^\times}\zeta^{jn} for the Ramanujan sum. The even-power coefficients of d(x)2d(x)^2, reduced modulo x20−1x^{20}-1, are 32+14(x2+x−2)+7(x4+x−4)+17(x6+x−6)+9(x8+x−8)+2x10.\begin{aligned} 32 &+14(x^2+x^{-2})+7(x^4+x^{-4})\\ &+17(x^6+x^{-6})+9(x^8+x^{-8})+2x^{10}. \end{aligned} Terms with odd exponent do not contribute because c20(n)=0c_{20}(n)=0 for odd nn. The standard Ramanujan-sum formula [11] gives n0246810c20(n)82−22−2−8.\begin{array}{c|rrrrrr} n&0&2&4&6&8&10\\ c_{20}(n)&8&2&-2&2&-2&-8. \end{array} Therefore ∑j∈(Z/20Z)×∣p(ζj)∣4=32(8)+28(2)+14(−2)+34(2)+18(−2)+2(−8)=300.\begin{aligned} \sum_{j\in(\mathbb Z/20\mathbb Z)^\times} |p(\zeta^j)|^4 ={}& 32(8)+28(2)+14(-2)\\ &+34(2)+18(-2)+2(-8)\\ ={}&300. \end{aligned} Since ∣SG(χ)∣=2∣p(ζj)∣|S_G(\chi)|=2|p(\zeta^j)|, ∑χ primitive odd∣SG(χ)∣4=4800.\sum_{\chi\ {\rm primitive\ odd}}|S_G(\chi)|^4=4800.

The cyclotomic identity gives ∣B1,χ‾∣2=15∣SG(χ)∣2.|B_{1,\overline\chi}|^2 = \frac15|S_G(\chi)|^2. Theorem 5 now yields ∑χ primitive odd∣S^∘(χ)∣2=12000∑χ primitive odd∣SG(χ)∣4=125.\sum_{\chi\ {\rm primitive\ odd}} |\widehat S^\circ(\chi)|^2 = \frac1{2000} \sum_{\chi\ {\rm primitive\ odd}}|S_G(\chi)|^4 = \frac{12}{5}. Parseval gives E520=125,\frac{E_5}{20}=\frac{12}{5}, so E5=48E_5=48.

Finally, Corollary 12 and Parseval give ∑χ primitive odd∣L(1,χ)∣4=4π4625E5.\sum_{\chi\ {\rm primitive\ odd}}|L(1,\chi)|^4 = \frac{4\pi^4}{625}E_5. Substitution of E5=48E_5=48 finishes the proof. ◻

Finite Character Ledger

For each primitive odd character modulo b2b^2, put Xχ=∣∑k=1b−1χ‾(k)∣,Yχ=∣B1,χ‾∣.X_\chi = \left|\sum_{k=1}^{b-1}\overline\chi(k)\right|, \qquad Y_\chi = |B_{1,\overline\chi}|. At fixed bb, the Bernoulli-to-LL-value relation multiplies every YχY_\chi by the same constant. The Pearson correlation between XχX_\chi and YχY_\chi is therefore exactly the correlation between XχX_\chi and ∣L(1,χ)∣|L(1,\chi)| [9].

The nfield enumeration [12] checks every primitive odd character for every odd prime base from 55 through 7171. This is an exhaustive ledger of 14,37214{,}372 channels. Both members of each conjugate pair are retained. Let rbr_b denote the Pearson correlation between XχX_\chi and YχY_\chi at fixed base bb.

Finite character coverage and the correlation rbr_b
bb characters rbr_b bb characters rbr_b
5 8 1.0000 37 648 0.7080
7 18 0.8440 41 800 0.7111
11 50 0.8042 43 882 0.6987
13 72 0.8004 47 1058 0.6875
17 128 0.7925 53 1352 0.6856
19 162 0.7630 59 1682 0.6759
23 242 0.7517 61 1800 0.6790
29 392 0.7203 67 2178 0.6690
31 450 0.7267 71 2450 0.6753

The calculation evaluates YχY_\chi through its finite Bernoulli sum at every declared character, so no auxiliary prime cutoff enters the ledger. The values in Table 1 are rounded to four decimal places. The ledger is exhaustive over the declared bases and character families. Its behavior as the base grows remains open.

The Finite Spectrum

The underlying Hamming observable, generalized Bernoulli and LL-value identity, character orthogonality, Parseval, Ramanujan sums, and Pearson correlation are classical. Their role here is exact and visible. The collision coefficient separates into a classical analytic boundary value and a short sum supplied by the equality diagonal.

The new finite statement is that the diagonal factor has a completely determined aggregate scale. Its squared magnitudes sum to 2b(b−1)22b(b-1)^2 and therefore divide one unit of weight among the primitive odd channels. Parseval then turns the centered collision energy into the corresponding weighted mean of ∣L(1,χ)∣2|L(1,\chi)|^2.

Base five closes the channelwise relation as well. The cyclotomic identity, collision energy 4848, and fourth moment 192π4/625192\pi^4/625 are exact identities for the eight primitive odd characters modulo 2525, not asymptotic moment claims. Beyond base five, the exhaustive finite ledger records a positive relation but proves no limiting law. The unresolved problem is to control the short diagonal sum against the Bernoulli magnitude as the prime base grows. That boundary is where the finite collision spectrum ends.

References

[1]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

[2]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

[3]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

[4]K. Girstmair, Digit variance and Dedekind sums, J. Number Theory 65 (1997), no. 2, 197–205. https://doi.org/10.1006/jnth.1997.2149

[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]K. Girstmair, On the variance of the digits of 1/p1/p, Ramanujan J. 70 (2026), no. 2, article 27. https://doi.org/10.1007/s11139-026-01406-5

[7]S. R. Louboutin and M. Munsch, Mean square values of LL-functions over subgroups for nonprimitive characters, Dedekind sums and bounds on relative class numbers, Canad. J. Math. 75 (2023), no. 5, 1711–1743. https://doi.org/10.4153/S0008414X2300010X

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

[9]K. Pearson, Mathematical contributions to the theory of evolution. III. Regression, heredity, and panmixia, Philos. Trans. Roy. Soc. London Ser. A 187 (1896), 253–318. https://doi.org/10.1098/rsta.1896.0007

[10]H. Davenport, Multiplicative Number Theory, 3rd ed., revised by H. L. Montgomery, Springer, 2000.

[11]G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 6th ed., revised by D. R. Heath-Brown and J. H. Silverman, Oxford University Press, 2008.

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