Why the Golden Ratio Selects the Prime Three
Cite this paper
A. S. Petty, Why the Golden Ratio Selects the Prime Three, DOI: 10.5281/zenodo.20399951.
Abstract
For denominators with and integers, the proper fractions split into three residue classes. Counting terminating fractions together with those whose repetend matches gives the alignment This exceeds , where , exactly when in the supported family. The real crossing occurs at . In a base with prime, the same count for -supported gives . Among odd primes only can cross the golden threshold; prime two has alignment one.
The reciprocal-square condition on the real critical resolution yields the cubic . For prime parameters it factors over exactly at . Its thresholds at and are and ; at primes they have degree three and lie in no quadratic field. Among prime-associated thresholds satisfying this condition, is the unique value in .
The Three Classes at Twelve
Of the eleven proper fractions with denominator twelve, three terminate, four repeat the digit , and four repeat the digit . The reference fraction belongs to the first repeating class. Counting the three terminating fractions together with the four matching fractions gives an alignment of . This is above the reciprocal golden ratio . At denominator six the corresponding alignment is , below that threshold.
The count comes from residues modulo three. For every denominator whose multiplier is built from powers of and , the same three classes have sizes , , and . Counting the terminating and matching classes gives . The terminating class is assigned full alignment by convention; the statistic measures membership in these two classes.
As increases, this proportion rises toward . Solving for its crossing of gives the real value , the reciprocal square of the threshold itself. The first admissible integer multiplier is , giving denominator twelve. The reciprocal-square relation leads to the question of which prime families admit the same equality.
The base- expansion of a rational number either terminates or eventually repeats. When it repeats, the shortest repeating block is called the repetend. For , the length of the repetend of equals the multiplicative order , and the repetends of the reduced fractions are organized by the orbits of acting on . Fractions within a single orbit are cyclic permutations of one another [3].
Throughout, base- expansions are taken in their canonical form. Terminating expansions are written with trailing zeros, not with an eventual string of digits equal to .
For a denominator , write . 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 were first explored computationally using nfield [5]. The threshold separation was found computationally first; the algebraic proof came later.
Definitions
Fix a base . For positive integers and with , the base- expansion of takes the form where is the non-repeating prefix and in the nonterminating case, is the repetend of length . In the terminating case we set and regard the repetend as empty.
Definition 1. A positive integer is -supported if every prime factor of divides . Equivalently, is -supported if and only if has a terminating base- expansion. We write for the set of -supported positive integers.
In base , is the set of integers of the form , the denominators with terminating decimal expansions.
Definition 2 (Synchronized repetend alignment). Let be prime, let , and put . Choose a common clearing depth with , and set . Beginning immediately after the first base- digits, compare the next digits of every with the corresponding digits of . If terminates, set . Otherwise, let be the proportion of these synchronized positions at which the digits agree. The repetend alignment is
The definition does not depend on the clearing depth. Increasing advances every nonterminating tail by the same power of , so it rotates the two length- words together and preserves their position-wise match proportion. Individual repetends are never restarted at separately chosen phases.
All alignment theorems below impose , and hence . Synchronization still fixes the digit supplied by division, even though there is no nontrivial cyclic phase in a one-digit word.
For the family with , the synchronized window has length one because .
The Three Classes
The decimal family has just two nonzero remainder states.
Lemma 3. Let with and . For each , exactly one of the alternatives (A)–(C) holds.
. Then terminates.
. Then has a one-digit repetend equal to that of .
. Then has a one-digit repetend equal to the nines complement of that of .
Proof. Choose a common clearing depth with , and put . Since , we have . At the synchronized position after depth , the reference fraction has remainder , while has remainder .
Write with . If , then terminates. If , then , so the synchronized digit agrees with the reference digit. If , then . The two nonzero remainders modulo produce the digits in one order or the other. They are nines complements. Finally, , 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 , which pairs every element of with its complement. The alignment classes correspond to the digit pair , the pair associated with the prime 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 .
The Alignment Formula and the Golden Threshold
Theorem 5. Let with and . Then
Proof. By Lemma 3, aligned elements of are those in classes (A) and (B). Class (A) contributes multiples of in . Class (B) contributes integers congruent to . Class (C), the remaining elements, contributes nothing. The total is out of . ◻
The count includes the terminating fractions. Excluding them from both the count and the normalization leaves matching fractions among nonterminating fractions, so that proportion is always . More generally, under the hypotheses of Theorem 10, the nonterminating proportion is . Including the terminating class is what makes the alignment vary with .
The normalization in Definition 2 requires ; is not assigned an alignment. The present theorem starts at . The edge case occurs in Theorem 10 with and , where the formula gives .
Corollary 6. As through , The convergence is monotone from below, since
| Decimal | |||
|---|---|---|---|
| 1 | 3 | ||
| 2 | 6 | ||
| 4 | 12 | ||
| 5 | 15 | ||
| 8 | 24 | ||
| 10 | 30 | ||
| 16 | 48 | ||
| 32 | 96 | ||
| 100 | 300 | ||
| 256 | 768 |
We now ask for which the alignment exceeds , where is the golden ratio?
Theorem 7. Let be a positive integer. Then Since , the integer threshold is .
Proof. The inequality is equivalent to , or Using and , we may divide. Rationalizing the denominator and applying yields Finally, gives , so an integer satisfies this inequality exactly when . ◻
The identity is the defining algebraic property of the golden ratio [4]. At threshold , the real crossing scale is , the reciprocal square of that threshold.
Remark 8. Under the prime and one-digit hypotheses of Theorem 10, any threshold separates the same primes, since the alignment limit exceeds only for .
Corollary 9. Among denominators with , the repetend alignment exceeds if and only if . The first admissible denominator is , with .
Proof. By Theorem 7 the integer threshold is . Since , the smallest admissible value is . ◻
Why the Prime Three
Theorem 7 shows that among denominators with , the golden threshold produces a clean classification. We now show this is independent of decimal notation. The alignment formula extends to every base and prime with , and within that class the prime is selected by the reciprocal-golden criterion.
Theorem 10 (General prime threshold). Let , let be a prime with . Then, for every , There exists an satisfying if and only if . Among odd primes this holds only for , with threshold . For , no positive satisfies .
Proof. Choose with and set . Since every prime factor of divides and , we have , and hence . Then so the base- expansion of is obtained from that of by shifting the radix point places. The repetend of is therefore determined by the residue of modulo .
Since , we have , so every nonzero residue class modulo yields a one-digit repetend. Write with . For , the one-digit repetend of is since gives . Thus distinct nonzero residues modulo give distinct one-digit repetends. Since , multiplication by permutes the nonzero residues.
Write with . If , then terminates. If , then , and the map is a bijection on . Hence the nonzero residues produce distinct one-digit repetends, exactly one of which (from ) matches the repetend of .
So the aligned elements are the multiples of and the integers congruent to , giving out of .
For the threshold, the inequality reduces to Since , we have . The primes below are exactly and . For the alignment formula gives for all , so the threshold is exceeded trivially. For the threshold is , as in Theorem 7. Such an admissible value always exists. The congruence gives , and belongs to . If , then , so dividing reverses the inequality and gives which has no positive integer solutions. ◻
Among odd primes, is therefore the unique prime for which the golden threshold produces a non-trivial classification. The prime is degenerate, since the alignment formula gives for all admissible . The critical resolution is the algebraic signature of the selection.
Corollary 11. Let . Under the hypotheses of Theorem 10, the inequality admits an admissible positive integer solution if and only if . Among odd primes, this occurs only for .
Proof. For , the alignment formula gives , so the inequality holds for all admissible . For , since and the alignment increases monotonically toward , sufficiently large admissible satisfy the inequality. Such values are unbounded because for every . For , , so no positive integer satisfies the inequality. ◻
Remark 12. The specialization holds in any base satisfying , namely . If , then the 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 occurs at the real scale , where . This equality suggests the reciprocal-square condition . 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 and a threshold with , the critical resolution is the positive real value at which . Solving for gives The classification at is self-referential if the critical resolution equals the reciprocal square of the threshold.
Remark 14. For the alignment formula gives for all , so the critical resolution is not defined in the same sense. We treat separately.
The self-referential condition requires to satisfy Write . Although the self-referential threshold was defined only for primes , the same polynomial can be evaluated at the degenerate prime for the factorization comparison below. For , it satisfies and , so (1) admits a root in for every such .
Lemma 15. For , the root of (1) in is unique, and the corresponding critical resolution is positive.
Proof. On we have . Since on this interval and , we get . Hence is strictly decreasing on , and the root is unique. Moreover, , so the root lies in . Since implies , the critical resolution is positive. ◻
What distinguishes is not the existence of a solution but its algebraic nature.
Theorem 16. For prime , the polynomial factors over if and only if , with factorizations For , the cubic is irreducible over .
Proof. Direct expansion gives By the rational root theorem, the possible rational roots of are . Direct evaluation gives , , , . These vanish at respectively; never vanishes at a prime. For no rational root exists. Since a reducible cubic over has a rational root, this proves irreducibility for . ◻
The case yields (the interval boundary) and , all outside , so no self-referential threshold arises. The two non-trivial factorizations are at and .
Theorem 17. The self-referential thresholds at and are Both lie in the golden field . They are consecutive powers of .
For , the self-referential threshold is a cubic irrational and lies in no quadratic field.
Proof. The quadratic factors at and have discriminants and respectively, so their roots lie in . Put Then , so substitution into the factor shows . Since and , uniqueness gives .
Now put . Direct substitution gives , so . Since , uniqueness gives .
For , irreducibility by Theorem 16 forces the roots into a cubic extension of , which cannot embed in any quadratic field. ◻
Corollary 18. Among self-referential thresholds associated to primes, the only one lying in the separating interval is , occurring at .
Proof. The case produces no threshold in . For , Theorem 17 gives . Both inequalities are exact. and , whose squares are and . For , the threshold satisfies because , whose square is . For , Lemma 15 gives . Thus no other prime contributes a self-referential threshold in . ◻
Corollary 19. The minimal polynomial of the reciprocal golden ratio , namely , divides the self-referential cubic if and only if . The resulting identity is where is the unique prime annihilating the remainder of the polynomial division.
Proof. Dividing by gives quotient and remainder . The remainder vanishes iff . The identity then follows from (valid for , the positive root of ). ◻
At , the threshold lies below its alignment limit and inside the separating interval . At , the threshold lies below its alignment limit and outside that interval. Exactly these two prime-associated reciprocal-square thresholds lie in . For every prime , the threshold has degree three over 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