Plectis

Long paper

Prime-Gap Dyadic Series: Perturbations, Exact Criteria and Certificates

Summary. A convergent dyadic series with nonnegative integer coefficients can be made rational by sparse nonnegative corrections of upper Banach density zero, eventually bounded by any f(n)→∞, while preserving every fixed modulus and, for a logarithmic allowance, short-block empirical distributions. For prime gaps the cumulative positions remain asymptotic to n log n; no primality conclusion is asserted. Summation by parts reduces the prime series to the gap series, and the tails TN=∑j≥1gN+j2−j satisfy TN+1=2TN−gN+1. That recurrence characterises rationality and yields finite tests with explicit remainder bounds. An exact finite certificate shows that a rational value of the prime series would have denominator at least 239998>1012040. The bound does not establish irrationality.

This paper covers the complete problem-specific reasoning surface for Erdős #251, including all registered result families and their boundaries.

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

In this paper

The tail recurrence and the exact criteria

We rescale each tail so that its first denominator is again 2. For a convergent series ∑i≥0ai2−i−1 with ai∈Z, put

TN=2N+1∑i>Nai2−i−1=aN+12+aN+24+⋯.

Thus TN starts with coefficient aN+1, not aN. Doubling and removing that first coefficient gives TN+1=2TN−aN+1. Modulo integers, a step is simply doubling; the detailed values of the integer coefficients disappear. This is why the recurrence gives a rationality criterion for arbitrary integer coefficients.

At N=0 we have T0=2∑i≥0ai2−i−1−a0. In particular, for the prime gaps T0=2S−1=2Π−5, so T0, S and Π have the same rationality status. We first analyse the recurrence abstractly. We then impose the vanishing boundary condition that singles out complete tails and apply the criterion to these prime-gap tails.

Definition 5.1. Let g:N→Z and T:N→Q or T:N→R. Say T satisfies the dyadic tail recurrence with coefficients g when TN+1=2TN−gN+1 for every N. Write σh(N)=TN+h−TN for the shift of length h at N, and call a real number integral when it belongs to Z.

For a complete-tail example, take gn=2 for odd n≥1 and gn=4 for even n≥1. Its complete tail at index 0 is T0=(2/2+4/4)/(1−1/4)=8/3, and the tails alternate between 8/3 and 10/3. Thus σ1(N) is always 2/3 or −2/3, whereas σ2(N)=0 for every N. Nonintegrality at one prescribed shift length does not imply irrationality, even for positive even coefficients and genuine tails.

An integral shift returns to the same fractional part. To track the integer accumulated in h steps, define B0,N=0 and Bh+1,N=2Bh,N+gN+h+1, so that Bh,N=gN+12h−1+⋯+gN+h is the weighted integer sum accumulated in those h steps.

Theorem 5.2 (block identity). For every N and h,

TN+h=2hTN−Bh,N,henceσh(N)=(2h−1)TN−Bh,N.

Proof. The case h=0 follows from B0,N=0. If the first identity holds at h, then

TN+h+1=2(2hTN−Bh,N)−gN+h+1=2h+1TN−Bh+1,N.

Subtracting TN gives the second identity. ◻

Subtracting the tail recurrences at N+h and N gives

(7)σh(N+1)=2σh(N)−(gN+h+1−gN+1),

which is the recurrence for the tail differences. Since Bh,N is an integer, Theorem 5.2 also gives the integrality criterion: σh(N) is integral if and only if (2h−1)TN is integral. For fixed h in this general recurrence, TN therefore determines whether the shift is integral, regardless of the later integer coefficients. For a complete tail, however, changing those coefficients also changes TN; the observation does not permit arbitrary changes to prime gaps.

For rational TN=u/v in lowest terms, the recurrence gives TN+1=(2u−gN+1v)/v. The numerator has greatest common divisor gcd(2,v) with v, because gcd(u,v)=1. Thus

(8)den⁡(TN+1)=den⁡(TN)gcd(2,den⁡(TN)),σh(N)∈Z⟺den⁡(TN)∣2h−1.

The power of two in the denominator determines how many initial steps must pass before a return is possible; the remaining odd factor d determines the possible return lengths. Once that factor is reached, Euler’s congruence supplies d∣2φ(d)−1. The least positive return length is the multiplicative order of 2 modulo d, taken to be 1 when d=1. Before the power of two is removed there is no return: for example, TN=1/2 gives no integral shift at N, since 2h−1 is always odd. This periodicity concerns fractional parts, not full tail values or coefficients.

Theorem 5.3 (exact rationality classification). Let T:N→R satisfy TN+1=2TN−gN+1 with integer coefficients g. The following are equivalent:

  1. T0 is rational;

  2. σh(N) is an integer for some h≥1 and some N;

  3. for some fixed h≥1, σh(N) is an integer at every sufficiently large N.

Consequently T0 is irrational if and only if every positive-length shift is nonintegral at every index, equivalently if and only if for every h≥1 and every cutoff some later N has σh(N)∉Z.

Proof. For (i)⇒(iii), the block identity makes every TN rational. By (8), its denominator is a fixed odd integer d for all sufficiently large N. Choose h=φ(d); Euler’s congruence and the same formula show that every subsequent σh(N) is integral. The implication (iii)⇒(ii) is immediate. For (ii)⇒(i), the block identity gives σh(N)=(2h−1)TN−Bh,N with Bh,N and σh(N) integers and 2h−1≠0, so TN is rational, and TN=2NT0−BN,0 then makes T0 rational. Negating the three conditions gives the two irrationality formulations. ◻

Lemma 5.4 (the boundary condition for the tail recurrence). Let a1,a2,… be real numbers with ∑j≥1|aj|2−j<∞, and let UN+1=2UN−aN+1. Then

UN=∑j≥1aN+j2−jfor every N⟺2−NUN⟶0.

Proof. Iteration gives 2−NUN=U0−∑j=1Naj2−j. The limit is zero exactly when U0 equals the full series; subtracting its first N terms then gives the claimed tail formula. Without the boundary condition, one may add C2N to every UN without changing the recurrence. ◻

For instance, zero coefficients and initial value U0=1/12 give 112,16,13,23,43,…, with UN+h−UN=(2h−1)2N/12. Shifts of length 2 become integral at index 2; shifts of length 1 never do. These are not complete tails of the zero sequence, since 2−NUN=1/12 does not tend to zero. The denominator calculation remains valid, but the boundary condition excludes this extra homogeneous term.

The actual prime-gap tails.

Put

TN=∑j≥1gN+j2j,

which converges by Theorem 4.3. Reindexing identifies this sum with the rescaled complete tail of S, as in the shifted-gap series identity. Splitting off the first term gives TN+1=2TN−gN+1 without a rationality hypothesis, as formalised in the real tail recurrence. Since T0=2S−1=2.349287932…, the numbers Π, S and T0 have the same rationality status, and Theorem 5.3 specialises to the actual series: irrationality of Π is equivalent to nonintegrality arbitrarily far out for each positive shift of T. The formal statement is the irrationality equivalence for the actual prime tails. Thus the passage from the series to its complete tails is proved. What remains is to establish the required nonintegrality for these prime-gap tails.

Pairs of congruent indices and least-common-multiple shifts

Instead of prescribing the offset M−N, we may prescribe a positive modulus t and allow any pair with M≡N(modt). This gives more freedom in finding a witness, but the test must still work for every t and beyond every cutoff.

Theorem 5.5 (pairs of congruent indices). S is irrational if and only if for every t≥1 and every N0 there are N,M≥N0 with M≡N(modt) and TM−TN∉Z.

Proof. If S is irrational, take M=N+t for the N supplied by Theorem 5.3 at shift length t. Conversely, suppose S is rational. By (8) the orbit reaches an index N0 beyond which the reduced denominator is a fixed odd d; let t be the multiplicative order of 2 modulo d, taking t=1 when d=1. For N,M≥N0 with M≡N modulo t, the difference TM−TN is then an integer, contradicting the stated property at this t and this cutoff. ◻

The obstruction under rationality is therefore one particular modulus: the order of 2 modulo the eventual odd denominator. A successful pair for some other modulus does not exclude it.

Equal tail values do not help this criterion, since their difference is zero. Section D.4 shows that rationality and the prime number theorem would in fact force many equal tail values. It also explains why, beyond the rational denominator cutoff, an interval condition excluding integers already contradicts rationality at indices congruent modulo the corresponding multiplicative order. These are ordinary deductions, not additional formalised statements.

Alternatively, one can fix the pairs in advance. Let L0=1 and Lj=lcm⁡(1,…,j). These numbers eventually exceed any starting cutoff and are eventually divisible by any proposed period.

Theorem 5.6 (criterion using least common multiples). Let g:N→Z and T:N→R satisfy TN+1=2TN−gN+1. Then T0 is irrational if and only if T2Lj−TLj∉Z for every j≥0.

Proof. Theorem 5.3 gives the forward implication. Conversely, if T0 is rational then some positive shift length h is integral at every basepoint beyond an index N0. Choose j so large that N0≤Lj and h∣Lj. The telescoping identity σa+b(N)=σa(N)+σb(N+a) shows by induction that every positive multiple of h is integral at every such basepoint, so T2Lj−TLj is an integer. ◻

One could use factorials instead of least common multiples, since they have the same eventual divisibility property. The least common multiples are no larger at each index. Theorems 5.5 and 5.6 change which tail differences one must test, but remain exact equivalences for integer-coefficient recurrences. Neither proves the needed nonintegrality for the actual prime gaps.

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:db2a5b20038e07a9. 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.