
The cubic law established the leading growth of digit-collision energy. In an odd prime base , the leading term is . This paper identifies the first correction beneath it.
The omitted terms are smaller than the correction shown as grows through the odd primes. All logarithms here are natural.
There is no circle in the original count. There are integer remainders, digit bins, and the floor function that governs long division. Yet the first correction carries .
That constant enters through coprimality: the arithmetic of pairs that share no common factor. Finding it in a continuous average is one part of the result. The other is proving that the finite digit table preserves the same coefficient. The averaging helps expose the correction; the sampling theorem establishes that it belongs to the original integer count.
The continuous average in the proof reduces to a finite square table of rational weights. Put the integers from 1 through along both sides. In each cell, divide the greatest common divisor of the two labels by their least common multiple.
| 1 | 2 | 3 | 4 | |
|---|---|---|---|---|
| 1 | ||||
| 2 | ||||
| 3 | ||||
| 4 |
The diagonal is all ones. Away from it, the weights remember the ratio between the two integers after their common factor has been removed. Call the sum . At , the sixteen entries add to .
There are cells, but their total grows only like . Hilberdink, Luca, and Tóth proved . That leaves room for a correction as large as the square of a logarithm, but does not say what its coefficient is.
The calculation here gives
The exponent is smaller than two, so the remaining error cannot absorb the displayed correction. The deficit below grows asymptotically like a squared logarithm, with coefficient .
Take the pair . It can be scaled to , , , and so on. Each copy carries weight . In a table of size , three copies fit. The fourth does not.
Ten divided by three is . Replacing the whole-number count by that quotient adds a third of a copy. At weight , the overcount is .
Every reduced pair has a corresponding fraction. This paper keeps track of all of them. Together they build the correction.
For a fixed larger coordinate , the smaller coprime coordinates supply a harmonic sum, roughly logarithmic in . There is also a factor . Adding those weighted logarithms through produces a squared logarithm. The fractional parts contribute a weighted average of one half. Making that precise uses Saffari and Vaughan’s theorem on fractional parts.
Removing common factors by Möbius inversion introduces . This is the familiar coprime density: among pairs chosen independently from 1 through , the proportion with no common factor tends to as grows. In this proof the same factor arises in an exact inclusion-and-exclusion sum. It weights the fractional remainders that build the correction. That is the source of here.
Together with the two sides of the square, the coefficients combine as
One half is the average fractional part. The other comes from summing . The is the coprime filter. The 2 counts both sides of the diagonal. The minus sign was already visible in the first example: rounding down to 3 removed weight from the approximation.
I reached the square table through digit collisions. In base 5, the two-digit words with matching digits are
00 11 22 33 44
Among the twenty-five possible words, they sit at positions . Five cells on the collision diagonal. The floor function records integer crossings through these cells. Subtract the uniform bulk contribution from each carry count, square the resulting responses, and sum over the twenty-five residues. This square mass is the collision energy .
The collision energy and the square table are connected by an exact identity. Rewrite the floor counts as centered sawteeth and reorder the residues; the reordering preserves the energy. With , averaging the squared response over the whole interval gives one third of . Average over the grid points, and you get . Their difference is the sampling defect :
At base 5, the continuous average is . The grid average is . Their difference is .
The continuous calculation found the coefficient. The question is whether the finite grid preserves it.
This is the hard result, and the reason this paper exists separately from the cubic law.
Increasing the prime makes the grid finer. It also changes the function being sampled. More sawteeth enter the response, more jumps appear between grid points. This is not ordinary quadrature, where a finer mesh on one fixed curve converges. Both the mesh and the curve are moving. If the sampling defect grew like , it could contribute at the same scale as the correction and change the coefficient. The proof must control that discrepancy before the continuous coefficient can be claimed for the digit table.
The paper proves
The denominator grows slowly, but it grows without bound. The defect is asymptotically smaller than the correction scale. Two exact descriptions of the defect make the proof work. One follows the jumps of the response curve and their positions relative to the sample points. The other uses Dedekind sums and Rademacher reciprocity to express the same discrepancy through smaller moduli. Opening those smaller sums into centered inverse-residue series, and applying Korolev’s incomplete-sum estimate, supplies the strict saving. The divisor factors introduced by the descent have bounded average. That is enough.
The finite collision energy therefore has the expansion
The coefficient survives. The continuous average determines it, and the sampling estimate carries it back to the finite digit energy. The two averages differ, but their difference is too small to change this term.
The computed sampling defect is smaller than the theorem requires.
| Prime base | Sampling defect |
|---|---|
| 31 | 0.951 |
| 101 | 1.027 |
| 401 | 1.011 |
| 4001 | 1.000 |
| 10007 | 1.009 |
The values move around one. The exact decomposition contains an endpoint contribution , which tends to one, together with a signed residual and an explicit smaller correction. Proving that the residual vanishes would settle the limit . That limit remains open. So do the stronger bounds and .
The secondary coefficient is proved. Those questions concern the finer arithmetic beneath it.
The appearance of now has an arithmetic explanation. Coprimality supplies the factor. The accumulated fractional remainders determine the size and sign of the correction. The continuous average makes that coefficient accessible, and the sampling theorem shows that it governs the finite digit table as well.
The cubic law gave the scale of the energy. The secondary term resolves the first departure from it. What had been left inside an error bound now has a coefficient and a reason.
Comments
Sign in to join the discussion.