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

The Coherence Decomposition

January 12, 202112 min read
Companion paper: The Coherence Decomposition →
A bright central column meets two horizontal bands of light, with orange and violet particles spreading across a dark background.
At twelve, neither component reaches the golden threshold. Their sum does.

When the alignment is high, why is it high?

Take the fractions of seven. Write one repeating block from each row.

1/7 = 0.|142857|
2/7 = 0.|285714|
3/7 = 0.|428571|
4/7 = 0.|571428|
5/7 = 0.|714285|
6/7 = 0.|857142|

Read down any column. No digit appears twice. The six rows are rotations of the same block, but at their actual positions they never agree with one another.

The reference alignment is still 1/61/61/6. We compare every row with 1/71/71/7, including 1/71/71/7 itself. That self-match contributes the entire score. The other five rows contribute zero.

Now use 77=7×1177 = 7\times1177=7×11. Just two rows already look different.

1/77 = 0.|012987|
2/77 = 0.|025974|

Their first digits agree. So do their fourth digits. They match in two of six positions, then repeat that agreement indefinitely. Elsewhere in the table there are more such pairs.

Across all 2,8502{,}8502,850 distinct unordered pairs, the average agreement is about 0.0884210.0884210.088421. The alignment with 1/771/771/77 is about 0.1008770.1008770.100877. The reference average exceeds the pairwise average by only 0.0124560.0124560.012456.

Seven and seventy-seven both fall in the low tier of The Three-Tier Theorem. At seven, the reference score survives entirely on its self-match. At seventy-seven, much of the reference score is matched by an average that never singles out 1/771/771/77 at all. A low total can conceal quite different arrangements of agreement.

Two pieces, one sum

Call the average over distinct pairs σ(n)\sigma(n)σ(n), the pairwise alignment. It measures the internal coherence of the fractional field. Here coherence means agreement of digits at the same positions. The tails stay on one common clock.

Subtract that average from the reference alignment α(n)\alpha(n)α(n). The difference is the focused alignment, F(n)F(n)F(n).

α(n)=F(n)+σ(n).\alpha(n)=F(n)+\sigma(n).α(n)=F(n)+σ(n).

Denominator Reference α\alphaα Pairwise σ\sigmaσ Focused FFF
777 1/61/61/6 000 1/61/61/6
777777 23/22823/22823/228 42/47542/47542/475 71/570071/570071/5700

The identity follows from the definition of FFF. By itself it explains nothing. The question is whether the counts on the two sides have a useful relation.

Nor is FFF a quantity that we can assign to 1/n1/n1/n in isolation. It compares two averages over different sets of comparisons. It can be signed. For the digit-partitioning family, however, the count gives it a particularly simple meaning.

Eleven rows, fifty-five pairs

Return to the fractions of twelve. After two decimal places, the eleven rows separate into three groups.

Numerators Tail after two places Rows
3,6,93,6,93,6,9 Terminated 333
1,4,7,101,4,7,101,4,7,10 333…333\ldots333… 444
2,5,8,112,5,8,112,5,8,11 666…666\ldots666… 444

For reference alignment, the four rows that match 1/121/121/12 score one. The three terminating rows also score one, by the alignment convention. Seven out of eleven gives α(12)=7/11\alpha(12)=7/11α(12)=7/11.

For pairwise alignment, compare distinct rows. Two terminating rows score one, a terminating row paired with a repeating row scores zero, and two repeating rows score their proportion of matching digits. In this table, pairs agree exactly when they belong to the same group.

The group of three supplies three pairs. Each group of four supplies six. That gives fifteen agreeing pairs out of fifty-five.

σ(12)=3+6+655=311.\sigma(12)=\frac{3+6+6}{55}=\frac3{11}.σ(12)=553+6+6​=113​.

The pair average is 3/11, the same number as the terminating contribution to the reference score. Twelve of its fifteen agreeing pairs are nevertheless pairs of repeating rows.
The pair average is 3/113/113/11, the same number as the terminating contribution to the reference score. Twelve of its fifteen agreeing pairs are nevertheless pairs of repeating rows.

This is the equality I want to isolate. The two ways of counting use different denominators and count different objects. After reduction, they give the same fraction. Subtracting leaves

F(12)=711−311=411,F(12)=\frac7{11}-\frac3{11}=\frac4{11},F(12)=117​−113​=114​,

the size of the reference’s group divided by the number of rows.

The same calculation works for n=pmn=pmn=pm whenever ppp is digit-partitioning and every prime factor of mmm divides the base. There are m−1m-1m−1 terminating rows and p−1p-1p−1 repeating groups, each containing mmm rows. Within a group, every pair agrees. Between groups, none does.

Counting pairs within those groups gives

σ(pm)=m−1pm−1,F(pm)=mpm−1.\sigma(pm)=\frac{m-1}{pm-1},\qquad F(pm)=\frac{m}{pm-1}.σ(pm)=pm−1m−1​,F(pm)=pm−1m​.

Thus the pairwise average equals the terminating contribution to α\alphaα, and the focused residual equals the normalized size of the reference class. Neither the lengths of the repeating blocks nor the number of distinct rotations enters this count. The digit function’s ability to keep distinct remainders apart is enough.

There is also a useful endpoint. If every fraction terminates, as at n=10n=10n=10, both averages are one and F=0F=0F=0. The reference has no excess over the pairwise average. The pairwise statistic starts at n=3n=3n=3 because the table for n=2n=2n=2 has only one row and no distinct pair.

The first shared digits

Put the pair scores in a square grid. Each fraction labels a row and a column. A square records how much those two fractions agree. Every diagonal square is one because a fraction matches itself. The mean of the squares away from the diagonal is σ\sigmaσ.

At eleven, only the diagonal is lit. At thirteen, six distinct pairs acquire a score of 1/31/31/3. One of them is familiar.

 1/13 = 0.|076923|
11/13 = 0.|846153|

The third and sixth digits agree. Those two matches produce a pair of squares away from the diagonal, one for each order of the comparison. The other five pairs appear the same way.

At eleven, distinct rows never agree. At thirteen, six unordered pairs match in one-third of their positions. The larger grids retain every pair score, even where one average would hide its location.
At eleven, distinct rows never agree. At thirteen, six unordered pairs match in one-third of their positions. The larger grids retain every pair score, even where one average would hide its location.

This gives an exact characterization. For a prime p≥3p\ge3p≥3 not dividing the base,

σb(p)=0⟺p is digit-partitioning in base b.\sigma_b(p)=0\quad\Longleftrightarrow\quad p\text{ is digit-partitioning in base }b.σb​(p)=0⟺p is digit-partitioning in base b.

If the digit function assigns different digits to different nonzero remainders, two distinct rows cannot agree in any column. Conversely, if two remainders emit the same digit, the corresponding rows already have a match in the first column. Their pair score is positive, so the pairwise average is positive too.

In decimal, three, seven and eleven all have zero pairwise background. Five is different because its fractions terminate. Every prime above eleven has some agreement away from the diagonal. The boundary p≤b+1p\le b+1p≤b+1 can therefore be read directly from the pairwise statistic.

The golden gap

For a fixed digit-partitioning prime ppp, let the supported factor mmm grow. The focused part approaches 1/p1/p1/p. The pairwise part approaches the same number. Their sum approaches 2/p2/p2/p.

At p=3p=3p=3, neither component reaches the golden threshold 1/φ≈0.6181/\varphi\approx0.6181/φ≈0.618. Each approaches 1/31/31/3.

But 1/3+1/3=2/31/3+1/3=2/31/3+1/3=2/3. Above.

The crossing is already visible in a finite table. At twelve, the two parts are 4/114/114/11 and 3/113/113/11. Neither reaches the threshold; their sum 7/117/117/11 does. At 120120120, the two parts are 40/11940/11940/119 and 39/11939/11939/119. They sit closer together, while the sum sits closer to 2/32/32/3.

For the three-core family, the threshold lies above each limiting component and below their sum. At the other decimal digit-partitioning prime cores, even the sum falls short.
For the three-core family, the threshold lies above each limiting component and below their sum. At the other decimal digit-partitioning prime cores, even the sum falls short.

The limiting gap contains the prescribed threshold precisely when

1p<1φ<2p.\frac1p<\frac1\varphi<\frac2p.p1​<φ1​<p2​.

Equivalently, φ<p<2φ\varphi<p<2\varphiφ<p<2φ. Since 2φ≈3.2362\varphi\approx3.2362φ≈3.236, only the primes two and three fit. The prime-two case is available in odd bases and gives reference alignment identically one. Among odd primes, three is the sole survivor.

This selects a prime for the chosen threshold. It does not uniquely select the golden ratio. The threshold 3/53/53/5, for example, also lies between 1/31/31/3 and 2/32/32/3 and in no corresponding interval for a larger odd prime. The contribution here is the exact decomposition that exposes the gap.

The average and the arrangement

Counting equal symbols has a long history. Lempel and Greenberger studied Hamming correlation in families of finite sequences. Kak and Chatterjee studied distances and correlations in reciprocal digit sequences, including cyclic shifts of maximum-length sequences. Armstrong and Armstrong described repetend multiplication and its group structure.

The calculation here uses every distinct unordered pair in a denominator’s table, then compares that average with the score of one marked reference. For digit-partitioning prime cores it gives the closed forms above without requiring the base to generate every nonzero residue. The same statistic also detects exactly where digit separation fails.

Seven and seventy-seven now have more to tell us. Both have low reference alignment, but only seven has no agreement at all between distinct rows. At twelve, the pair count reduces to the same fraction as the terminating contribution, although most agreeing pairs are nonterminating. The decomposition makes those differences explicit.

At thirteen, σ=1/33\sigma=1/33σ=1/33 tells us the average agreement. The six pairs tell us where it occurs. At twelve, a different arrangement gives the exact split 7/11=4/11+3/117/11=4/11+3/117/11=4/11+3/11. The decomposition lets us keep the reference score while seeing how much agreement is already shared across the field.

Companion paper: The Coherence Decomposition →
Share

Comments

Sign in to join the discussion.

← Previous: Primes and the Major Scale
Next: The Cross-Alignment Matrix →