Plectis

Long paper

The Binary Totient Series

Erdős #249 By July 2026; revised 1 October 2026 Authorship, AI use and citation

Summary. The dyadic totient sections through level e≥1 have an explicit rational basis of size 2e+1. Truncating a scaled tail difference produces an integer whose residue certifies nonintegrality when its distances from both endpoints of the residue interval exceed an explicit error bound. The record develops the resulting finite denominator exclusions, equivalent residue criteria, and sufficient exponential-sum estimates. Rational comparison sequences identify the limitations of particular size, parity, rank, and finite-prefix arguments. The short paper supplies the all-base basis theorem; here each conditional result carries the arithmetic hypothesis still needed to apply it. Those hypotheses are not established in the form required to prove irrationality of S=∑ φ(n)2−n.

This paper covers a claim-bounded problem-specific reasoning surface for Erdős #249: selected checked premises, finite certificates, closed routes, surviving obligations, and their exact evidence bands.

It does not establish the validity of claims tagged Lean, which belongs to the cited kernel-checked source, or a solution to Erdős #249, which remains open.

In this paper

Further exact identities

We now bound the errors in expansions of tail differences, without assuming residue separation. Such bounds determine whether a proposed rational centre stays far enough from the integers after the omitted terms are restored.

Proposition 6.78 (The exact totient difference on an LCM progression). Put H=H(t). For every j≥0, the arithmetic expression in the piecewise form given below equals δt(j)=φ(2H+j)−φ(H+j). For a divisor j∣H, this assertion contains a useful product formula, not merely a change of notation. Set

a=H/j,g1=gcd(j,a+1),g2=gcd(j,2a+1).

Then

δt(j)=φ(j)(g2φ(2a+1)φ(g2)−g1φ(a+1)φ(g1)).

Here j≥1 because H>0, so both denominators are nonzero. The identity follows from φ(jx)=φ(j)φ(x)gcd(j,x)/φ(gcd(j,x)), which retains all primes shared by j and x. If every prime dividing j also divides a, then g1=g2=1, and the formula reduces to φ(j)(φ(2a+1)−φ(a+1)). For example, at H=j=2 the two gcds are g1=2 and g2=1; the exact difference is φ(6)−φ(4)=0, whereas discarding the gcd factors would give 1. For j∤H, that expression is the literal totient difference. Thus no coprimality assumption is imposed on the full expression.

Proposition 6.79 (A lower bound for the totient of a rough integer). Let a≥8, set t=2a, and let n>0 be an integer all of whose prime factors exceed t. If n<22t, then n has fewer than t/4 distinct prime factors and

φ(n)>34n.

If n has r distinct prime factors, then n≥tr=2ar, so ar<2t and r<t/4 because a≥8. For the second, use φ(n)/n=∏p∣n(1−1/p)≥1−∑p∣n1/p>3/4. These are bounds for rough integers in the stated size range; they are not pointwise bounds for arbitrary totient values.

Proposition 6.80 (Positivity of the short-window differences). For a≥8 and 1≤j<2⋅2a,

δ2a(j)=φ(2H2a+j)−φ(H2a+j)>0.

The proof treats divisor offsets and the exceptional prime-power offsets separately, using multiplicativity and the rough-integer estimate of Proposition 6.79. No rationality hypothesis is used. Positivity of these finitely many coefficients contributes to the later sign theorem; a bound for the remaining infinite tail is still needed to obtain that theorem.

Proposition 6.81 (The accumulated sum is the discrepancy). For all t,L∈N, the weighted diagonal sum is exactly

∑j=1Lδt(j)2L−j=D(H(t),H(t),L).

Thus its two-sided residue inequality is precisely C(H(t),H(t),L). The equality follows term by term from the definition of δt. A separate restriction on L, when present, remains part of the hypothesis; this identity does not supply such a restricted-depth witness.

Proposition 6.82 (A global-to-local identity).

Ωa=2H(2H−1)(∑n′φ(n)/2n)−(Φ2H−ΦH),H=H(2a).

Thus a separation estimate for Ωa is an estimate for this integer translate of a multiple of S. The identity does not require other rational-approximation arguments to use this particular translate.

Proposition 6.83 (A rational approximation with an error bound). For all a,q∈N, with H=H2a and the finite ρa,q defined above,

|Ωa−ρa,q|<εa,q=2H+2q+322q+1.

The triangle inequality transfers a separation estimate between the real tail and its rational approximation at the cost of this error. The bound tends to zero with q for fixed a; no assertion of optimality is made.

Proposition 6.84 (Unconditional positivity). For a≥8, J+(a+6)<2⋅2a:

0<R2H+J−RH+J,H=H(2a),

with no irrationality hypothesis; the true, infinite, real translated tail difference is strictly positive throughout almost the entire short window, proved unconditionally from Prop. 6.80 plus a directed one-sided tail bound. Any argument about the sign of the actual orbit (not merely its residue mod 2L) must agree with this; specialised at J=0 this gives 0<Ωa.

Proposition 6.85 (The residue forced by integrality). Let a,J,K∈N, a≥8, H=H(2a), and assume

J+K+(a+6)<2⋅2a,2H+J+K+2<2K.

If R2H+J−RH+J∈Z, then

D(H,H+J,K)mod2K=2K−(R2H+J+K−RH+J+K),0<R2H+J+K−RH+J+K<2H+J+K+2.

The later tail difference is a positive integer. Its negative is the representative near zero, while the least nonnegative residue lies near 2K. Positivity alone therefore does not prove nonintegrality; a separate estimate must exclude this upper interval.

Proposition 6.86 (The penultimate term of a partial divisibility pattern). Let a,J,K,m∈N, a≥8, H=H2a and B=2H+J+K+2. Suppose that

0<m≤K,J+K+a+6<2⋅2a,B<2m,δ2a(J+K)≤2m−B,2r+1∣δ2a(J+K−m+r+1)(0≤r, r+1<m).

Then

δ2a(J+K−1)=2m−1,2m<2B.

Indeed, B≥4 and B<2m force m≥3. The penultimate divisibility, positivity, and the bound δ2a(J+K−1)<B<2m leave 2m−1 as its only possible value. Thus the modulus lies in the strict interval B<2m<2B; there is at most one possible power of two. The value fixed at 2m−1 is the penultimate difference. The terminal difference δ2a(J+K) instead satisfies the separate upper bound in the hypotheses. These restrictions are necessary for the specified pattern; the proposition does not construct such patterns at arbitrarily large a.

Proposition 6.87 (An equivalent test using two residue bits). For every h,N∈N, existence of a certificate at some depth is equivalent to the following explicit condition:

∃s,b∈N,C(h,N+s,b+1)or{N+s+h+b+4<2b,2b≤D(h,N+s,b+2)mod2b+2<3⋅2b.

The last interval says that the two leading bits are 01 or 10. The proof uses the first successful certificate of depth L and may take b=⌊log2⁡(N+h+L+2)⌋+1. Since b depends on that unknown L, the equivalence is not an a priori bound on the search depth. The proof uses the finite tail recurrence and its size bound; it supplies no totient-specific assertion that a witness exists.

Proposition 6.88 (The factor in a second difference). Let a≥4 and j≥1 be integers with j2≤2a, and put Ha=H(2a)=lcm⁡(1,…,2a). Then

2φ(j)∣φ(3Ha+j)−2φ(2Ha+j)+φ(Ha+j).

To see the factor, set A=Ha/j. The square bound ensures that j∣Ha and that every prime divisor p of j also divides A: indeed, pj≤j2≤2a implies pj∣Ha. Consequently gcd(j,qA+1)=1 for q=1,2,3, and the displayed difference equals

φ(j)(φ(3A+1)−2φ(2A+1)+φ(A+1)).

Also 2j≤2a, so 2j∣Ha and A≥2 is even. The three arguments qA+1 are therefore odd and greater than two, and all three totients are even. This proves the extra factor of two. The divisibility is a lower bound, not an exact valuation at each LCM height. The different family in Observation 6.108 does not satisfy these LCM and square-window hypotheses, so it does not establish sharpness within this restricted family.

Proposition 6.89 (Carry displacement and tail integrality). For a positive integer v and an integral totient carry u with u(N)/2N→0,

v∣u(N+k)−u(N)⟺RN+k−RN∈Z.

The recurrence and the limit identify u(N)=vRN, so the difference is v(RN+k−RN). This tests divisibility of a carry difference and gives no dimension bound for the carry sections. For another coefficient sequence, the same argument applies once its carry is identified with its scaled tail under the corresponding recurrence and limit.

Proposition 6.90 (A consequence of rationality and its limitation). If S∈Q, there are a positive integer v and an integer carry sequence u, with u(N)/2N→0, whose retained sections through every level e have rational rank at least 2e−1. At the same time, those sections are uniformly eventually periodic modulo v. Periodicity after reduction modulo v is a statement in a finite quotient; it is not a rank upper bound over Q. Proposition 6.76 gives the lower bound, while the rational comparison sequence explains why a general rank upper bound cannot be deduced from these recurrence assumptions alone.

Proposition 6.91 (A totient difference congruent to two modulo four). For every positive integer h and every B∈N, there is a prime p>B such that

φ(p+4h)−φ(p)≡2(mod4).

To construct p, set H=4h, choose a prime r>H with r≡1(mod4), and use Dirichlet’s theorem in the progression p≡3r−H(mod4r). This progression is reduced: its residue is odd and is −H≢0(modr). Then p≡3(mod4), so φ(p)=p−1≡2(mod4), whereas r∣p+H gives 4∣φ(p+H). Subtracting gives the stated congruence. This supplies the arithmetic congruence at arbitrarily large primes; the additional finite exclusion in Proposition 6.70 remains a separate hypothesis.

Proposition 6.92 (A prescribed residue after a long divisibility block). Let K≥2 and H>K be integers. For every B∈N there is a prime p>max(B,H+K) such that

p≡1+2K−1(mod2K),2K∣φ(p+H),2K∣φ(p−j),2K∣φ(p−j+H)(1≤j<K).

The construction uses 2K−1 distinct auxiliary primes congruent to 1(mod2K): one for p+H, and two for each of the K−1 preceding positions. Choose them larger than max(H+K,2K). For the first prime impose p≡−H; for the pair at position j impose p≡j and p≡j−H, respectively. These nonzero residues, together with the displayed odd residue modulo 2K, combine by the Chinese remainder theorem into a reduced progression. Dirichlet’s theorem then supplies arbitrarily large prime values of p. Each auxiliary prime contributes the required factor 2K to the corresponding totient.

Thus the first K−1 totient differences in the window starting at p−K vanish modulo 2K, while the last is 2K−1 modulo 2K. Consequently

D(H,p−K,K)≡2K−1(mod2K).

If RN+H−RN∈Z for every N≥N0, choose such a prime with p≥N0+K. Iterating the carry recurrence from p−K then gives

Rp+H−Rp∈Z,Rp+H−Rp≡2K−1(mod2K).

The initial integer is multiplied by 2K and disappears only after reduction modulo 2K. This does not bound its higher quotient. The condition H>K is part of the construction; it does not provide arbitrarily large K for one fixed shift H.

Proposition 6.93 (A Möbius-inversion formula for the tail).

For N∈N and d≥1, let rd(N)=d−(Nmodd) and qd(N)=⌊N/d⌋+1. Thus rd(N) is the distance to the next strictly larger multiple of d, so 1≤rd(N)≤d. Möbius inversion gives

RN=∑d≥1μ(d)2d−rd(N)(qd(N)2d−1+1(2d−1)2).

Indeed, substitute φ(n)=∑d∣nμ(d)n/d and group by d. Its multiples after N have quotients qd(N)+ℓ and forward distances rd(N)+dℓ, for ℓ≥0; summing the two geometric series gives the formula. Absolute convergence justifies the regrouping, since the sum of the absolute divisor contributions at n is at most ∑d∣nn/d≤n2, and ∑n>Nn22N−n<∞. This identity is available for later transformations; it does not assert that every Möbius or Lambert-series argument must use it.

Proposition 6.94 (Explicit finite examples). The finite certificates C(H16,H16,23) and C(H64,H64,93) imply Ω4,Ω6∉Z. Both satisfy the short-window restriction, since 23<32 and 93<128. They are the certificates at t=16 and t=64 in the diagonal table of Section 5.7. These are two explicit instances of the desired condition, not the start of a proved induction or a claim that no other finite instances can be checked.

Proposition 6.95 (The necessary depth). Every certificate C(h,N,L) satisfies

2(N+h+L+2)<2L.

The two endpoint margins must fit inside an interval of length 2L. In particular, successful depths grow at least logarithmically with N+h. This is a necessary lower bound, not an upper bound for the first successful depth. The later two-bit reformulation applies at its stated modulus and does not reverse this implication.

Proposition 6.96 (Rationality gives an eventual tail period). Suppose S=a/(2cv) in lowest terms, where a∈Z, c≥0 and v≥1 is odd. Take h=φ(v), including h=1 when v=1. Euler’s theorem gives v∣2h−1, so

2N(2h−1)S∈Z(N≥c).

The identity relating S to its scaled tails therefore gives RN+h−RN∈Z for every N≥c. These are explicit witnesses for the eventual period asserted in Proposition 6.71. To use the finite residue test against a hypothetical rational value, one must obtain a nonintegral difference for its period at an index beyond its preperiod. Soundness proves that the quantified certificate condition rules out rationality. Conversely, the prefix-tail identity makes every positive-shift tail difference nonintegral when S is irrational, and pointwise completeness (Theorem 6.19) then supplies a depth. Proposition 6.81 only identifies the weighted diagonal sum with D; it is not the completeness argument and supplies no depth bound.

Proposition 6.97 (Tail integrality on an LCM grid). If S∈Q, there is t1∈N such that for all t≥t1, q≥1 and m≥0,

R(q+m)H(t)−RqH(t)∈Z.

The threshold may depend on the hypothetical rational value. A certificate at one fixed scale therefore gives a finite denominator exclusion, not irrationality. Proposition 6.73 requires certificates at arbitrarily large scales, so that one lies beyond the threshold supplied by any such rational value.

Proposition 6.98 (Independence of the retained dyadic family). For every e≥0, the auxiliary canonical dyadic family has 2e+1 indexed sections, and these sections are linearly independent over Q. The CRT–Dirichlet argument is explained in Section 10.8. For e≥1 the family is a basis for all sections through level e. At e=0 the auxiliary family still contains both φ(n) and φ(2n), so it is not the actual level-zero truncation, whose dimension is one. No rationality hypothesis on S is used.

Proposition 6.99 (The exact range of the stated Farey-gap inequality). Let V be the totient residue at (N,K)=(1,240) defined in Section 5.3. For every integer q satisfying

1≤q≤79639646646701375323355774875831053,

one has

(qV)mod2240+243q<2240.

The first failure occurs at

q=79639646646701375323355774875831054,

obtained from the stated Farey mediant. Thus the range is exact for this particular inequality. It is not an optimality claim among all denominator-exclusion tests. The preceding range gives the exclusion in Proposition 6.100, approximately 7.96×1034.

Proposition 6.100 (The resulting denominator exclusion). For every reduced fraction a/q, with a∈Z and q≥1,

q≤79639646646701375323355774875831053⟹S≠a/q.

This is an unconditional finite denominator exclusion. It does not assume certificates at arbitrarily large scales, as required by Proposition 6.71. Conversely, excluding this finite range does not rule out rational values with larger reduced denominators.

Proposition 6.101 (Two general irrationality criteria). Let x∈R. One sufficient condition is a sequence of reduced fractions uj=aj/qj, qj≥1, with uj≠x for all sufficiently large j and

qj|x−uj|⟶0.

Another is that, for every integer Q≥1, there exist m,z∈Z such that

0<|mx−z|<1/Q.

Indeed, if x=a/b is reduced with b>0, every nonzero error in the first condition is at least 1/(bqj), and every nonzero error in the second is at least 1/b. The strict lower bounds exclude exact rational hits. Requiring m=b0n for a fixed integer base b0≥2 is a stronger sufficient condition, not a reformulation valid for every irrational number. The binary example in Proposition 6.23 explains this distinction.

Proposition 6.102 (Lambert identities involving S). For L(f)=∑n≥1f(n)/(2n−1), the identities are L(μ)=1/2, L(φ)=2, L(1)=E and L(φ∗μ)=S. The last identity rewrites the same unknown value; it does not deduce its irrationality from that of E. The value L(Id)=∑m≥1σ(m)/2m is transcendental by Nesterenko [13]. These examples show that Lambert-series form alone does not determine arithmetic status. The individual comparisons are in Proposition 6.43 and its table.

Proposition 6.103 (A general rational gap bound). If a/b<c/d are reduced fractions with b,d>0, then

1bd≤cd−ab,

since bc−ad is a positive integer. In particular, if S=a/b and pN/qN<S is a reduced rational approximation with positive error at most εN, then

b≥1qNεN.

These lower bounds tend to infinity precisely when qNεN→0; a subsequence with this property is enough to contradict a fixed b. A tail bound by itself does not imply this. For example, the ordinary dyadic prefix has denominator dividing 2N and tail at most (N+2)2−N. Using only these two bounds yields b≥1/(N+2), which is vacuous. The rational-spacing lemma can convert sharper error and denominator information into an exclusion; it does not automatically improve the Farey bound in Proposition 6.99.

Proposition 6.104 (Diagonal certificates through 82). The current aggregate establishes

∀t∈N,t≤82 ⟹ Pt,

where Pt is the diagonal certificate predicate in Proposition 6.72. The earlier aggregate covered 28 explicit cases through 64, including 1,2,3,4,5,7,8,9,11,13,16,17; the later theorem fills the gaps and extends the range through 82. Each instance reduces to exact finite arithmetic with the displayed totient values, using the prime-power factorisations and Lucas primality certificates in the source. This proves neither P83 nor infinitely many instances, and therefore does not establish the quantified conditions in Propositions 6.71, 6.72 and 6.73.

Proposition 6.105 (A coprime-pair expression for S). For n≥0, the number of integer pairs a≥1, b≥0 with a+b=n and gcd(a,b)=1 is φ(n), with φ(0)=0. Indeed, b=n−a and gcd(a,n−a)=gcd(a,n). The boundary case n=1 contributes (a,b)=(1,0); it disappears when both coordinates are required to be positive. Consequently,

∑a,b≥1gcd(a,b)=12−(a+b)=S−12.

For independent random variables X,Y with Pr(X=n)=Pr(Y=n)=2−n, n≥1, the left side is Pr(gcd(X,Y)=1). Thus S−1/2 has a coprimality-probability interpretation. This identity does not supply an estimate for the binary digits or tail residues used elsewhere in the paper.

About this paper

Authorship and AI use. Will Cook built and directed the research infrastructure and maintains the public release. He reviewed claims when he could. AI agents did most of the research and drafting. Cook did not independently verify every claim.

Cite and contact. Cite this paper by its title, author and date above, with its PDF; cite the earlier sources it uses for a mathematical result. For software, use the release citation and give the commit used. Contact Will with questions or corrections.

Prefer the manuscript?

Equations typeset from the exact TeX. Rendered from the LaTeX manuscript source with file fingerprint sha256:2be13b340f9dafc4. Its file fingerprint matched the published source record, so the PDF above, the LaTeX, and this page are one manuscript. Redeploying the site regenerates this page from whatever the public repository holds at that moment.