Petty’s Notebook

Why the Golden Ratio Selects the Prime Three

About this paperRepository PDFZenodo
Cite this paper

A. S. Petty, Why the Golden Ratio Selects the Prime Three, DOI: 10.5281/zenodo.20399951.

Lean proofs

Abstract

For denominators n=3mn=3m with m=2a5cm=2^a5^c and a,c≥0a,c\ge0 integers, the proper fractions split into three residue classes. Counting terminating fractions together with those whose repetend matches 1/n1/n gives the alignment α10(3m)=2m−13m−1.\alpha_{10}(3m)=\frac{2m-1}{3m-1}. This exceeds 1/φ1/\varphi, where φ=(1+5)/2\varphi=(1+\sqrt5)/2, exactly when m≥4m\ge4 in the supported family. The real crossing occurs at m=φ2m=\varphi^2. In a base b≡1(modp)b\equiv1\pmod p with pp prime, the same count for bb-supported mm gives (2m−1)/(pm−1)(2m-1)/(pm-1). Among odd primes only p=3p=3 can cross the golden threshold; prime two has alignment one.

The reciprocal-square condition on the real critical resolution yields the cubic τ3−τ2−pτ+2=0\tau^3-\tau^2-p\tau+2=0. For prime parameters it factors over Q\mathbb Q exactly at 2,3,52,3,5. Its thresholds at 33 and 55 are 1/φ1/\varphi and 1/φ21/\varphi^2; at primes p≥7p\ge7 they have degree three and lie in no quadratic field. Among prime-associated thresholds satisfying this condition, 1/φ1/\varphi is the unique value in (2/5,2/3)(2/5,2/3).

January 2020 (revised September 2026)
2020 Mathematics Subject Classification: 11A63, 11B39, 11B83

The Three Classes at Twelve

Of the eleven proper fractions with denominator twelve, three terminate, four repeat the digit 33, and four repeat the digit 66. The reference fraction 1/12=0.083‾1/12=0.08\overline3 belongs to the first repeating class. Counting the three terminating fractions together with the four matching fractions gives an alignment of 7/117/11. This is above the reciprocal golden ratio 1/φ≈0.6181/\varphi\approx0.618. At denominator six the corresponding alignment is 3/53/5, below that threshold.

The count comes from residues modulo three. For every denominator n=3mn=3m whose multiplier mm is built from powers of 22 and 55, the same three classes have sizes m−1m-1, mm, and mm. Counting the terminating and matching classes gives (2m−1)/(3m−1)(2m-1)/(3m-1). The terminating class is assigned full alignment by convention; the statistic measures membership in these two classes.

As mm increases, this proportion rises toward 2/32/3. Solving for its crossing of 1/φ1/\varphi gives the real value φ2\varphi^2, the reciprocal square of the threshold itself. The first admissible integer multiplier is m=4m=4, giving denominator twelve. The reciprocal-square relation leads to the question of which prime families admit the same equality.

The base-bb expansion of a rational number k/nk/n either terminates or eventually repeats. When it repeats, the shortest repeating block is called the repetend. For gcd⁡(n,b)=1\gcd(n, b) = 1, the length of the repetend of 1/n1/n equals the multiplicative order ordn(b)\mathop{\mathrm{ord}}_n(b), and the repetends of the reduced fractions {k/n:gcd⁡(k,n)=1}\{k/n : \gcd(k,n)=1\} are organized by the orbits of ⟨b⟩\langle b \rangle acting on (Z/nZ)×(\mathbb{Z}/n\mathbb{Z})^\times. Fractions within a single orbit are cyclic permutations of one another [3].

Throughout, base-bb expansions are taken in their canonical form. Terminating expansions are written with trailing zeros, not with an eventual string of digits equal to b−1b-1.

For a denominator n≥2n\ge2, write F(n)={k/n:1≤k≤n−1}\mathcal F(n)=\{k/n:1\le k\le n-1\}. Comparing these fractions at a common long-division depth fixes the phase of every periodic tail. In the decimal family above, each nonterminating tail has only one repeating digit.

The alignment formula and the three-class decomposition rest on classical arithmetic of repetends; the underlying orbit structure and complement pairing appear in various forms in [3] and the Midy literature. The reciprocal-square characterization of Section 6 classifies the additional relation between threshold and critical scale.

The sets F(n)\mathcal F(n) were first explored computationally using nfield [5]. The threshold separation was found computationally first; the algebraic proof came later.

Definitions

Fix a base b≥2b \ge 2. For positive integers kk and nn with 1≤k≤n−11 \le k \le n-1, the base-bb expansion of k/nk/n takes the form kn  =  0. a1a2⋯as d1d2⋯dℓ‾,\frac{k}{n} \;=\; 0.\, a_{1} a_{2} \cdots a_{s}\, \overline{d_{1} d_{2} \cdots d_{\ell}}, where a1⋯asa_{1} \cdots a_{s} is the non-repeating prefix and in the nonterminating case, d1⋯dℓd_{1} \cdots d_{\ell} is the repetend of length ℓ≥1\ell \ge 1. In the terminating case we set ℓ=0\ell = 0 and regard the repetend as empty.

Definition 1. A positive integer mm is bb-supported if every prime factor of mm divides bb. Equivalently, mm is bb-supported if and only if 1/m1/m has a terminating base-bb expansion. We write Sb\mathcal{S}_b for the set of bb-supported positive integers.

In base 1010, S10\mathcal{S}_{10} is the set of integers of the form 2a5c2^{a} 5^{c}, the denominators with terminating decimal expansions.

Definition 2 (Synchronized repetend alignment). Let p∤bp\nmid b be prime, let m∈Sbm\in\mathcal S_b, and put n=pm≥2n=pm\ge2. Choose a common clearing depth D≥0D\ge0 with m∣bDm\mid b^D, and set L=ordp(b)L=\mathop{\mathrm{ord}}_p(b). Beginning immediately after the first DD base-bb digits, compare the next LL digits of every k/nk/n with the corresponding digits of 1/n1/n. If k/nk/n terminates, set ab(k/n,1/n)=1a_b(k/n,1/n)=1. Otherwise, let ab(k/n,1/n)a_b(k/n,1/n) be the proportion of these LL synchronized positions at which the digits agree. The repetend alignment is αb(n)  =  1n−1∑k=1n−1ab(k/n, 1/n).\alpha_b(n) \;=\; \frac{1}{n-1} \sum_{k=1}^{n-1} a_b(k/n,\,1/n).

The definition does not depend on the clearing depth. Increasing DD advances every nonterminating tail by the same power of bb, so it rotates the two length-LL words together and preserves their position-wise match proportion. Individual repetends are never restarted at separately chosen phases.

All alignment theorems below impose b≡1(modp)b\equiv1\pmod p, and hence L=1L=1. Synchronization still fixes the digit supplied by division, even though there is no nontrivial cyclic phase in a one-digit word.

For the family n=3mn=3m with m∈S10m\in\mathcal S_{10}, the synchronized window has length one because ord3(10)=1\mathop{\mathrm{ord}}_3(10)=1.

The Three Classes

The decimal family has just two nonzero remainder states.

Lemma 3. Let n=3mn = 3m with m∈S10m \in \mathcal{S}_{10} and m≥1m \ge 1. For each k∈{1,…,n−1}k \in \{1, \ldots, n-1\}, exactly one of the alternatives (A)–(C) holds.

  1. k≡0(mod3)k \equiv 0 \pmod 3. Then k/nk/n terminates.

  2. k≡1(mod3)k \equiv 1 \pmod 3. Then k/nk/n has a one-digit repetend equal to that of 1/n1/n.

  3. k≡2(mod3)k \equiv 2 \pmod 3. Then k/nk/n has a one-digit repetend equal to the nines complement of that of 1/n1/n.

Proof. Choose a common clearing depth DD with m∣10Dm\mid10^D, and put u=10D/mu=10^D/m. Since 3∤103\nmid10, we have 3∤u3\nmid u. At the synchronized position after depth DD, the reference fraction has remainder u(mod3)u\pmod3, while k/(3m)k/(3m) has remainder ku(mod3)ku\pmod3.

Write k=3q+rk=3q+r with r∈{0,1,2}r\in\{0,1,2\}. If r=0r=0, then k/(3m)=q/mk/(3m)=q/m terminates. If r=1r=1, then ku≡u(mod3)ku\equiv u\pmod3, so the synchronized digit agrees with the reference digit. If r=2r=2, then ku≡−u(mod3)ku\equiv-u\pmod3. The two nonzero remainders modulo 33 produce the digits ⌊103⌋=3,⌊203⌋=6,\left\lfloor\frac{10}{3}\right\rfloor=3, \qquad \left\lfloor\frac{20}{3}\right\rfloor=6, in one order or the other. They are nines complements. Finally, ord3(10)=1\mathop{\mathrm{ord}}_3(10)=1, so this synchronized digit is the entire repetend. ◻

Remark 4. The nines complement between classes (B) and (C) is the decimal manifestation of the universal identity k/n+(n−k)/n=1k/n + (n-k)/n = 1, which pairs every element of F(n)\mathcal{F}(n) with its complement. The alignment classes correspond to the digit pair {3,6}\{3, 6\}, the pair associated with the prime 33 in base ten.

Midy’s theorem [1, 2] and its generalizations study digit-sum relations within a single repetend. Here the same complement arithmetic pairs classes across the complete set F(3m)\mathcal F(3m).

The Alignment Formula and the Golden Threshold

Theorem 5. Let n=3mn = 3m with m∈S10m \in \mathcal{S}_{10} and m≥1m \ge 1. Then α10(n)  =  2m−13m−1.\alpha_{10}(n) \;=\; \frac{2m - 1}{3m - 1}.

Proof. By Lemma 3, aligned elements of F(n)\mathcal{F}(n) are those in classes (A) and (B). Class (A) contributes m−1m - 1 multiples of 33 in {1,…,3m−1}\{1, \ldots, 3m-1\}. Class (B) contributes mm integers congruent to 1(mod3)1 \pmod 3. Class (C), the remaining mm elements, contributes nothing. The total is (m−1)+m=2m−1(m-1) + m = 2m-1 out of 3m−13m-1. ◻

The count includes the m−1m-1 terminating fractions. Excluding them from both the count and the normalization leaves mm matching fractions among 2m2m nonterminating fractions, so that proportion is always 1/21/2. More generally, under the hypotheses of Theorem 10, the nonterminating proportion is m/[m(p−1)]=1/(p−1)m/[m(p-1)]=1/(p-1). Including the terminating class is what makes the alignment vary with mm.

The normalization in Definition 2 requires n≥2n\ge2; n=1n=1 is not assigned an alignment. The present theorem starts at n=3n=3. The edge case n=2n=2 occurs in Theorem 10 with p=2p=2 and m=1m=1, where the formula gives αb(2)=1\alpha_b(2)=1.

Corollary 6. As m→∞m \to \infty through S10\mathcal{S}_{10}, α10(3m)  ⟶  23.\alpha_{10}(3m) \;\longrightarrow\; \frac{2}{3}. The convergence is monotone from below, since ddm2m−13m−1  =  1(3m−1)2  >  0.\frac{d}{dm}\frac{2m-1}{3m-1} \;=\; \frac{1}{(3m-1)^2} \;>\; 0.

Repetend alignment α10(3m)\alpha_{10}(3m) for selected 1010-supported mm.
mm n=3mn = 3m α10(n)\alpha_{10}(n) Decimal
1 3 1/21/2 0.50000.5000
2 6 3/53/5 0.60000.6000
4 12 7/117/11 0.63640.6364
5 15 9/149/14 0.64290.6429
8 24 15/2315/23 0.65220.6522
10 30 19/2919/29 0.65520.6552
16 48 31/4731/47 0.65960.6596
32 96 63/9563/95 0.66320.6632
100 300 199/299199/299 0.66560.6656
256 768 511/767511/767 0.66620.6662

We now ask for which mm the alignment exceeds 1/φ1/\varphi, where φ=(1+5)/2\varphi = (1 + \sqrt{5})/2 is the golden ratio?

Theorem 7. Let m≥1m \ge 1 be a positive integer. Then 2m−13m−1  ≥  1φ⟺m  ≥  φ2.\frac{2m - 1}{3m - 1} \;\ge\; \frac{1}{\varphi} \quad\Longleftrightarrow\quad m \;\ge\; \varphi^{2}. Since 2<φ2<32<\varphi^{2}<3, the integer threshold is m≥3m\ge3.

Proof. The inequality is equivalent to φ(2m−1)≥3m−1\varphi(2m - 1) \ge 3m - 1, or m(2φ−3)  ≥  φ−1.m(2\varphi - 3) \;\ge\; \varphi - 1. Using φ−1=1/φ\varphi - 1 = 1/\varphi and 2φ−3=5−2>02\varphi - 3 = \sqrt{5} - 2 > 0, we may divide. m  ≥  1/φ5−2.m \;\ge\; \frac{1/\varphi}{\sqrt{5} - 2}. Rationalizing the denominator and applying φ(5−2)=(3−5)/2\varphi(\sqrt{5} - 2) = (3 - \sqrt{5})/2 yields m  ≥  23−5  =  3+52  =  φ2.m \;\ge\; \frac{2}{3 - \sqrt{5}} \;=\; \frac{3 + \sqrt{5}}{2} \;=\; \varphi^{2}. Finally, 1<5<31<\sqrt5<3 gives 2<φ2<32<\varphi^2<3, so an integer mm satisfies this inequality exactly when m≥3m\ge3. ◻

The identity φ2=φ+1\varphi^{2} = \varphi + 1 is the defining algebraic property of the golden ratio [4]. At threshold 1/φ1/\varphi, the real crossing scale is φ2\varphi^2, the reciprocal square of that threshold.

Remark 8. Under the prime and one-digit hypotheses of Theorem 10, any threshold t∈(2/5,2/3)t\in(2/5,2/3) separates the same primes, since the alignment limit 2/p2/p exceeds tt only for p∈{2,3}p\in\{2,3\}.

Corollary 9. Among denominators n=3mn = 3m with m∈S10m \in \mathcal{S}_{10}, the repetend alignment exceeds 1/φ1/\varphi if and only if m≥4m \ge 4. The first admissible denominator is n=12n = 12, with α10(12)=7/11≈0.6364\alpha_{10}(12) = 7/11 \approx 0.6364.

Proof. By Theorem 7 the integer threshold is m≥3m \ge 3. Since 3∉S103 \notin \mathcal{S}_{10}, the smallest admissible value is m=4=22m = 4 = 2^{2}. ◻

Why the Prime Three

Theorem 7 shows that among denominators n=3mn=3m with m∈S10m\in\mathcal S_{10}, the golden threshold produces a clean classification. We now show this is independent of decimal notation. The alignment formula extends to every base bb and prime p∤bp\nmid b with b≡1(modp)b\equiv1\pmod p, and within that class the prime 33 is selected by the reciprocal-golden criterion.

Theorem 10 (General prime threshold). Let b≥2b \ge 2, let p∤bp \nmid b be a prime with b≡1(modp)b \equiv 1 \pmod p. Then, for every m∈Sbm\in\mathcal S_b, αb(pm)  =  2m−1pm−1.\alpha_b(pm) \;=\; \frac{2m - 1}{pm - 1}. There exists an m∈Sbm\in\mathcal S_b satisfying αb(pm)≥1/φ\alpha_b(pm)\ge1/\varphi if and only if p∈{2,3}p\in\{2,3\}. Among odd primes this holds only for p=3p=3, with threshold m≥φ2=φ+1m \ge \varphi^{2} = \varphi + 1. For p≥5p \ge 5, no positive m∈Sbm\in\mathcal S_b satisfies αb(pm)≥1/φ\alpha_b(pm) \ge 1/\varphi.

Proof. Choose s≥0s \ge 0 with m∣bsm \mid b^{s} and set u=bs/mu = b^{s}/m. Since every prime factor of mm divides bb and p∤bp \nmid b, we have p∤mp \nmid m, and hence p∤up \nmid u. Then kpm  =  kupbs,\frac{k}{pm} \;=\; \frac{ku}{p b^{s}}, so the base-bb expansion of k/(pm)k/(pm) is obtained from that of ku/pku/p by shifting the radix point ss places. The repetend of k/(pm)k/(pm) is therefore determined by the residue of kuku modulo pp.

Since b≡1(modp)b \equiv 1 \pmod p, we have ordp(b)=1\mathop{\mathrm{ord}}_p(b) = 1, so every nonzero residue class modulo pp yields a one-digit repetend. Write b=1+cpb = 1 + cp with c≥1c \ge 1. For 1≤j≤p−11 \le j \le p-1, the one-digit repetend of j/pj/p is ⌊bjp⌋  =  ⌊cj+jp⌋  =  cj,\left\lfloor \frac{bj}{p} \right\rfloor \;=\; \left\lfloor cj + \frac{j}{p} \right\rfloor \;=\; cj, since 1≤j≤p−11 \le j \le p-1 gives 0<j/p<10 < j/p < 1. Thus distinct nonzero residues modulo pp give distinct one-digit repetends. Since p∤up \nmid u, multiplication by uu permutes the nonzero residues.

Write k=pq+rk = pq + r with r∈{0,1,…,p−1}r \in \{0, 1, \ldots, p-1\}. If r=0r = 0, then k/(pm)=q/mk/(pm) = q/m terminates. If r≠0r \ne 0, then ku≡ru(modp)ku \equiv ru \pmod p, and the map r↦rur \mapsto ru is a bijection on {1,…,p−1}\{1, \ldots, p-1\}. Hence the p−1p-1 nonzero residues produce p−1p-1 distinct one-digit repetends, exactly one of which (from r=1r = 1) matches the repetend of 1/(pm)1/(pm).

So the aligned elements are the m−1m-1 multiples of pp and the mm integers congruent to 1(modp)1 \pmod p, giving (m−1)+m=2m−1(m-1) + m = 2m-1 out of pm−1pm-1.

For the threshold, the inequality (2m−1)/(pm−1)≥1/φ(2m - 1)/(pm - 1) \ge 1/\varphi reduces to m(2φ−p)  ≥  φ−1.m(2\varphi - p) \;\ge\; \varphi - 1. Since 2<5<32<\sqrt5<3, we have 3<2φ<43<2\varphi<4. The primes below 2φ2\varphi are exactly 22 and 33. For p=2p = 2 the alignment formula gives αb(2m)=(2m−1)/(2m−1)=1\alpha_b(2m) = (2m-1)/(2m-1) = 1 for all mm, so the threshold is exceeded trivially. For p=3p = 3 the threshold is m≥φ2m \ge \varphi^{2}, as in Theorem 7. Such an admissible value always exists. The congruence b≡1(mod3)b\equiv1\pmod3 gives b≥4b\ge4, and m=bm=b belongs to Sb\mathcal S_b. If p≥5p \ge 5, then 2φ−p<02\varphi - p < 0, so dividing reverses the inequality and gives m  ≤  φ−12φ−p  <  0,m \;\le\; \frac{\varphi - 1}{2\varphi - p} \;<\; 0, which has no positive integer solutions. ◻

Among odd primes, p=3p = 3 is therefore the unique prime for which the golden threshold produces a non-trivial classification. The prime 22 is degenerate, since the alignment formula gives αb(2m)=1\alpha_b(2m) = 1 for all admissible mm. The critical resolution φ2=φ+1\varphi^{2} = \varphi + 1 is the algebraic signature of the selection.

Corollary 11. Let t∈(2/5, 2/3)t \in (2/5,\,2/3). Under the hypotheses of Theorem 10, the inequality αb(pm)≥t\alpha_b(pm) \ge t admits an admissible positive integer solution m∈Sbm \in \mathcal{S}_b if and only if p∈{2,3}p \in \{2, 3\}. Among odd primes, this occurs only for p=3p = 3.

Proof. For p=2p = 2, the alignment formula gives αb(2m)=1\alpha_b(2m) = 1, so the inequality holds for all admissible mm. For p=3p = 3, since t<2/3t < 2/3 and the alignment increases monotonically toward 2/32/3, sufficiently large admissible m∈Sbm \in \mathcal{S}_b satisfy the inequality. Such values are unbounded because br∈Sbb^r\in\mathcal S_b for every r≥0r\ge0. For p≥5p \ge 5, αb(pm)<2/p≤2/5<t\alpha_b(pm) < 2/p \le 2/5 < t, so no positive integer mm satisfies the inequality. ◻

Remark 12. The p=3p=3 specialization holds in any base b≥2b \ge 2 satisfying b≡1(mod3)b \equiv 1 \pmod 3, namely b∈{4,7,10,13,16,19,…}b \in \{4, 7, 10, 13, 16, 19, \ldots\}. If 3∣b3 \mid b, then the p=3p = 3 case is absorbed into the terminating part, and this one-digit periodic mechanism does not apply. Other primes may satisfy the theorem’s hypotheses depending on the base. Within the stated hypotheses, the algebraic calculation is independent of the base; its applicable range is not.

The Self-Referential Cubic

The golden crossing at p=3p=3 occurs at the real scale m=φ2=1/τ2m=\varphi^2=1/\tau^2, where τ=1/φ\tau=1/\varphi. This equality suggests the reciprocal-square condition m∗(τ,p)=1/τ2m^*(\tau,p)=1/\tau^2. It is an additional condition on the real alignment profile, chosen from the observed equality. The classification below determines exactly which prime thresholds satisfy it. The real critical scale is distinct from the first admissible integer multiplier.

Definition 13. For a prime p≥3p \ge 3 and a threshold τ\tau with 0<τ<2/p0 < \tau < 2/p, the critical resolution is the positive real value m∗(τ,p)m^{*}(\tau, p) at which (2m−1)/(pm−1)=τ(2m - 1)/(pm - 1) = \tau. Solving for mm gives m∗(τ,p)  =  1−τ2−pτ.m^{*}(\tau, p) \;=\; \frac{1 - \tau}{2 - p\tau}. The classification at (τ,p)(\tau, p) is self-referential if the critical resolution equals the reciprocal square of the threshold. m∗(τ,p)  =  1τ2.m^{*}(\tau, p) \;=\; \frac{1}{\tau^{2}}.

Remark 14. For p=2p = 2 the alignment formula gives αb(2m)=1\alpha_b(2m) = 1 for all mm, so the critical resolution is not defined in the same sense. We treat p=2p = 2 separately.

The self-referential condition requires τ\tau to satisfy τ3−τ2−pτ+2  =  0.\tau^{3} - \tau^{2} - p\tau + 2 \;=\; 0. Write fp(τ)=τ3−τ2−pτ+2f_p(\tau)=\tau^{3}-\tau^{2}-p\tau+2. Although the self-referential threshold was defined only for primes p≥3p\ge3, the same polynomial can be evaluated at the degenerate prime p=2p=2 for the factorization comparison below. For p≥3p\ge3, it satisfies fp(0)=2>0f_p(0)=2>0 and fp(1)=2−p<0f_p(1)=2-p<0, so (1) admits a root in (0,1)(0, 1) for every such pp.

Lemma 15. For p≥3p \ge 3, the root of (1) in (0,1)(0,1) is unique, and the corresponding critical resolution m∗m^* is positive.

Proof. On [0,1][0,1] we have fp′(τ)=3τ2−2τ−pf_p'(\tau) = 3\tau^2 - 2\tau - p. Since 3τ2−2τ≤13\tau^2 - 2\tau \le 1 on this interval and p≥3p \ge 3, we get fp′(τ)≤1−3<0f_p'(\tau) \le 1 - 3 < 0. Hence fpf_p is strictly decreasing on [0,1][0,1], and the root is unique. Moreover, fp(2/p)=4(2−p)/p3<0f_p(2/p) = 4(2-p)/p^3 < 0, so the root lies in (0,2/p)(0, 2/p). Since τ<2/p\tau < 2/p implies 2−pτ>02 - p\tau > 0, the critical resolution m∗=(1−τ)/(2−pτ)m^* = (1-\tau)/(2-p\tau) is positive. ◻

What distinguishes p=3p = 3 is not the existence of a solution but its algebraic nature.

Theorem 16. For prime pp, the polynomial fpf_p factors over Q\mathbb{Q} if and only if p∈{2,3,5}p \in \{2, 3, 5\}, with factorizations p=2:(τ−1)(τ2−2),p=3:(τ−2)(τ2+τ−1),p=5:(τ+2)(τ2−3τ+1).\begin{aligned} p = 2: &\quad (\tau - 1)(\tau^{2} - 2), \\ p = 3: &\quad (\tau - 2)(\tau^{2} + \tau - 1), \\ p = 5: &\quad (\tau + 2)(\tau^{2} - 3\tau + 1). \end{aligned} For p≥7p \ge 7, the cubic is irreducible over Q\mathbb{Q}.

Proof. Direct expansion gives (τ−1)(τ2−2)=τ3−τ2−2τ+2,(τ−2)(τ2+τ−1)=τ3−τ2−3τ+2,(τ+2)(τ2−3τ+1)=τ3−τ2−5τ+2.\begin{aligned} (\tau-1)(\tau^2-2) &=\tau^3-\tau^2-2\tau+2,\\ (\tau-2)(\tau^2+\tau-1) &=\tau^3-\tau^2-3\tau+2,\\ (\tau+2)(\tau^2-3\tau+1) &=\tau^3-\tau^2-5\tau+2. \end{aligned} By the rational root theorem, the possible rational roots of fpf_p are ±1,±2\pm 1, \pm 2. Direct evaluation gives fp(1)=2−pf_p(1) = 2 - p, fp(−1)=pf_p(-1) = p, fp(2)=6−2pf_p(2) = 6 - 2p, fp(−2)=2p−10f_p(-2) = 2p - 10. These vanish at p=2,3,5p = 2, 3, 5 respectively; fp(−1)=pf_p(-1)=p never vanishes at a prime. For p≥7p \ge 7 no rational root exists. Since a reducible cubic over Q\mathbb{Q} has a rational root, this proves irreducibility for p≥7p \ge 7. ◻

The case p=2p = 2 yields τ=1\tau = 1 (the interval boundary) and τ=±2\tau = \pm\sqrt{2}, all outside (0,1)(0,1), so no self-referential threshold arises. The two non-trivial factorizations are at p=3p = 3 and p=5p = 5.

Theorem 17. The self-referential thresholds at p=3p = 3 and p=5p = 5 are τ(3)  =  5−12  =  1φ,τ(5)  =  3−52  =  1φ2.\tau(3) \;=\; \frac{\sqrt{5} - 1}{2} \;=\; \frac{1}{\varphi}, \qquad \tau(5) \;=\; \frac{3 - \sqrt{5}}{2} \;=\; \frac{1}{\varphi^{2}}. Both lie in the golden field Q(5)\mathbb{Q}(\sqrt{5}). They are consecutive powers of 1/φ1/\varphi.

For p≥7p \ge 7, the self-referential threshold is a cubic irrational and lies in no quadratic field.

Proof. The quadratic factors at p=3p = 3 and p=5p = 5 have discriminants 1+4=51 + 4 = 5 and 9−4=59 - 4 = 5 respectively, so their roots lie in Q(5)\mathbb{Q}(\sqrt{5}). Put ρ=5−12.\rho=\frac{\sqrt5-1}{2}. Then ρ2+ρ−1=0\rho^2+\rho-1=0, so substitution into the p=3p=3 factor shows f3(ρ)=0f_3(\rho)=0. Since 0<ρ<10<\rho<1 and ρ=1/φ\rho=1/\varphi, uniqueness gives τ(3)=1/φ\tau(3)=1/\varphi.

Now put σ=ρ2=(3−5)/2\sigma=\rho^2=(3-\sqrt5)/2. Direct substitution gives σ2−3σ+1=0\sigma^2-3\sigma+1=0, so f5(σ)=0f_5(\sigma)=0. Since 0<σ<10<\sigma<1, uniqueness gives τ(5)=σ=1/φ2\tau(5)=\sigma=1/\varphi^2.

For p≥7p \ge 7, irreducibility by Theorem 16 forces the roots into a cubic extension of Q\mathbb{Q}, which cannot embed in any quadratic field. ◻

Corollary 18. Among self-referential thresholds associated to primes, the only one lying in the separating interval (2/5, 2/3)(2/5,\,2/3) is τ=1/φ\tau = 1/\varphi, occurring at p=3p = 3.

Proof. The case p=2p = 2 produces no threshold in (0,1)(0,1). For p=3p = 3, Theorem 17 gives 2/5<τ=1/φ<2/32/5<\tau=1/\varphi<2/3. Both inequalities are exact. 55>95\sqrt5>9 and 35<73\sqrt5<7, whose squares are 125>81125>81 and 45<4945<49. For p=5p=5, the threshold satisfies 1/φ2<2/51/\varphi^2<2/5 because 55>115\sqrt5>11, whose square is 125>121125>121. For p≥7p \ge 7, Lemma 15 gives τ<2/p≤2/7<2/5\tau < 2/p \le 2/7 < 2/5. Thus no other prime contributes a self-referential threshold in (2/5, 2/3)(2/5,\, 2/3). ◻

Corollary 19. The minimal polynomial of the reciprocal golden ratio τ=1/φ\tau = 1/\varphi, namely τ2+τ−1\tau^{2} + \tau - 1, divides the self-referential cubic if and only if p=3p = 3. The resulting identity is τ4  =  2−3τ,\tau^{4} \;=\; 2 - 3\tau, where 33 is the unique prime annihilating the remainder of the polynomial division.

Proof. Dividing τ3−τ2−pτ+2\tau^{3} - \tau^{2} - p\tau + 2 by τ2+τ−1\tau^{2} + \tau - 1 gives quotient τ−2\tau - 2 and remainder (3−p)τ(3 - p)\tau. The remainder vanishes iff p=3p = 3. The identity τ4=2−3τ\tau^{4} = 2 - 3\tau then follows from τ2=1−τ\tau^{2} = 1 - \tau (valid for τ=1/φ\tau = 1/\varphi, the positive root of τ2+τ−1\tau^2 + \tau - 1). ◻

At p=3p=3, the threshold lies below its alignment limit 2/32/3 and inside the separating interval (2/5,2/3)(2/5,2/3). At p=5p=5, the threshold 1/φ21/\varphi^2 lies below its alignment limit 2/52/5 and outside that interval. Exactly these two prime-associated reciprocal-square thresholds lie in Q(5)\mathbb Q(\sqrt5). For every prime p≥7p\ge7, the threshold has degree three over Q\mathbb Q and belongs to no quadratic field.

References

[1]E. Midy, De quelques propriétés des nombres et des fractions décimales périodiques, Nantes, 1836.

[2]W. G. Leavitt, A theorem on repeating decimals, Amer. Math. Monthly 74 (1967), no. 6, 669–673.

[3]G. H. Hardy and E. M. Wright, An Introduction to the Theory of Numbers, 6th ed., Oxford University Press, 2008.

[4]T. Koshy, Fibonacci and Lucas Numbers with Applications, vol. 1, 2nd ed., Wiley, 2017. https://doi.org/10.1002/9781118742327.

[5]A. S. Petty, nfield, software repository. https://github.com/alexspetty/nfield