
Write the fractions of thirteen in base two and in base ten and the digits have almost nothing in common. Base two sorts the twelve nonzero remainders into two bins of six, decimal spreads them over ten bins with two of them doubled up, and base twelve gives every remainder a bin of its own. Take the frequency spectrum of those bins and the three bases look completely different, a few tall spikes in binary, a gentle wave in decimal and a flat line in base twelve. Add up each spectrum, though, and all three come to exactly 156. Every prime has a fixed total like this that no choice of base can change, and every value along the way has an exact formula, because the digit bins are much simpler than the digits they produce.
Start with decimal. Divide each of the numbers from one through twelve by thirteen and read just the first decimal digit. Two fractions begin with a three, two begin with a six, and every other digit occurs once.
| First digit | Numerators that produce it |
|---|---|
| 0 | 1 |
| 1 | 2 |
| 2 | 3 |
| 3 | 4, 5 |
| 4 | 6 |
| 5 | 7 |
| 6 | 8, 9 |
| 7 | 10 |
| 8 | 11 |
| 9 | 12 |
These groups are the digit bins. Eight contain one numerator and two contain a pair, 4 and 5 in the three-bin and 8 and 9 in the six-bin. Both pairs are neighbors, and those four numbers will account for the whole spectrum.
This time the move through the remainders is addition. The Spectral Structure of Fractional Fields followed multiplication by the base, and its spectrum was a list of eigenvalues. The bins are the same starting material here, but the move is different, so the power below is not that matrix’s eigenvalues.
Start with the bin . Add one to each remainder and count how many stay in the bin. Four moves to five and stays, while five moves to six and leaves, so there is one match. Add two instead and both leave, and with no shift both stay.
The bin behaves the same way, and each singleton loses its only match as soon as we shift it by any nonzero amount modulo thirteen.
Now add the counts from all the bins. At shift zero all twelve remainders match themselves. At shift one, 4 moves to 5 and 8 moves to 9, two matches, and shifting backward matches the same pairs in reverse. Every other shift gives zero.
Shifts wrap around modulo thirteen, so passing twelve takes us to zero and then one. Remainder zero is left out of the table and contributes no match, which does not remove the digit-zero bin. That bin contains remainder one.
These counts form the additive collision profile.
Give each remainder an arrow of length one. At frequency one the arrow turns by one thirteenth of a full turn from one remainder to the next, and at frequency six it turns by six thirteenths, almost half a turn.
Within each bin, add the arrows. Two arrows pointing nearly the same way reinforce one another, and two pointing nearly opposite ways almost cancel.
Square the length of each bin’s sum, then add those squared lengths across the bins. This is the spectral power, written at frequency .
A singleton contributes one at every frequency, since there is nothing for its arrow to cancel against, so at thirteen the eight singletons supply a constant eight. Each neighboring pair has squared sum length . Two pairs give
At frequency zero every arrow points the same way, each pair has sum length two and contributes four, and the total is . Near the middle frequencies the pairs almost cancel and the total falls close to eight, the floor the singletons hold up.
The same formula can be written
Now the shift count is visible inside it. Twelve self-matches supply the constant term, and two forward and two backward matches supply the cosine.
The Fourier transform takes the shift counts to these power values, and its inverse recovers the count at every shift. It does not recover which remainders made the matches. For the names 4, 5, 8 and 9 we have to go back to the table.
For a prime not dividing the base , the digit function is , with . Let be the bin for digit , and set every bin indicator to zero at remainder zero.
The bin coefficient and total power are
Let count remainders that stay in their digit bin after addition of modulo . Then
The forward transform is unnormalized and the inverse divides by . These are additive frequencies of the residue coordinate, not frequencies around a multiplication cycle.
A longer consecutive bin gives more arrows, each turned by the same angle from the preceding one. Write that turn as . After rotating the whole picture together, three consecutive arrows have sum
Multiply by and subtract, and the middle terms cancel, leaving only the first arrow and the new last one.
With arrows, the same cancellation gives
On the unit circle, is a chord length, and an angle of gives a chord of length . The numerator uses times that angle. Squaring the ratio gives the contribution of a bin of length ,
for . At frequency zero no division is needed, because all arrows line up and . An empty bin contributes zero.
The first digit never decreases as the numerator increases, which makes every nonempty bin a consecutive block, and its length is tightly constrained too.
In base , divide the nonzero remainders among the possible digit bins. Write
Exactly bins have length and the other have length , with prime and not dividing the base. At thirteen in decimal, , which is eight singletons and two pairs.
We have already calculated the contribution of either length, so add them.
That is the whole construction. The digit never decreases, so every bin is a consecutive block, every consecutive block contributes one Dirichlet kernel, and the kernels come in only two lengths.
The sliding calculation uses the same two lengths. A bin of length three has three matches at shift zero, two after one step, one after two and none after three, and plotting those counts in both directions draws a triangle.
At twenty-nine in decimal, two bins have length two and eight have length three. They give 28 self-matches, matches after one step, and eight after two. The reverse shifts give the same counts.
Substituting the interval contribution gives, for nonzero ,
For a shift , the circular distance is . Write for the positive part. The exact collision count is
No occurring bin is longer than half the residue circle, so its forward and backward overlap triangles do not overlap away from their common center. These formulas keep empty bins when and include the prime-two endpoint.
The geometric sum, Parseval identity and correlation transform are classical Fourier tools. The Spectral Power of the Digit Function gives the proofs and references. The digit partition supplies the arithmetic restriction that reduces the calculation to two bin lengths.
Change the base while keeping the denominator thirteen. The bins change, and the zero-frequency power changes with them.
In base two there are two bins, and , each contributing at frequency zero, for 72. Decimal has eight singletons and two pairs, for 16. Base twelve puts each remainder in its own bin, twelve contributions of one.
Those are three different zero-frequency values, but add the power at all thirteen frequencies and each spectrum gives 156.
More generally, Parseval’s identity gives
Changing the base can move power between frequencies, but it cannot create or remove any. The fixed total comes from a count that never changes. With no shift, each of the nonzero remainders matches itself, and the sum across frequencies is times that self-match count.
The zero mode counts something else. A bin of size contributes ordered pairs, self-pairs included, so at thirteen in decimal the sixteen pairs are twelve self-pairs and four distinct ordered pairs, the same as adding the shift counts . That is the squared-bin count from The Alignment Limit for All Primes, and here it is only the zero-frequency value, separate from the fixed total.
Each row below is one complete spectrum, for a base from two through twenty-four, at denominators 29, 97 and 257. All powers are divided by their mean , so every row has mean one, and a shared logarithmic color scale keeps weaker features visible beside the large zero mode.
The logarithm is only a display choice, and the calculation uses the original power values. Exact integer overlap counts, their Fourier transforms and the two-length formula are checked against one another for every row.
Base twelve at thirteen shows what happens when every occupied bin is a singleton. Each bin contributes one at every frequency, since there is no neighbor in the bin to reinforce or cancel against.
The converse holds too. A flat spectrum with total must have value everywhere, including at zero. The zero-frequency count already contains the self-pairs, and any bin with two members adds distinct pairs and raises it, so every occupied bin must be a singleton.
Digit separation, no matches at a nonzero shift, and flat spectral power describe the same boundary,
The bin sizes prove the boundary directly. When , the permitted lengths are zero and one, or every bin has length one. When there are more remainders than bins, and some bin must contain a pair.
The power keeps the length of each arrow sum and discards its direction, or phase. Move a whole bin around the residue circle and its sum rotates while its power stays the same, so power alone cannot tell us where that bin began.
Nor does it determine the multiplication walk. At seven, base eight and base ten both separate all six nonzero remainders, and both give additive power six at every frequency. But multiplying by eight modulo seven fixes every remainder, while multiplying by ten carries one through all six.
The Cross-Alignment Matrix and The Spectral Structure of Fractional Fields follow those multiplication cycles. Here the full power profile recovers the counts for additive shifts, and seven already shows the difference, a fixed point and a six-cycle sitting behind the same flat additive power.
These wider plates put the decimal examples side by side. Follow the bin lengths from seven to thirteen to twenty-nine, then compare their overlap triangles and power values. The arrow construction and the fixed-total comparison are included at full size.
In the first table, four and five share one digit and eight and nine share another. Advance the frequency and each pair’s arrows pull together and then apart, and every rise and fall in the power comes from those two pairs. The other eight remainders can turn all they like. Alone in their bins, they have nothing to cancel against.
Discussion
Sign in to join the discussion.