Digit-Collision Energy and the Common Reset
For an odd prime p, the first p−1 dilates of the sawtooth 2{x}−1 all jump at zero. With midpoint values at the jumps, the continuous mean square of their sum is the Franel–Landau GCD sum J(p−1). A permutation of the p² division points identifies the sampled field values with the excesses of carries at equal-digit positions in base p. The sum of their squares is the digit-collision energy Eₚ. We prove J(p−1) − Eₚ/p² = 1 + O_ε(p^(−1/4+ε)). Restoring the one-sided value of the square at zero adds exactly (p−1)²/p² to the grid mean. The remaining error tends to zero even as both mean squares grow like p. For the interior jumps we bound a signed double sum of Dedekind sums by O_ε(p^(7/4+ε)). Keeping the second term of the GCD sum then gives Eₚ = p³ − π⁻²p²(log p)² + O(p²(log p)^(5/3)). The unit correction also gives the discrepancy of a weighted second moment of L(1,χ) over the primitive odd characters modulo p², relative to the same GCD sum.
Authors
- Alexander S. Petty
Publication Details
- Journal
- Zenodo (CERN European Organization for Nuclear Research)
- Published
- 2026-11-28
- DOI
- https://doi.org/10.5281/zenodo.24602179
- Primary Topic
- Analytic Number Theory Research
- Type
- preprint