Petty’s Notebook

The Coherence Decomposition

About this paperRepository PDFZenodo
Cite this paper

A. S. Petty, The Coherence Decomposition, DOI: 10.5281/zenodo.21844760.

Lean proofs

Abstract

Agreement with one marked fraction need not reflect agreement among the other fractions. For digit-partitioning prime cores, an exact count relates these two averages.

Fix a positional base bb and an integer n≥3n\ge3. For the fractional field F(n)={k/n:1≤k<n}\mathcal{F}(n)=\{k/n:1\le k<n\}, we define the synchronized pairwise alignment σb(n)\sigma_b(n) as the mean digit agreement over distinct unordered pairs. Reference alignment αb(n)\alpha_b(n) instead compares every field member with 1/n1/n and includes the reference self-match. Their signed difference Fb(n)=αb(n)−σb(n)F_b(n)=\alpha_b(n)-\sigma_b(n) is the focused alignment.

Let p∤bp\nmid b be prime, let p≤b+1p\le b+1, and let ss be a positive bb-supported integer with ps≥3ps\ge3. Then αb(ps)=2s−1ps−1,Fb(ps)=sps−1,σb(ps)=s−1ps−1.\alpha_b(ps)=\frac{2s-1}{ps-1},\qquad F_b(ps)=\frac{s}{ps-1},\qquad \sigma_b(ps)=\frac{s-1}{ps-1}. The pairwise background average is therefore exactly the normalized terminating contribution to αb\alpha_b. What remains is the normalized size of the synchronized residue class containing the reference fraction. As s→∞s\to\infty through supported values, the three limits are 2/p2/p, 1/p1/p, and 1/p1/p.

Within this prime-core family, the reciprocal-golden threshold lies strictly between the focused and reference-alignment limits exactly for p∈{2,3}p\in\{2,3\}. The case p=2p=2 is degenerate; among odd primes, only p=3p=3 has the gap. We also prove that for every prime p≥3p\ge3 not dividing the base, σb(p)=0\sigma_b(p)=0 exactly when the base-bb digit function is injective on the nonzero residues modulo pp.

January 2021 (revised September 2026)
2020 Mathematics Subject Classification: 11A07, 11A63

Two Sources of Alignment

At n=12n=12 in base ten, reference alignment splits exactly as α10(12)=711=411+311=F10(12)+σ10(12).\alpha_{10}(12)=\frac7{11} =\frac4{11}+\frac3{11} =F_{10}(12)+\sigma_{10}(12). After two decimal digits, the eleven rows divide into three terminating tails, four repeating threes, and four repeating sixes. Within these groups there are 3+6+6=153+6+6=15 agreeing unordered pairs out of 5555. Their mean is 3/113/11, exactly the terminating-row contribution to the reference alignment. This equality of totals includes twelve pairs of nonterminating fractions. The residual 4/114/11 is the normalized size of the class containing 1/121/12. Each term lies below the reciprocal-golden threshold, while their sum lies above it. Counting pairs explains a feature that the reference score alone leaves unresolved.

Reference alignment αb(n)\alpha_b(n) measures the finite fractional field F(n)\mathcal{F}(n) relative to 1/n1/n. Pairwise alignment σb(n)\sigma_b(n) measures the background coherence among all distinct unordered pairs. Here “fractional field” denotes this finite family of fractions. The two statistics average different sample spaces, so their difference Fb(n)=αb(n)−σb(n)F_b(n)=\alpha_b(n)-\sigma_b(n) is a signed residual. For digit-partitioning primes, the exact class count makes the pairwise average equal to the normalized terminating contribution to αb\alpha_b. The residual is the normalized reference residue class.

Normalized coordinate agreement is Hamming similarity, equivalently one minus normalized Hamming distance. Lempel and Greenberger organize cyclic Hamming correlation for finite sequence families [1], and Kak and Chatterjee apply it directly to full-period reciprocal digit sequences [2]. Repetend multiplication and its multiplicative-orbit organization are also classical [3]. The construction here averages that agreement over every distinct unordered pair in the complete denominator ensemble and compares the result with one marked reference row. The contribution is the exact prime-core decomposition and the zero-background characterization without a primitive-root hypothesis.

Why the Golden Ratio Selects the Prime Three [4] studies the full-weight alignment profile for one-digit repeating tails. Digit-Partitioning Primes and the Alignment Formula [5] supplies the synchronized prime-core formula, and The Three-Tier Theorem [6] carries the common-depth convention through the all-denominator classification. Here the exact question is what pairwise term is present inside the prime-core formula.

Reference and Pairwise Alignment

Definition 1. A positive integer ss is bb-supported if every prime factor of ss divides bb, equivalently if ss divides a power of bb. Every n≥2n\ge2 has a unique factorization n=qs,n=qs, where ss is its largest bb-supported divisor and gcd⁡(q,b)=1\gcd(q,b)=1. We call qq the rough part of nn.

Suppose first that q>1q>1. Choose one clearing depth DD with s∣bDs\mid b^D and put L=ordq(b)L=\mathop{\mathrm{ord}}_q(b). The synchronized alignment αb(n)\alpha_b(n) compares the next LL digits of every k/nk/n with the corresponding digits of 1/n1/n, beginning after the same DD digits. A terminating fraction receives score one. Otherwise its score is the proportion of matching synchronized positions. The mean over 1≤k<n1\le k<n is αb(n)\alpha_b(n). If q=1q=1, every fraction terminates and we set αb(n)=1\alpha_b(n)=1. One common clearing depth is used for every row, whether the rough part is prime or composite.

Definition 2 (Synchronized pairwise alignment). Let n=qs≥3n=qs\ge3. If q=1q=1, set cb(j,k;n)=1c_b(j,k;n)=1 for every 1≤j<k<n1\le j<k<n. If q>1q>1, use the common depth DD and window length LL above. Set cb(j,k;n)=1c_b(j,k;n)=1 when both j/nj/n and k/nk/n terminate, and set it to zero when exactly one terminates. If neither terminates, let cb(j,k;n)c_b(j,k;n) be the proportion of the next LL synchronized positions at which their digits agree. The pairwise alignment is σb(n)=(n−12)−1∑1≤j<k≤n−1cb(j,k;n).\sigma_b(n)=\binom{n-1}{2}^{-1} \sum_{1\le j<k\le n-1}c_b(j,k;n). The focused alignment is the signed residual Fb(n)=αb(n)−σb(n).F_b(n)=\alpha_b(n)-\sigma_b(n).

Increasing DD advances both nonterminating tails by the same power of bb. Their length-LL equality pattern is rotated, so its number of matches is unchanged. Individual repetends are never restarted at separate phases. The pairwise statistic begins at n=3n=3 because F(2)\mathcal F(2) contains no unordered pair of distinct elements.

For a prime p∤bp\nmid b, write δp,b(r)=⌊brp⌋,1≤r<p.\delta_{p,b}(r)=\left\lfloor\frac{br}{p}\right\rfloor, \qquad 1\le r<p. The prime is digit-partitioning in base bb when this digit function is injective. Digit-Partitioning Primes and the Alignment Formula [5] proves that this occurs exactly when p≤b+1p\le b+1.

The Decomposition for Digit-Partitioning Primes

Theorem 3. Let b≥2b\ge2, let p∤bp\nmid b be prime with p≤b+1p\le b+1, and let s≥1s\ge1 be bb-supported. If ps≥3ps\ge3, then αb(ps)=2s−1ps−1,Fb(ps)=sps−1,σb(ps)=s−1ps−1.\begin{aligned} \alpha_b(ps) &= \frac{2s-1}{ps-1}, \\[4pt] F_b(ps) &= \frac{s}{ps-1}, \\[4pt] \sigma_b(ps) &= \frac{s-1}{ps-1}. \end{aligned} Moreover, σb(ps)\sigma_b(ps) equals the normalized contribution of the terminating fractions to αb(ps)\alpha_b(ps), while Fb(ps)F_b(ps) equals the normalized size of the synchronized nonzero residue class containing 1/(ps)1/(ps).

Proof. Equation (1) is the digit-partitioning formula of [5].

Choose DD with s∣bDs\mid b^D and put u=bD/su=b^D/s. Since p∤bp\nmid b, both ss and uu are invertible modulo pp. After the common depth DD, the nonterminating tail of k/(ps)k/(ps) begins at the nonzero remainder ku(modp)ku\pmod p. Each nonzero remainder occurs for exactly ss numerators kk in {1,…,ps−1}\{1,\ldots,ps-1\}.

Thus the nonterminating fractions form p−1p-1 synchronized classes, each of size ss. Two members of one class have the same remainder at every synchronized position and match everywhere. Members of different classes remain at distinct remainders after multiplication by every power of bb. Since p≤b+1p\le b+1, the digit function is injective, so their digits differ at every synchronized position.

There are also s−1s-1 terminating fractions, namely the nonzero multiples of pp below psps. Terminating pairs contribute one, mixed pairs contribute zero, and the preceding residue argument handles every nonterminating pair. The total pair score is therefore Σ=(s−12)+(p−1)(s2).\Sigma = \binom{s-1}{2} + (p-1)\binom{s}{2}.

Because ps≥3ps\ge3, the pair sample space is nonempty. Expanding the binomial coefficients gives σb(ps)=(s−12)+(p−1)(s2)(ps−12)=(s−1)(s−2)/2+(p−1)s(s−1)/2(ps−1)(ps−2)/2=(s−1)[(s−2)+(p−1)s](ps−1)(ps−2)=(s−1)(ps−2)(ps−1)(ps−2)=s−1ps−1.\begin{aligned} \sigma_b(ps) &= \frac{\binom{s-1}{2} + (p-1)\binom{s}{2}}{\binom{ps-1}{2}} = \frac{(s-1)(s-2)/2 + (p-1)s(s-1)/2}{(ps-1)(ps-2)/2} \\ &= \frac{(s-1)\bigl[(s-2) + (p-1)s\bigr]}{(ps-1)(ps-2)} = \frac{(s-1)(ps - 2)}{(ps-1)(ps-2)} = \frac{s-1}{ps-1}. \end{aligned}

The s−1s-1 terminating fractions contribute (s−1)/(ps−1)(s-1)/(ps-1) to αb(ps)\alpha_b(ps), exactly the value just found for σb(ps)\sigma_b(ps). The other aligned fractions are the ss numerators congruent to 11 modulo pp, the synchronized residue class of the reference. Hence Fb(ps)=αb(ps)−σb(ps)=sps−1.F_b(ps)=\alpha_b(ps)-\sigma_b(ps)=\frac{s}{ps-1}. ◻

Corollary 4. As s→∞s \to \infty through bb-supported integers, αb(ps)→2p,Fb(ps)→1p,σb(ps)→1p.\alpha_b(ps) \to \frac{2}{p}, \qquad F_b(ps) \to \frac{1}{p}, \qquad \sigma_b(ps) \to \frac{1}{p}.

As the supported factor grows, the focused residual and the pairwise background approach equal shares of the limiting reference alignment.

The Golden Gap

Write φ=(1+5)/2\varphi=(1+\sqrt5)/2.

Theorem 5. Let p∤bp\nmid b be a digit-partitioning prime. The reciprocal-golden threshold lies strictly between the focused and reference-alignment limits, 1p<1φ<2p,\frac1p<\frac1\varphi<\frac2p, if and only if p∈{2,3}p\in\{2,3\}. For p=2p=2, the formula gives αb(2s)=1\alpha_b(2s)=1 for every admissible ss, so the case is degenerate. Among odd primes, only p=3p=3 has the gap.

Proof. Since φ<2\varphi<2, every prime satisfies p>φp>\varphi, which is equivalent to 1/p<1/φ1/p<1/\varphi. Also 3<2φ=1+5<4.3<2\varphi=1+\sqrt5<4. Therefore 1/φ<2/p1/\varphi<2/p, equivalently p<2φp<2\varphi, holds exactly for the primes 22 and 33. ◻

For p=3p=3, the limits are Fb→1/3F_b\to1/3 and αb→2/3\alpha_b\to2/3, with 1/φ1/\varphi strictly between them. For p≥5p\ge5, the finite formula gives 2p−αb(ps)=p−2p(ps−1)>0.\frac2p-\alpha_b(ps) =\frac{p-2}{p(ps-1)}>0. Since 0≤Fb(ps)≤αb(ps)0\le F_b(ps)\le\alpha_b(ps) in this family, both quantities are below 2/p≤2/5<3/5<1/φ2/p\le2/5<3/5<1/\varphi at every supported resolution. The last strict inequality is equivalent to 11<5511<5\sqrt5, whose square is 121<125121<125.

The focused residual by itself also stays below the threshold in every defined prime-core case. For p≥3p\ge3, Fb(ps)=sps−1≤1p−1≤12.F_b(ps)=\frac{s}{ps-1}\le\frac1{p-1}\le\frac12. For p=2p=2 and 2s≥32s\ge3, the condition 2∤b2\nmid b makes every nontrivial supported ss at least 33, and then Fb(2s)≤3/5<1/φF_b(2s)\le3/5<1/\varphi by the same inequality. Thus, in the nondegenerate odd-prime case, p=3p=3 is the unique digit-partitioning prime core for which the pairwise background can carry the reference alignment across the threshold. In even bases not divisible by 33, this is the three-core tier classified in The Three-Tier Theorem [6]; the fully terminating tier is a separate mechanism.

The Sigma-Zero Characterization

Proposition 6. Let b≥2b\ge2 and let p≥3p\ge3 be prime with p∤bp\nmid b. Then σb(p)=0\sigma_b(p)=0 if and only if pp is digit-partitioning in base bb.

Proof. Suppose first that pp is digit-partitioning. For distinct j,k∈{1,…,p−1}j,k\in\{1,\ldots,p-1\}, the residues btjb^tj and btkb^tk remain distinct modulo pp at every synchronized position tt. Injectivity of δp,b\delta_{p,b} makes the corresponding digits distinct. Hence cb(j,k;p)=0c_b(j,k;p)=0 for every pair, and σb(p)=0\sigma_b(p)=0.

Conversely, if pp is not digit-partitioning, there are distinct r,s∈{1,…,p−1}r,s\in\{1,\ldots,p-1\} with δp,b(r)=δp,b(s)\delta_{p,b}(r)=\delta_{p,b}(s). The fractions r/pr/p and s/ps/p therefore match at the first synchronized position. With L=ordp(b)L=\mathop{\mathrm{ord}}_p(b), this gives cb(r,s;p)≥1/L>0c_b(r,s;p)\ge1/L>0, and consequently σb(p)>0\sigma_b(p)>0. ◻

This provides an equivalent characterization of the digit-partitioning property. A prime pp is digit-partitioning if and only if no two distinct fractions in {k/p:1≤k<p}\{k/p:1\le k<p\} share a digit at the same synchronized position.

Composite Denominators

For composite rough parts, the decomposition αb=Fb+σb\alpha_b=F_b+\sigma_b remains a signed identity by definition. The common window L=ordq(b)L=\mathop{\mathrm{ord}}_q(b) handles residual periods dividing LL. Every nonzero residue still occurs for exactly ss numerators, but the residue orbits can have different lengths and distinct residues can emit the same digit. The sign of FbF_b is determined by the resulting reference and pairwise averages.

Reference, Background, and the Threshold

Three statistics

For a fixed base, the synchronized digit expansions of F(n)\mathcal{F}(n) carry three statistics. The value αb(n)\alpha_b(n) is the mean alignment with the distinguished fraction 1/n1/n. The value σb(n)\sigma_b(n) is the mean background alignment over distinct pairs, and Fb(n)F_b(n) is their signed focused residual. In the digit-partitioning family, FbF_b is positive and equals the reference residue-class density. For primes p≥3p\ge3 not dividing bb, σb(p)\sigma_b(p) characterizes digit partitioning.

If n≥3n\ge3 is entirely bb-supported, every fraction terminates. Then αb(n)=σb(n)=1\alpha_b(n)=\sigma_b(n)=1 and Fb(n)=0F_b(n)=0. This is the terminating mechanism in The Three-Tier Theorem [6], distinct from the prime-three crossing.

The prescribed threshold

For digit-partitioning prime cores, the limiting gap between FbF_b and αb\alpha_b has width 1/p1/p. The pairwise term is larger than the distance from FbF_b to the reciprocal-golden threshold exactly when 1p>1φ−1p⟺p<2φ.\frac1p>\frac1\varphi-\frac1p \quad\Longleftrightarrow\quad p<2\varphi. Among odd primes, this selects p=3p=3. The pairwise term can therefore change the threshold outcome for the three-core family. At arbitrary composite rough parts, the signed identity remains exact while the residue interactions must be counted on their own common clock.

References

[1]A. Lempel and H. Greenberger, Families of sequences with optimal Hamming-correlation properties, IEEE Trans. Inform. Theory 20 (1974), no. 1, 90–94. https://doi.org/10.1109/TIT.1974.1055169.

[2]S. C. Kak and A. Chatterjee, On decimal sequences, IEEE Trans. Inform. Theory 27 (1981), no. 5, 647–652. https://doi.org/10.1109/TIT.1981.1056394.

[3]N. J. Armstrong and R. J. Armstrong, Some properties of repetends, Math. Gaz. 87 (2003), no. 510, 437–443. https://doi.org/10.1017/S0025557200173619.

[4]A. S. Petty, Why the Golden Ratio Selects the Prime Three, research note, January 2020 (revised September 2026), DOI: https://doi.org/10.5281/zenodo.20399951.

[5]A. S. Petty, Digit-Partitioning Primes and the Alignment Formula, research note, April 2020 (revised September 2026), DOI: https://doi.org/10.5281/zenodo.21844074.

[6]A. S. Petty, The Three-Tier Theorem, research note, October 2020 (revised September 2026), DOI: https://doi.org/10.5281/zenodo.21844347.