
Write the twelve fractions from through . Read their first decimal digits.
Ten digits, twelve fractions. Most digits appear once. Three appears twice, from and . Six appears twice, from and .
Now use the fifty-two fractions over 53. Every digit appears five times, except three and six, which appear six times.
The extra places stay in the same columns.
Both primes end in three. That ending fixes where the extra places go. I want to know whether it also fixes which digit comparisons come out empty.
Keep the two tables. We can test that question by multiplying their remainders.
A digit bin collects remainders that emit the same first digit. At thirteen, the digit-three bin is and the digit-six bin is .
For a prime not dividing the base , write
Every bin has or members. Exactly bins get the extra member. We lose one of the extra places because remainder zero is excluded. Digit zero is not excluded. At fifty-three, five fractions begin with it.
The remainder determines which bins are larger. In decimal, primes other than two and five give four possibilities.
| Last digit of the prime | Larger bins |
|---|---|
| 1 | None |
| 3 | Two |
| 7 | Six |
| 9 | Eight |
The quotient grows. The pattern of extra places does not.
Return to thirteen. Double each nonzero remainder, reduce modulo thirteen, and compare its digit before and after the move.
The bin goes to . Neither result remains in the digit-three bin. The bin goes to . Neither remains in the digit-six bin.
The other eight bins are singletons. A remainder could keep its digit there only by returning to itself. Doubling fixes no nonzero remainder modulo thirteen.
No matches anywhere.
Now multiply by six. Five goes to four, since leaves remainder four. Both emit three. Eight goes to nine. Both emit six.
Call the number of matches , where is the multiplier. We have counted and .
These counts use every nonzero remainder. A multiplier need not be a power of the base. When it is, the count adds the corresponding shifted matches across all remainder cycles. Only in the full-period case does one repetend supply the whole count.
The Autocorrelation Formula puts digit equality in a square table . A cell is one when its two remainders emit the same digit. The zero row and column stay empty. Its Fourier transform gives the same information in frequency coordinates.
A line through recovers . Ramanujan’s sum supplies another way to select that line, with two weights and a balance.
For a prime , the sum adds the unit arrows associated with all nonzero residues. When modulo , all arrows point together. Otherwise they form every th root of unity except the arrow at one. The complete set sums to zero. Leaving out that arrow gives minus one.
At thirteen,
This is the classical sum studied in Ramanujan’s 1918 paper. Here its argument is the combined frequency . The collision identity is
Both frequency labels run from zero to . The line receives weight . Every other cell receives minus one.
The off-line cells have not been erased.
Let be the bin for digit , and let be its indicator, with . Its Fourier coefficient is the sum of the bin’s rotating arrows,
The equality table and its transform are
There is no conjugate in the second product. Fourier inversion gives
Set and sum over nonzero . Each exponential becomes part of
The left side counts remainders that retain their digit. The right side is the Ramanujan-weighted collision identity. It holds for every nonzero multiplier, without a primitive-root assumption.
The full table sums to zero, because Fourier inversion gives . If the selected line sums to , the rest of the table sums to . Apply the two weights,
Divide by . The answer is . The double sum has become a single line.
At thirteen with multiplier six, the line sums to 26. The remaining cells sum to . Their weighted total is . Divide by and the answer is two.
There is no rounding in that answer. It counts and .
The selected line adds contributions from all the digit bins. Each contribution has a magnitude and a phase. Adding them can lose much of the magnitude to cancellation.
To measure that loss, take the magnitude of each bin contribution before adding across bins or frequencies. Call the unsigned total . With along the selected line,
The sum after cancellation is . Define the phase-gate coefficient by
The order of operations is essential. Taking after its bins have already been added would miss cancellation between bins and give a different denominator.
At thirteen, multiplier six selects . Its unsigned total is . The signed sum is exactly 26.
Thus . About eighteen percent of the unsigned mass survives. That is not the fraction of remainders that match, which is .
Each singleton bin supplies a Fourier coefficient of magnitude one at every frequency. Eight such bins and thirteen frequencies contribute to .
Each two-member bin contains neighbors. Their unit arrows differ in angle by , so the sum has magnitude . Along , the product of the two magnitudes is . Both two-member bins contribute the same amount.
Put
The terms satisfy . These seven values give the entire sum. The displayed decimals are rounded.
| 0 | 1.000000000 |
| 1 | 0.859726283 |
| 2 | 0.502996353 |
| 3 | 0.090223001 |
| 4 | 0.201438535 |
| 5 | 0.265425569 |
| 6 | 0.117034103 |
Count once and each of the other six twice. Their sum is , giving
Only the decimal evaluation is approximate. The finite cosine sum specifies the denominator exactly.
The gate lies between two bounds,
Its denominator is always positive. The zero-frequency terms alone contribute the sum of the squared bin sizes. The gate therefore vanishes exactly when does.
At the identity multiplier, nothing moves and the gate is one. At thirteen, doubling makes it zero. Multiplication by six puts it just above the lower bound .
A zero has a literal meaning in the bins. Every bin moves completely away from itself. If even one remainder stays inside its bin, the gate is positive.
The triangle inequality gives . This is the upper bound.
For the lower bound, multiplication by permutes the frequency labels. Cauchy–Schwarz and Parseval give, bin by bin,
Adding over bins yields . Since , division gives .
When , opposite-frequency coefficients are conjugates. Every product is a nonnegative squared magnitude. No cancellation occurs, so .
A positive collision count is an integer at least one. Hence a positive gate is at least at a fixed prime. That bound shrinks as grows. It supplies no uniform positive gap over all primes.
The companion paper, Phase-Filtered Ramanujan Sums and the Spectral Gate, gives the complete proofs and the Euclidean bin formula.
Doubling leaves no return at thirteen. Try the same multiplier at fifty-three.
The digit-zero bin now contains . Doubling keeps and inside it. The digit-nine bin contains . Doubling modulo fifty-three keeps and inside that bin.
Those are all four matches. The same Ramanujan calculation gives a line sum of and recovers . The gate is positive.
Every prime below ends in three. Every one has its extra places at digits three and six. The pictures show actual returns, one cell per remainder and multiplier.
Read a row to see which remainders keep their digit under one multiplication. Its number of colored cells is . An empty row means a zero gate. The bottom row is the identity, so it is completely filled.
These are integer comparisons in the remainder table, not frequency plots. Color names the retained digit, with one key shared by all six panels. The largest table has cells. All are retained in the full-size plate. Each row count is also checked against its Fourier slice and phase-gate bounds.
These wider plates put the two bin populations alongside their multiplication tests and the Ramanujan weights. The selector’s gold cells carry twelve, not the spectral values being weighted.
The extra places are still at three and six. None of the four returns uses either bin.
They occur at zero and nine, where the smaller table had no room for them.
Discussion
Sign in to join the discussion.