The Centered Collision Sum
Cite this paper
A. S. Petty, The Centered Collision Sum, DOI: 10.5281/zenodo.21852556.
Abstract
Fix a base and a lag . Partition the nonzero residues modulo an integer coprime to by the leading base- digit of , and count the residues whose digit is unchanged by multiplication by . Once , subtracting the bin-scale term leaves an integer that depends only on . It is therefore a finite function on the unit group modulo .
The finite function obeys an exact reflection law with mean . Center it separately over the fibers of reduction modulo . 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 . 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, For prime bases at lag one, the reduction-fiber means are also obtained in closed form.
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 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 lie in its equal intervals. Multiplication by permutes the nonzero residues whenever is coprime to . A collision records a residue whose initial interval and final interval agree.
When is prime and 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 , 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 . 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 denote the representative of in whenever . Define For a unit multiplier , define The lag- count is Write Primality is not needed for the finite structure.
The all-lag table
Put and let The first and last base- digits of every index in agree. The middle digits are free, so Both endpoint indices and belong to this set.
Theorem 1 (Finite determination). Let , , and with . Write , where . Then where Thus depends only on the unit class of modulo .
Proof. For , set The identity for positive integers gives Writing gives A collision occurs exactly on the slices indexed by .
Since and is a power of , we have . Every interior slice boundary is therefore nonintegral. The floor difference counts the positive residues in every slice except the terminal one. There it also counts the excluded endpoint . Since belongs to ,
Substitution of contributes from each of the diagonal slices. Since is a unit modulo , Subtracting this expression from (10) proves (9). ◻
Corollary 2. For fixed and , the integers are uniformly bounded as ranges over integers greater than and coprime to .
Proof. They are values of the finite function on the unit group modulo . ◻
In base ten at lag two, reduction modulo is not enough. Direct substitution in (9) gives although the two arguments agree modulo . Reduction modulo always suffices by Theorem 1.
Reflection
The finite table has a fixed center before any prime is sampled.
Theorem 3 (Reflection law). For every ,
Proof. For , write If , none of and is divisible by . Complementary floors then give At the two increments sum to zero. At they sum to two. Both endpoints lie in , whose size is . Hence
Write with . Since , Equations (9), (13), and (14) now give (11). ◻
Corollary 4 (Grand mean). The exact mean of on the unit group modulo is
Proof. Negation pairs the units without a fixed point, and every pair has sum . ◻
Centering by reduction fibers
Let be reduction modulo . For , write Each fiber has exactly elements. Define its exact mean by
Definition 5. The centered collision table is
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 lifts of the same base-level class.
Proposition 6 (Centered symmetry). For every unit modulo and every unit modulo ,
Proof. Negation maps bijectively onto . Averaging the reflection law over 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 . For such a function , set Then 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 is , 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 .
Theorem 7 (Spectral gate). Let be a Dirichlet character modulo . Then whenever either of the following conditions holds.
is even.
factors through reduction modulo .
Consequently, the centered collision transform is supported only on odd characters that do not factor through modulus .
Proof. If , pair with in (21). Equation (19) makes the two summands cancel.
Now suppose for a character modulo . Grouping the transform by reduction fibers gives Every inner sum is zero by (20). This proves the second vanishing statement. ◻
Corollary 8. If is prime and , the only possible nonzero coefficients of the centered collision transform belong to primitive odd characters modulo .
Proof. A character modulo is imprimitive exactly when it factors through modulus . 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 , define Both sums run over primes.
Theorem 9 (Centered prime limits). For every fixed base and lag , for a finite real constant .
Proof. The prime number theorem in arithmetic progressions gives for each unit class modulo the fixed modulus [8]. The total sum of 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 for which Again the coefficient of the common term is the total sum of the centered table, so it vanishes. The finite sum of the remaining class constants converges to . ◻
Combining Theorems 7 and 9 gives the character form 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 be prime and write Call a unit multiplier constructive when its collision count is positive.
Proposition 10 (Constructive mean). The exact mean collision count over the constructive unit multipliers is
Proof. For a unit multiplier , introduce the coordinate in the nonzero residues modulo . Euclidean division gives Since is invertible modulo , two residues have the same digit exactly when their images under multiplication by agree modulo . Permute the nonzero residues by multiplication by and call the resulting coordinate . A collision is then a solution of for a nonzero integer with . The definition of turns this relation into . Pairing with gives If , then for every . If , the index contributes. The value would force and cannot occur for a unit multiplier. Thus the count vanishes exactly when . As runs through the nonidentity multipliers, runs through the nonzero classes other than . Inversion followed by multiplication by is therefore a bijection onto . Exactly nonidentity multipliers have zero collisions.
Let be the number of residues in digit bin . For a fixed residue , the images run through every nonzero residue other than as runs through the nonidentity multipliers. Reversing the order of summation gives There are bins of size and bins of size , so the last expression is The zero multipliers contribute nothing. Dividing by the constructive multipliers and simplifying proves (34). ◻
For , the multiplier is nonidentity and constructive. It cannot be the identity because . If its coordinate were an integer between and , then The difference between the two sides is nonzero and has absolute value at most , which is impossible. Define Equations (4) and (34) give
Theorem 11 (All-lag drift). For every fixed base and lag , there is a real constant such that The leading coefficient is independent of the lag.
Proof. The finite table has mean by Corollary 4. Mertens’ theorem in arithmetic progressions therefore gives The correction in (37) satisfies After division by , the second term on the right contributes an absolutely convergent series. If runs through the least positive representatives of the reduced residue classes modulo and , reflection gives Mertens’ theorem in arithmetic progressions applies once more. The coefficient in (38) is consequently ◻
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 be prime, , and . Put If , then If , then
Proof. Put . For every , If , the residues run once through all classes modulo . Subtracting their sum from proves (42). If , direct summation proves (43). ◻
Theorem 13 (Prime-base column law). Let be prime and . For every ,
Proof. At lag one, Sum the increment part of (9) over the fiber , where . In the notation of Lemma 12, this gives The term with is zero. For , Lemma 12 gives At the endpoint , the two cases of Lemma 12 give so the endpoint contribution is . The interior floor differences telescope to . This also covers , when the interior sum is empty and . Thus (45) equals The remaining terms in (9) sum to Thus the sum of over the fiber is . Division by the fiber size proves (44). ◻
For base three, the two means are and . 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 gives Their average is , 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 .
| included primes | largest prime | |
|---|---|---|
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 , 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 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 and digits of , 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