Petty's Notebook
ArticlesPapersnfieldAbout
Get notified when new posts are published. No spam, just math.
Alexander S. Petty  |  ©2009-2026
← Back
Collisions

The Neutrality Theorem

April 23, 202416 min read
Companion paper: The Neutrality Theorem →
Two separate blue-and-gold gestures each hold their own balance. The two true prime channels modulo three are independently centered-neutral; neither needs the other to remove its principal drift.
Two separate blue-and-gold gestures each hold their own balance. The two true prime channels modulo three are independently centered-neutral; neither needs the other to remove its principal drift.

Two sums that grow without bound in opposite directions can add up to one that converges, and the total alone gives no sign of it. The collision sum could be hiding exactly that. The Centered Collision Sum proved that its total over the primes settles when each weight is divided by ppp. Then The Collision Transform and the Critical Strip split one window of primes by their remainder on division by three. Between a million and ten million, the primes leaving remainder one push the total up by about 0.000250.000250.00025, and the primes leaving two pull it down by about 0.000190.000190.00019. The signs stay opposed at every exponent tested. If each group carried a drift of its own, growing like log⁡log⁡x\log\log xloglogx with opposite signs, the settled total would be two runaway sums cancelling by accident.

The neutrality theorem rules that out. Each group is neutral on its own, in every base and at every lag, and each converges separately at s=1s=1s=1. The opposed signs belong to a single twist, the character modulo three, running through both. The argument rests on a distinction that is easy to miss, between the remainder a prime’s ending leaves and the remainder the prime itself leaves.

Same ending, different remainder

Take 107107107 and 307307307. Both are prime, both end in 070707, and the collision table gives them the same weight. At 107107107 there are ten fractions with a doubled beginning against a bin size of ten. At 307307307 there are thirty against thirty, so the table entry at 070707 is zero either way. Centering subtracts the average of the ten entries ending in 777, which is −1/10-1/10−1/10, and leaves

f(07)=0−(−110)=110.f(07)=0-\left(-\frac1{10}\right)=\frac1{10}.f(07)=0−(−101​)=101​.

Division by three separates them.

107=3⋅35+2,307=3⋅102+1.\begin{aligned} 107&=3\cdot35+2,\\ 307&=3\cdot102+1. \end{aligned}107307​=3⋅35+2,=3⋅102+1.​

The hundreds place is responsible. Write p=100t+ap=100t+ap=100t+a, with aaa holding the last two digits. A hundred leaves one on division by three, so

p≡t+a(mod3),p\equiv t+a\pmod3,p≡t+a(mod3),

and the quotient ttt still has a say. Holding the ending at 070707 and adding a hundred at a time runs through all three remainders.

Integer Centered weight Remainder on division by 3
107 1/101/101/10 2
207 1/101/101/10 0
307 1/101/101/10 1

The middle number is 207=3⋅69207=3\cdot69207=3⋅69, composite, and the table weighs it all the same. Primality plays no part in this little cycle.

Forty strands through three hundred

Work in blocks of 300300300. Each allowed ending aaa shows up three times, as aaa, a+100a+100a+100 and a+200a+200a+200, and those three leave three different remainders on division by three. One is divisible by three, one leaves one and one leaves two, and all three carry the same weight f(a)f(a)f(a).

Do that for all forty endings and select the classes leaving one. Every ending is there, exactly once. Select the classes leaving two and every ending is there again. The forty centered weights add to zero, so each group sums to zero by itself. That is independent neutrality.

Forty colored strands connect each ending to its two representatives in the joint modulus. The two sorted outer lists contain identical weights in different orders. Forty colored strands connect each ending to its two representatives in the joint modulus. The two sorted outer lists contain identical weights in different orders.
Every ending modulo 100, in the middle, joined to its class modulo 300 leaving one, on the left, and leaving two, on the right. Both sides hold all forty weights.

Each label stands for a whole class of numbers. The label 007007007 on the left stands for 777, 307307307, 607607607 and so on, some prime and some not, and every prime past 300300300 falls into one of these eighty classes. The Chinese remainder theorem makes the count exact. Because 100100100 and 333 share no factor, an ending modulo 100100100 and a remainder modulo 333 pick out exactly one class modulo 300300300, with nothing missing and nothing doubled.

The same three-copy construction works at any lag and in every base that three doesn’t divide, where the table lives modulo m=bℓ+1m=b^{\ell+1}m=bℓ+1. Each of the two prime groups receives the whole centered table. Three isn’t special here either. Any auxiliary modulus qqq sharing no factor with mmm does the same job, since fixing a remainder coprime to qqq leaves one complete copy of the table modulo mqmqmq. A modulus that shares a factor with the base needs another argument, and three in base three is the first such case.

The mirror inside the table

Back in the original forty cells there is a second cancellation, and it is easy to mistake for the one just proved. Reflection pairs aaa with 100−a100-a100−a. Their raw entries add to −1-1−1, as The Collision Periodic Table showed, and their centered weights are exact opposites,

f(100−a)=−f(a).f(100-a)=-f(a).f(100−a)=−f(a).

The endings 111111 and 898989 both leave two on division by three, and so do 171717 and 838383, and 232323 and 777777. Reflection keeps that group together because

100−a≡1−a(mod3),100-a\equiv1-a\pmod3,100−a≡1−a(mod3),

which sends two to two and swaps zero with one.

Six reflected pairs remain within the remainder-two group. Fourteen more pairs connect remainder zero to remainder one, whose sums are equal and opposite but nonzero. Six reflected pairs remain within the remainder-two group. Fourteen more pairs connect remainder zero to remainder one, whose sums are equal and opposite but nonzero.
Reflection pairs each ending a with 100 − a. The six pairs leaving two cancel among themselves, while the other two groups trade partners and sum to 91/5 and −91/5.

The twelve endings leaving two cancel in six pairs. The other two groups trade partners instead, and their sums are 91/591/591/5 and −91/5-91/5−91/5, nowhere near zero on their own.

Those groups sort the endings, though, and a prime can land in a different group from its ending. The ending 070707 sits in the group leaving one, while the prime 107107107 leaves two. Working modulo 300300300 keeps track of the prime’s own remainder rather than its ending’s.

Bases divisible by three

In base three, adding a power of the base never changes a remainder modulo three, so there are no three copies to sort. The centering has to do the work itself. At lag one the table lives modulo nine and fits in six rows.

Ending Raw value Family mean Centered weight
1 0 −2/3-2/3−2/3 2/32/32/3
4 0 −2/3-2/3−2/3 2/32/32/3
7 −2-2−2 −2/3-2/3−2/3 −4/3-4/3−4/3
2 1 −1/3-1/3−1/3 4/34/34/3
5 −1-1−1 −1/3-1/3−1/3 −2/3-2/3−2/3
8 −1-1−1 −1/3-1/3−1/3 −2/3-2/3−2/3

The first three entries leave one on division by three and the last three leave two. A prime’s remainder modulo three is simply its last base-three digit here. Each family was centered separately, so each group already sums to zero.

Four panels show cumulative centered weights in bases three and twelve. Every family path returns exactly to zero. Four panels show cumulative centered weights in bases three and twelve. Every family path returns exactly to zero.
Running sums of the centered weights, one family at a time. In base three and base twelve every path comes back to zero on its own.

Larger bases divisible by three work the same way. In base twelve the allowed last digits are 111, 555, 777 and 111111. Primes leaving one end in 111 or 777, primes leaving two end in 555 or 111111, and all four of those families were balanced before the split.

That covers every base and every positive lag. When three doesn’t divide the base, each prime group holds a whole copy of the table. When it does, each group holds whole families that were centered one at a time. Neither cut passes through the cancellation it needs.

Inspect the quotient layers at lags one, two and three

At lags one, two and three the decimal tables have forty, four hundred and four thousand entries, and each comes in three quotient layers. Choosing a remainder modulo three keeps exactly one occurrence of every weight.

Six panels route decimal tables of forty, four hundred and four thousand weights through three quotient layers. Each selection keeps every weight exactly once. Six panels route decimal tables of forty, four hundred and four thousand weights through three quotient layers. Each selection keeps every weight exactly once.
Decimal tables at lags one, two and three, split into their three quotient layers. Choosing a remainder modulo three keeps every weight once, and the gray cells are the ones it drops.

The primes in the window

A complete table balances, but a stretch of primes needn’t. The primes reach the entries at different times, and dividing by ppp gives each visit a different size. The window 106<p≤10710^6<p\le10^7106<p≤107 keeps the two groups apart.

Remainder modulo 3 Primes in the window Sum of f(p mod 100)/pf(p\bmod100)/pf(pmod100)/p
1 292,963 +0.0002534+0.0002534+0.0002534
2 293,118 −0.0001884-0.0001884−0.0001884
Both 586,081 +0.0000650+0.0000650+0.0000650

These are finite contributions, not values of infinite sums, and the opposite signs don’t contradict neutrality. Neutrality decides which growing term has to vanish. It leaves the sign of the finite contributions open.

The passage to the infinite sums uses Mertens’ theorem for arithmetic progressions. Each allowed class AAA modulo 300300300 has

∑p≤Xp≡A (mod 300)1p=log⁡log⁡X80+cA+o(1).\begin{aligned} &\sum_{\substack{p\le X\\p\equiv A\ (\mathrm{mod}\ 300)}}\frac1p\\ &\quad=\frac{\log\log X}{80}+c_A+o(1). \end{aligned}​p≤Xp≡A (mod 300)​∑​p1​=80loglogX​+cA​+o(1).​

The constant cAc_AcA​ depends on the class, and the growing term doesn’t. Multiply each class’s sum by that class’s weight and add over one remainder group only. The coefficient of log⁡log⁡X\log\log XloglogX is

180∑af(a)=0,\frac1{80}\sum_{a}f(a)=0,801​a∑​f(a)=0,

which leaves forty weighted constants and an error that goes to zero. The other group goes the same way, so both reciprocal-prime sums converge separately. Their limits needn’t match, and neither has to be zero.

The finite table supplies the zero coefficient and Mertens supplies the limit. Nowhere does the argument assume that a finite run of primes spreads itself evenly among the classes. The Neutrality Theorem gives the proof in every base and at every lag.

Two running prime sums fluctuate separately. A second panel plots their sum and their difference through the same window. Two running prime sums fluctuate separately. A second panel plots their sum and their difference through the same window.
Running totals over the primes from one to ten million. Above, the two remainder groups. Below, their sum and their difference.
The three small examples, drawn
The ending 07 keeps weight 1/10 as the integer moves through 107, 207 and 307. Its true remainder modulo three changes at every step.
The ending 07 keeps its weight of 1/10 as a hundred is added twice, while the remainder on division by three goes from 2 to 0 to 1.
The forty centered decimal weights, arranged by tens and units digits. Each true prime group modulo three receives a complete copy on the joint modulus 300.
The forty centered decimal weights. Each remainder group modulo three receives all forty, once each.
The two base-three families have different raw means. Subtracting each mean gives the two zero-sum groups shown here.
Base three’s six centered weights in their two families. Each family sums to zero on its own.

Half the sum, half the difference

Call the two running totals F1F_1F1​ and F2F_2F2​, and keep their sum and their difference,

F=F1+F2,G=F1−F2.\begin{aligned} F&=F_1+F_2,\\ G&=F_1-F_2. \end{aligned}FG​=F1​+F2​,=F1​−F2​.​

Either group comes back as (F+G)/2(F+G)/2(F+G)/2 or (F−G)/2(F-G)/2(F−G)/2. To compute GGG directly, keep the sign of every term from a prime leaving one and reverse it for a prime leaving two. That is multiplication by the nontrivial Dirichlet character modulo three, so GGG is the collision sum twisted by that character.

In the window, FFF is about 0.00006500.00006500.0000650 and GGG about 0.00044180.00044180.0004418, nearly seven times as large. The groups differ by far more than they add up to, even though neither one needs the other to cancel its drift. At weight 1/p1/p1/p both settle, since each is a combination of two convergent sums.

The primes 107107107 and 307307307 show the twist at work on a single pair. Each takes 1/101/101/10 from the table. In GGG, 107107107 leaves two and contributes −1/1070-1/1070−1/1070, while 307307307 leaves one and contributes +1/3070+1/3070+1/3070, so equal table weights turn into unequal terms of opposite sign. At s=1/2s=1/2s=1/2 those terms grow to about −0.00967-0.00967−0.00967 and +0.00571+0.00571+0.00571, and neutrality gives no control over them. The principal term is gone from both groups. What remains of GGG is a combination of nonprincipal characters modulo 300300300, and their prime sums below s=1s=1s=1 depend on where the zeros of their LLL-functions lie.

Companion paper: The Neutrality Theorem →
Share

Discussion

Sign in to join the discussion.

← All articlesRead the paper →
← Previous: The Collision Transform and the Critical Strip
Next: The General Neutrality Theorem →