Introduction
Throughout, the primes are indexed from zero: 𝑝0 =2, 𝑝1 =3, 𝑝2 =5, and 𝑔𝑛 =𝑝𝑛+1 −𝑝𝑛. Erdős Problem #251
concerns
Π=∑𝑛≥0𝑝𝑛2𝑛+1=2/2+3/4+5/8+7/16+⋯,
with the question recorded in
[1], and . The catalogue lists
this as Problem #251 [22]. We construct rational gap series
that retain specified congruences and block statistics of the actual
prime gaps. No condition in the construction guarantees that the
cumulative positions are prime. We also give exact tail criteria for
irrationality of Π, but do not
establish them for the actual gaps. The first values are
𝑖0123456789𝑝𝑖2357111317192329𝑔𝑖1224242462
Thus 𝑔0 =1 and
every later gap is even, since all primes after 2 are odd. The parity will matter in the
criterion involving two consecutive tail differences. A second
normalisation with denominator 2𝑖 also occurs, and at every finite
horizon it is exactly twice this one:
𝑛−1∑𝑖=0𝑝𝑖2𝑖=2𝑛−1∑𝑖=0𝑝𝑖2𝑖+1.
This factor-of-two
identity preserves rationality. We use Π as normalised above throughout.
The perturbation theorem in Section 2
applies to arbitrary nonnegative integer coefficients. The independent
actual-prime argument starts with summation by parts, identifies the
complete tails and characterises their integral differences. Its finite
certificates use an explicit prime bound, not the perturbation
construction. The counterexamples in Section 8 identify
coefficient properties that cannot supply the missing prime-gap
estimate.
Notation.
We use ℕ ={0,1,2,…},
write 𝜑 for Euler’s totient
function, and write den𝑞 for the positive
denominator of 𝑞 ∈ℚ in lowest
terms. The notation dist(𝑥,ℤ) means the
distance from 𝑥 to the nearest
integer. A rational or real number is integral when it belongs
to ℤ. A sequence (𝑎𝑛) is eventually periodic with
period ℎ ≥1 when 𝑎𝑛+ℎ =𝑎𝑛 for every sufficiently large
𝑛. A set 𝐴 ⊆ℕ has density zero
when |𝐴 ∩[1,𝑥]| =𝑜(𝑥), and a
property holds for almost all indices when its exceptional set
has density zero. A sum over an empty range of indices is zero. A
property holds cofinally when it holds at arbitrarily large
indices; this does not imply that those indices have positive
density.
Sparse congruence-preserving perturbations
Two adjacent corrections can have a fixed ordinary sum while their
dyadic contribution varies. For example, the pairs (0,6),(2,4),(4,2),(6,0) at 𝑛,𝑛 +1 have ordinary sum 6 and dyadic contributions 6,8,10,12 divided by 2𝑛+2. If the cumulative correction
before them is 1, adding 1 at 𝑛 −1 makes it even; changing the pair then
preserves that residue.
Changing finitely many integer coefficients adds a dyadic rational
and cannot alter rationality. To rationalise an irrational sum, we must
therefore allow infinitely many corrections. The theorem repeats the
paired operation with moduli divisible by every fixed integer
eventually. Widely separated triples give sparse support. The range of
choices at each triple is large enough to compensate for the intervening
powers of two, so the attainable sums fill an interval. The permitted
index set and the interval are chosen before the target.
Density and block conventions.
All intervals of indices contain integers, and log is natural unless a base is
displayed. Upper Banach density zero means
lim𝐻→∞sup𝑢∈ℕ|𝑆∩[𝑢,𝑢+𝐻)|𝐻=0.
For integers 𝑋 ≥1 and 𝑚 ≥1, let 𝜇𝑎,𝑋,𝑚 be the empirical probability
measure obtained by choosing an integer 𝑛 ∈[𝑋,2𝑋) uniformly and observing (𝑎𝑛,…,𝑎𝑛+𝑚−1). Equal blocks are
counted with multiplicity. We use 𝑑TV(𝜇,𝜈) =sup𝐵|𝜇(𝐵) −𝜈(𝐵)|. For the same function of
the block, bounded in absolute value by 𝐵0, its means under the two measures
differ by at most 2𝐵0𝑑TV(𝜇,𝜈). No rescaling of the coefficients is implicit.
Theorem 2.1 (sparse changes preserving congruences).
Let 𝑎𝑛 ∈ℕ and 𝐴 =∑𝑛≥0𝑎𝑛2−𝑛−1 <∞. For
every cutoff 𝐾 and every 𝑓 :ℕ →ℝ tending to infinity, there are
a set 𝑆 ⊆[𝐾,∞) of upper
Banach density zero and a nondegenerate interval 𝐼 ⊂(𝐴,∞) with the following
property. Every 𝑟 ∈𝐼 has the form
𝑟=∑𝑛≥0(𝑎𝑛+𝑒𝑛)2−𝑛−1,
where 𝑒𝑛 ∈ℕ is supported on
𝑆, 𝑒𝑛 ≤𝑓(𝑛) eventually, and, for every
integer 𝑞 ≥1, there is an 𝑁𝑞, chosen independently of 𝑟, such that
𝑞∣𝑒𝑛and𝑞∣∑𝑖<𝑛𝑒𝑖(𝑛≥𝑁𝑞).
For every 𝜀 >0, the construction can
instead be chosen with 𝑒𝑛 ≤(log(𝑛 +3))𝜀 eventually
and |𝑆 ∩[𝑋,2𝑋)| =𝑂𝜀(𝑋/loglog𝑋). In that case the empirical distributions of original and
corrected unnormalised blocks of length 𝑚(𝑋) =𝑜(loglog𝑋), sampled at the same
integer starts in [𝑋,2𝑋), have
total variation distance tending to zero, uniformly over 𝑟. Precisely the coupling error is at
most 𝑚|𝑆 ∩[𝑋,2𝑋 +𝑚)|/𝑋; with ‖Φ‖∞ ≤𝐵0 the bounded-test
error is at most twice this quantity times 𝐵0, also for tests depending on the
starting index.
The hypotheses allow any nonnegative integer sequence of polynomial
growth, but not 𝑎𝑛 =2𝑛, whose
dyadic series diverges. The correction allowance can grow as slowly as
loglog(𝑛 +3). A fixed bound is not
possible here: eventual boundedness together with eventual divisibility
by every fixed modulus would make the corrections eventually zero; their
fixed total would then have to be divisible by every modulus and hence
be zero. Nonnegative corrections could not change the sum. The set 𝑆 contains every permitted correction
index; the nonzero corrections may occupy a smaller, target-dependent
subset. Requiring upper Banach density zero is stronger than requiring
ordinary density zero. For example, the union of the integer intervals
[𝑘!,𝑘! +𝑘), 𝑘 ≥3, has ordinary density zero but
upper Banach density one. If 𝑘! ≤𝑥 <(𝑘 +1)!, at most 𝑘(𝑘 +1)/2 indices have occurred, so their
proportion is at most 𝑘(𝑘 +1)/(2𝑘!) →0. Nevertheless each
interval is filled and their lengths are unbounded. The hypothesis rules
out this concentration in long intervals, however far apart those
intervals lie.
Proof. We first arrange the congruences, then choose sizes
and spacings that respect 𝑓, and
finally prove that every target in an interval is attained. Choose
centres 𝑛𝑗, indexed by 𝑗 ≥0, and an initial 𝑛−1 ≥𝐾, with spacings 𝑠𝑗 =𝑛𝑗 −𝑛𝑗−1 ≥4. Let 𝑀𝑗 be positive moduli with 𝑀𝑗 ∣𝑀𝑗+1, and put 𝐷𝑗 =2𝑠𝑗 −1. The value of 𝐷𝑗 is chosen so that the weighted range
of one pair becomes a difference of two successive powers of 1/2. Those differences will telescope in
the interval argument. All these parameters will be chosen before the
target.
Preserving the congruences. Let 𝐶𝑗 denote the cumulative correction
before the triple at 𝑛𝑗. Starting
with 𝐶0 =0, define
𝑐𝑗=(−𝐶𝑗)mod𝑀𝑗,𝐶𝑗+1=𝐶𝑗+𝑐𝑗+𝑀𝑗𝐷𝑗.
For any choice 𝑑𝑗 ∈{0,…,𝐷𝑗}, put
𝑒𝑛𝑗−1=𝑐𝑗,𝑒𝑛𝑗=𝑀𝑗𝑑𝑗,𝑒𝑛𝑗+1=𝑀𝑗(𝐷𝑗−𝑑𝑗),(1)
and put 𝑒𝑛 =0 off these triples. The spacing
makes the triples disjoint. Their total is 𝑐𝑗 +𝑀𝑗𝐷𝑗, independent of 𝑑𝑗, so 𝐶𝑗 really is the cumulative correction
𝐶𝑗 =∑𝑖<𝑛𝑗−1𝑒𝑖 before its
residue correction, for every choice of the 𝑑𝑗. The pair alone could not repair that
cumulative residue: its total is already a multiple of 𝑀𝑗. The residue correction does, since
𝑀𝑗 ∣𝐶𝑗 +𝑐𝑗.
The preceding correction contributes 𝑐𝑗2−𝑛𝑗 to the dyadic sum. It
therefore changes the location of the attainable interval, although it
does not change the range obtained by varying 𝑑𝑗.
Assume that each fixed 𝑞 divides
𝑀𝑗 eventually, and choose 𝐽 with 𝑞 ∣𝑀𝐽. At index 𝑛𝐽, just
after its residue correction, the cumulative sum is divisible by 𝑞. Both entries of the pair are also
divisible by 𝑞, so every later
cumulative sum through that stage remains divisible by 𝑞. Inductively 𝑞 ∣𝐶𝑗 and 𝑞 ∣𝑀𝑗 imply 𝑞 ∣𝑐𝑗, since 𝑀𝑗 ∣𝐶𝑗 +𝑐𝑗. Thus every subsequent
residue correction, pair entry and zero entry is divisible by 𝑞, as is every intermediate cumulative
sum. We may take 𝑁𝑞 =𝑛𝐽. The first
residue correction need not itself be divisible by 𝑞, and its coordinate 𝑛𝐽 −1 is deliberately outside this
eventual range.
Keeping the corrections small and sparse. The factorial
modulus must grow to include every divisor, and the spacing must grow to
make the support sparse. Since 𝑓
need not be monotone, we first replace it by a nondecreasing lower
bound. Define
ℎ(𝑛)=inf𝑚≥𝑛min(𝑓(𝑚),𝑚).
This finite real number is nondecreasing in
𝑛, satisfies ℎ(𝑛) ≤𝑛, and tends to infinity. Choose
𝑛−1 ≥𝐾 with ℎ(𝑛−1) ≥32 and recursively set
𝑘𝑗=max{𝑘∈ℕ:𝑘≥2, 𝑘!2𝑘+2≤ℎ(𝑛𝑗−1)},𝑀𝑗=𝑘𝑗!,𝑠𝑗=𝑘𝑗+2,𝑛𝑗=𝑛𝑗−1+𝑠𝑗.(2)
The maximum exists: 𝑘 =2 is eligible and 𝑘!2𝑘+2 tends to infinity. Since ℎ is nondecreasing, the integers 𝑘𝑗 are nondecreasing; since 𝑛𝑗 →∞, they tend to infinity. The
factorials form a divisibility chain and eventually contain every fixed
divisor, as do the distinguished terms in [20]. At each of the three coordinates
𝑛 in stage 𝑗,
0≤𝑒𝑛≤𝑀𝑗2𝑠𝑗≤ℎ(𝑛𝑗−1)≤𝑓(𝑛),𝑒𝑛≤𝑛𝑗−1<𝑛.
Here the residue correction is
smaller than 𝑀𝑗 and each pair
entry is at most 𝑀𝑗𝐷𝑗. Thus every
correction series converges by comparison with ∑𝑛𝑛2−𝑛−1.
Let 𝑆 =⋃𝑗{𝑛𝑗 −1,𝑛𝑗,𝑛𝑗 +1}. It is
independent of the choices 𝑑𝑗. To
see upper Banach density zero, fix 𝐻 >0. Outside a finite initial segment,
consecutive centres are at least 𝐻
apart, since 𝑠𝑗 →∞. An
interval of length 𝐿 therefore
meets at most 3(𝐿/𝐻 +2) late
permitted correction indices, plus the fixed finite number of early
indices. Divide by 𝐿, take the
supremum over interval positions, then let 𝐿 →∞ and 𝐻 →∞.
Filling an interval. The preceding choices satisfy the size
and congruence requirements. We now show that their weighted sums have
no gaps. Put 𝑤𝑗 =𝑀𝑗2−𝑛𝑗−2 and
𝐹𝑗=∑𝑖≥𝑗𝐷𝑖𝑤𝑖,𝛽=∑𝑗≥0(𝑐𝑗2−𝑛𝑗+𝐷𝑗𝑤𝑗).
The size
estimates just proved give convergence of both series, 𝐹𝑗 →0, and 𝐹0 >0. The constant 𝛽 is positive and independent of the
choices 𝑑𝑗. The complete weighted
correction, including every residue correction, is exactly
∑𝑛𝑒𝑛2−𝑛−1=𝛽+∑𝑗𝑑𝑗𝑤𝑗.(3)
For 𝑖 >𝑗,
we have 𝑀𝑖 ≥𝑀𝑗 and
𝐷𝑖𝑤𝑖=𝑀𝑖(2−𝑛𝑖−1−2−2−𝑛𝑖−2)≥𝑀𝑗(2−𝑛𝑖−1−2−2−𝑛𝑖−2).
For 𝐽 >𝑗, the finite sum is therefore at
least 𝑀𝑗(2−𝑛𝑗−2 −2−𝑛𝐽−2).
Since 𝑛𝐽 →∞, letting 𝐽 →∞ yields 𝐹𝑗+1 ≥𝑤𝑗. Adjacent intervals [𝑑𝑤𝑗,𝑑𝑤𝑗 +𝐹𝑗+1], for 0 ≤𝑑 ≤𝐷𝑗, therefore overlap or
touch. Their union is [0,𝐹𝑗]; no
strict inequality is needed. For any 𝑦 ∈[0,𝐹0], choose successive integers
𝑑𝑗 leaving each remainder in [0,𝐹𝑗+1]. Since these capacities tend
to zero, the resulting series has sum 𝑦. The finite choice set {0,𝑤𝑗,…,𝐷𝑗𝑤𝑗} has maximum and
diameter 𝐷𝑗𝑤𝑗 and largest
successive gap 𝑤𝑗. The size
estimates give ∑𝑗𝐷𝑗𝑤𝑗 <∞; together with
𝑤𝑗 ≤𝐹𝑗+1, this verifies the
hypotheses of the covering lemma of Crmarić–Kovač [27]. Fridy’s generalised-base lemma
[9] and the
reciprocal-choice argument in Kovač–Tao [11] are antecedents. The finite-choice
argument needs no monotonicity of the weights: increasing 𝑛𝑗 alone would not ensure that 𝑤𝑗 =𝑀𝑗2−𝑛𝑗−2 decreases, since the
moduli also grow. Only the covering inequality 𝑤𝑗 ≤𝐹𝑗+1 is used. Equation (3)
therefore realises every 𝑟 in the
fixed interval 𝐼 =(𝐴 +𝛽,𝐴 +𝛽 +𝐹0) ⊂(𝐴,∞).
Preserving growing blocks. The spacing controls how many
coordinates are changed, whereas the product 𝑀𝑗2𝑠𝑗 controls their size. For a
prescribed 𝜀 >0, allow
exponents 𝜀/4 for 𝑀𝑗 and 𝜀/2 for 2𝑠𝑗. Their sum is less than 𝜀, leaving room in the
correction bound. Replace (2)
by
𝑠𝑗=⌊𝜀2log2log(𝑛𝑗−1+3)⌋,𝑛𝑗=𝑛𝑗−1+𝑠𝑗,𝑘𝑗=max{𝑘∈ℕ:𝑘≥2, 𝑘!≤(log(𝑛𝑗−1+3))𝜀/4},𝑀𝑗=𝑘𝑗!.(4)
Take the initial cutoff so large that 𝑠𝑗 ≥4 and the maximum is nonempty from
the first step. Again 𝑘𝑗 is
nondecreasing and tends to infinity. Keep 𝐷𝑗 =2𝑠𝑗 −1 and the same recursion for
𝑐𝑗. All triple entries obey
𝑒𝑛≤𝑀𝑗2𝑠𝑗≤(log(𝑛𝑗−1+3))3𝜀/4≤(log(𝑛+3))𝜀.
Enlarge the initial cutoff, if
necessary, so that (log(𝑛𝑗−1 +3))3𝜀/4 ≤𝑛𝑗−1 from the first step. Then every correction again
satisfies 𝑒𝑛 ≤𝑛, and the common
bound ∑𝑛𝑛2−𝑛−1 <∞
gives convergence of 𝐹𝑗 and 𝛽. The congruence and interval
arguments therefore apply to this schedule. Also 𝑠𝑗 is comparable, with constants
depending on 𝜀, to loglog(𝑛𝑗−1 +3), and 𝑠𝑗 =𝑜(𝑛𝑗−1). Hence consecutive centres
near 𝑋 are separated by at least a
constant multiple of loglog𝑋,
giving |𝑆 ∩[𝑋,2𝑋)| =𝑂𝜀(𝑋/loglog𝑋). The estimate on [𝑋,3𝑋)
follows by covering it with [𝑋,2𝑋)
and [2𝑋,4𝑋).
Finally sample both length-𝑚
blocks at the same uniform integer start in [𝑋,2𝑋). They can differ only if that
block meets 𝑆. Each changed
coordinate belongs to at most 𝑚
such blocks, so the total variation distance is at most 𝑚|𝑆 ∩[𝑋,2𝑋 +𝑚)|/𝑋. If a test bounded by
𝐵0 also depends on the starting
index, its two values still agree on every unchanged block at that same
index and differ by at most 2𝐵0
elsewhere. Its mean difference is therefore bounded by 2𝐵0𝑚|𝑆 ∩[𝑋,2𝑋 +𝑚)|/𝑋 as well. This
conclusion uses the coupling, not just the marginal distributions of the
blocks. If 𝑚 ≤𝑋, then [𝑋,2𝑋 +𝑚) ⊆[𝑋,3𝑋), so the preceding
support estimate gives
𝑚|𝑆∩[𝑋,2𝑋+𝑚)|𝑋=𝑂𝜀(𝑚loglog𝑋).
For integer
𝑚 =𝑚(𝑋) =𝑜(loglog𝑋), the condition
𝑚 ≤𝑋 holds for all large 𝑋 and the bound tends to zero. This
comparison uses unnormalised blocks of coefficient values. It requires
neither a limiting distribution nor any randomness or independence in
the original sequence. ◻
Identical marginal distributions alone would not control an
index-dependent test. For example, let 𝑎𝑛 =𝑛mod2 and 𝑏𝑛 =1 −𝑎𝑛. For every even 𝑋, their one-coordinate empirical
distributions on [𝑋,2𝑋) are equal,
but the test 𝟏{𝑥=𝑛mod2} has mean 1 for (𝑛,𝑎𝑛) and 0 for (𝑛,𝑏𝑛). This example is not a sparse
perturbation; it isolates why the proof couples blocks at the same
index.
The comparison concerns absolute, not relative, error in event
frequencies. For example, it applies to fixed block lengths and to 𝑚(𝑋) =⌊√loglog𝑋⌋ for
large 𝑋, but makes no
vanishing-error assertion for lengths comparable to loglog𝑋. An 𝑜(1) change may erase an event whose
probability tends to zero; relative preservation requires an error small
compared with that probability. The comparison is of finite coefficient
blocks, not complete weighted tails: coefficients beyond an unchanged
block can still change its tail.
The printed construction and the formal construction use different
corrections. Their statements and quantifier order are compared in
Appendix C.
Corollary 2.2 (target intervals arbitrarily close to
the original sum). For the sparse theorem for an arbitrary
sequence, the target interval can additionally be required to lie in
(𝐴,𝐴 +𝜂) for any prescribed 𝜂 >0.
Proof. In the general schedule, every supported entry
satisfies 𝑒𝑛 ≤𝑛. Choose an
integer 𝐾′ ≥𝐾 sufficiently
large that ∑𝑛≥𝐾′𝑛2−(𝑛+1) =(𝐾′ +1)2−𝐾′ <𝜂, and start the
construction beyond 𝐾′. This
still leaves the originally prescribed prefix unchanged. The complete
interval of corrections has positive lower endpoint and upper endpoint
at most this sum. Thus the interval may be chosen as close to 𝐴 as desired; this does not say that one
fixed allowance permits every target above 𝐴. ◻
Context and mathematical dependencies
Relation to prior work.
The passage from the primes to their gaps is already public. Tao
posted on the problem’s forum thread on 7 October 2025 that summation by
parts makes the question equivalent to irrationality of ∑𝑛(𝑝𝑛+1 −𝑝𝑛)2−𝑛, and named the
shape of the missing input as a sufficiently quantitative and uniform
prime-tuples hypothesis giving statistical control of the binary
expansion of about loglog𝑛
consecutive gaps [23]. Theorem 4.3 below is that
reduction in exact form, with the endpoint retained, with convergence
supplied by an elementary bound, and with the statement checked by the
Lean kernel. The elementary bound replaces the prime number theorem in
this reduction. The prime number theorem is still used in the different
argument establishing 𝑃𝑛 ∼𝑛log𝑛 in Corollary 8.6; that
application also uses Schlage-Puchta’s fixed-polynomial theorem.
A sufficiently uniform Hardy–Littlewood hypothesis gives conditional
results of a different kind. Land’s draft states conditional
irrationality [13];
Ringer’s draft states conditional normality in each integer base . For a fixed base 𝑏 ≥2, the number in the latter statement
is ∑𝑛≥0𝑝𝑛𝑏−(𝑛+1), and
normality is to base 𝑏. Changing
𝑏 changes the number; this is not
absolute normality of a single constant. The authors supply
formalisation material, which has not been independently rebuilt for
this revision. The uniform hypothesis in [12] counts prime translates of every
nonempty admissible tuple of 𝑘 ≤(loglog𝑥)3 distinct integer shifts in [0,(log𝑥)2]. Its main term is the
tuple’s singular series times ∫𝑥2(log𝑡)−𝑘 𝑑𝑡, with absolute error at most 𝐶𝑥1−𝛿. The logarithmic integral
cannot simply be replaced by its leading asymptotic while retaining that
error bound. Here admissible means that the shifts omit a residue class
modulo each prime. The positive constants 𝐶,𝛿 and the starting threshold are
chosen before 𝑥 and the tuple.
Qualitative asymptotics for each fixed tuple do not provide this
uniformity.
In the version rechecked on 18 September 2026, Ringer also gives
weaker assumptions for the joint positions of the first 𝐿 primes after a prime basepoint, with
𝐿 growing on the order of loglog𝑋. These are not single-gap
marginal estimates. Here 𝑋 measures
prime values: the basepoints are primes in (𝑋,2𝑋], sampled uniformly. One assumption
controls a weighted sum of adverse tuple-count errors; another permits
bounded domination by a comparison law rather than total-variation
approximation. In the weighted error condition, the adverse direction
alternates with the order in inclusion–exclusion: undercounts matter at
some orders and overcounts at others. An upper sieve estimate alone does
not supply these assumptions, and none is used below.
Our index band [𝑋,2𝑋)
corresponds to primes in [𝑝𝑋,𝑝2𝑋). The prime number theorem
gives 𝜋(2𝑝𝑋) =2𝑋 +𝑜(𝑋), so this
set and (𝑝𝑋,2𝑝𝑋] have symmetric
difference of size 𝑜(𝑋) and each
has 𝑋 +𝑜(𝑋) elements. Their uniform
measures share mass equal to the intersection size divided by the larger
sample size. This tends to 1, so
their total variation distance is 𝑜(1). The comparison uses the same
uniformly bounded observable, with the same normalisation at common
basepoints. It does not by itself transfer the stronger weighted,
relative, or quantitative estimates for growing prime patterns.
Erdős stated on p. 93 of the 1958 article that ∑𝑛≥1𝑝𝑘𝑛−1/𝑛! is irrational
for every 𝑘 ≥1, and wrote there
that the proof for 𝑘 >1 is
complicated enough that only the case 𝑘 =1 is printed [1]. A proof of the full family appears in
Schlage-Puchta’s Theorem 3, which gives the stronger statement that
1,𝑆0,𝑆1,𝑆2,… are linearly
independent over ℚ, where 𝑆𝑘 =∑𝑛≥1𝑝𝑘𝑛−1/𝑛! in our
zero-based indexing [18].
On page 103 of his 1988 problem paper Erdős separately stated the
fixed-denominator problem: he could not prove that ∑𝑛≥1𝑝𝑘𝑛−1/2𝑛 is
irrational for every 𝑘 ≥1, and
wrote that the case 𝑘 =1 was
probably already very difficult. He also stated the variable-denominator
expectation that ∑𝑛≥1𝑝𝑛−1/(𝑑1⋯𝑑𝑛) is
irrational whenever 𝑑𝑛 ≥2 and
𝑑𝑛 =𝑜(𝑝𝑛−1) . That expectation is
false: on 15 April 2026 Kovač posted a note, with the printed
attribution ChatGPT 5.4 Pro (orchestrated by Vjeko Kovač), constructing
such a sequence (𝑑𝑛) for which the
sum is exactly 1 .
Section 3 of the 1958 article concerns variable product denominators,
not the dyadic denominator sequence [1]. Its printed growth condition (5) uses
nonstandard asymptotic typography; we neither use that condition as a
hypothesis nor assign it a modern quantified interpretation. The simple
endpoint example is unambiguous: if 𝐺𝑛 =∏𝑛𝑗=1(𝑝𝑗−1 +1) and 𝐺0 =1, then
𝑝𝑛−1𝐺𝑛=1𝐺𝑛−1−1𝐺𝑛,∑𝑛≥1𝑝𝑛−1𝐺𝑛=1.
Neither this
variable-denominator example nor the counterexample in addresses fixed dyadic
denominators.
There is a related theorem with dyadic denominators and bounded
coefficients. If 𝑃(𝑚) denotes the
largest prime factor of 𝑚, Erdős
and Pomerance proved that
∑𝑚≥2𝟏{𝑃(𝑚)>𝑃(𝑚+1)}2𝑚
is irrational . Erdős and
Graham record the complementary indicator on p. 62: equality of the two
largest prime factors is impossible for consecutive integers, so its
series is 1/2 minus the displayed
one and is irrational as well. That theorem concerns a sequence of zeros
and ones comparing largest prime factors, whereas the numerators in
Π are unbounded.
Schlage-Puchta gives a necessary condition for rationality of a
number formed by concatenating integer blocks in a base 𝑏 ≥2 that is not a proper power, under
the stated monotonicity and growth assumptions [18]. The positions of those blocks
depend on their lengths; they are not the fixed positions of the
coefficients in our series. This concatenation theorem is not used here.
The input we use is his Lemma 4. For each fixed nonzero polynomial 𝐹 ∈ℤ[𝑥0,…,𝑥𝑘], the actual prime
gaps satisfy 𝐹(𝑔𝑛,…,𝑔𝑛+𝑘) ≠0 outside a set
of indices of natural density zero [18]. Its proof uses Selberg’s sieve.
Section 8 draws two
consequences from it.
Theorems 8.1
and 2.1
fill intervals of attainable values. The first is a binary expansion.
For the second, the direct reference is Crmarić–Kovač’s finite-choice
covering lemma [27]. For finite nonnegative choice
sets, each with at least two elements and with summable maxima, their
lemma gives a single interval when each stage’s largest successive gap
is at most the sum of the later diameters. They apply it to
product-denominator series. In the notation of the proof of
Theorem 2.1,
the choices are {0,𝑤𝑗,…,𝐷𝑗𝑤𝑗}, and the required
inequality is 𝑤𝑗 ≤∑𝑖>𝑗𝐷𝑖𝑤𝑖. Fridy’s
generalised-base lemma [9] is an antecedent with nonincreasing
weights; the finite-choice form avoids that additional assumption.
Kovač–Tao use sets of reciprocal choices [11]. Van Doorn–Kovač use finite subsums
and a distinguished subsequence of denominators: each distinguished
denominator is divisible by every earlier denominator, and each positive
integer divides some denominator [20]. Hence every fixed positive
integer divides all sufficiently late distinguished denominators. It is
this eventual divisibility, not a condition on every denominator in
their sequence, that our factorial moduli share. At a distinguished
cutoff, their finite sums are all multiples of the reciprocal of the
last denominator. Summing the covering inequalities between successive
distinguished cutoffs gives the hypothesis of their Lemma 7 for the
whole finite prefix. That lemma leaves no gaps in this grid between zero
and the full finite sum. Once the target’s denominator divides that last
denominator and the target lies in this range, a finite representation
follows. Their proposition thus represents rational targets in a
half-open interval by finite subsums, whereas our infinite choices
attain every real target in a fixed interval.
A further comparison is van Doorn’s exchange {21𝑑,28𝑑} ↔{20𝑑,30𝑑}:
both reciprocal sums are 1/(12𝑑),
while the ordinary sums are 49𝑑 and
50𝑑 [29]. Our paired corrections preserve the
ordinary sum and vary the dyadic contribution instead. This is an
analogy between conserved quantities, not an application of his
partition theorem. We claim no new interval-covering principle.
For binary subsums, each term is either retained or omitted; the set
of all resulting sums is called the achievement set. The powers 2−𝑛, 𝑛 ≥1, fill [0,1] by binary expansion. In contrast,
the powers 3−𝑛 omit (1/6,1/3), since all terms after the
first sum to 1/6. More complicated
subsum sets can contain intervals even when the simple covering
inequality fails at some indices. Bartoszewicz–Filipczak–Szymonik use a
central run of attainable integer block sums to obtain interior in a
multigeometric family [32]. Prus-Wiśniowski–Ptak construct
Cantorvals for which the overlap indices {𝑛 :𝑎𝑛 ≤∑𝑖>𝑛𝑎𝑖} have density
zero [31]. These
compact sets equal the closure of their interiors, and both endpoints of
every nondegenerate interval component are accumulation points of
one-point components. Thus a finite-stage gap between possible subsums
does not by itself rule out an interval elsewhere in the full set of
subsums. Nor is it enough merely to know that neither comparison between
a term and its remaining tail holds eventually. The survey records the
surrounding classification. Our variable-digit proof verifies covering
at every stage and does not depend on a classification theorem for
binary subsums. Nitecki’s preprint [36] gives an exposition explicitly
crediting the Guthrie–Nymann classification; its title and numbering
differ from the published Monthly article.
The inequality pattern alone is insufficient even when its index set
is specified exactly: Marchwicki–Miska’s construction , with the
repaired proof in [37], can realise any infinite strict
term-dominating index set with a Cantor achievement set. The repair
preserves the original uniqueness conclusion; the latter paper also
gives a simpler proof of a weaker statement without uniqueness.
Nowakowski’s Star Procedure [39] is a different sufficient route to a
Cantorval, requiring every stage of a positivity recursion. These
comparisons explain why our proof checks overlap at every stage instead
of relying only on the set of indices at which overlap occurs.
Automatic sequences and the limit of the analogy.
Adamczewski–Drmota–Müllner compute logarithmic densities for each
fixed automatic sequence along primes. Their Theorem 1.2 also gives a
sufficient condition for natural densities to exist and be rational;
Theorem 1.4 reduces the logarithmic-density calculation to integers
coprime to a suitable fixed modulus [28]. The general logarithmic densities are not
all rational. The fixed finite-alphabet automaton is essential: the
result is not a theorem about unbounded consecutive prime gaps, their
complete dyadic tails, or a growing family of residue or carry automata.
Any such application would have to specify the automaton, prove that it
computes the required observable, and supply uniform errors as its state
space grows. We do not infer any of those steps from the density
theorem.
The strategy.
An ordinary binary expansion uses digits in {0,1} and is rational exactly when
those digits are eventually periodic. The primes 𝑝𝑛 are coefficients, not binary digits;
carrying them changes the sequence to which this criterion applies. Even
bounded integer coefficients can be nonperiodic and have a rational
dyadic sum, as Proposition D.6
illustrates. A different classical approach uses the growth of
denominators in series of unit fractions. Erdős and Straus named a sum
∑𝑘1/𝑎𝑘 over a strictly
increasing sequence of positive integers an Ahmes series ; for such a series
the condition 𝑎1/2𝑘𝑘 →∞
is sufficient for irrationality. Its growth scale is sharp: replacing
divergence by a sufficiently large fixed lower threshold does not
suffice, since shifted Sylvester sequences grow like 𝐶2𝑘 for arbitrarily large 𝐶 and have rational reciprocal sum. This
is not a necessary condition for irrationality. Both statements and
their attribution are recorded in the introduction of Kovač and
Tao [11]. Splitting
each term 𝑝𝑖/2𝑖+1 into 𝑝𝑖 copies of 2−(𝑖+1) writes Π as a sum of unit fractions with
repetitions, and the denominators occurring in it are exactly the powers
of two. Even ignoring the repetitions the growth hypothesis fails, since
(2𝑛)1/2𝑛 →1, and the
growth criterion does not apply.
For the dyadic series below, we instead examine the reduced
denominators of the complete tails under a rationality assumption.
Rationality of the sum is equivalent to an eventual integrality
condition on differences of those tails, and that equivalence uses
nothing about the numerators beyond the fact that they are integers. The
condition does not by itself force the numerators to repeat:
Proposition 8.10, applied to
𝐾𝑛 =𝑛, produces the integer
sequence 𝜅𝑛 =𝑛 −1, which is
unbounded and hence not eventually periodic, and whose dyadic sum is
zero.
Summation by parts, with the endpoint retained
Summation by parts expresses a weighted sum of a sequence in terms of
its first value, its consecutive differences and one final term. We use
finite sums first, so the identity needs neither growth nor convergence
assumptions. The linked definitions are the dyadic
partial sum and the weighted
sum of consecutive differences. The formula below writes both sums
explicitly.
Proposition 4.1 (finite summation by parts). For
every rational sequence 𝑃 and every
𝑛 ≥0,
𝑛∑𝑖=0𝑃(𝑖)2𝑖+1=𝑃(0)+𝑛−1∑𝑖=0𝑃(𝑖+1)−𝑃(𝑖)2𝑖+1−𝑃(𝑛)2𝑛+1.
Proof. At 𝑛 =0 both
sides equal 𝑃(0)/2. When 𝑛 is replaced by 𝑛 +1, the change on the right is
𝑃(𝑛+1)−𝑃(𝑛)2𝑛+1−𝑃(𝑛+1)2𝑛+2+𝑃(𝑛)2𝑛+1=𝑃(𝑛+1)2𝑛+2.
This is the next term on the left,
which proves the identity by induction. ◻
Specialising to 𝑃(𝑖) =𝑝𝑖, whose
first value is 𝑝0 =2, and writing
𝑔𝑖 =𝑝𝑖+1 −𝑝𝑖 for the zero-based
gaps, gives the reformulation.
Theorem 4.2 (prime-gap reformulation). Let 𝑝0 =2,𝑝1 =3,… be the primes in
increasing order and 𝑔𝑖 =𝑝𝑖+1 −𝑝𝑖. For every 𝑛 ≥0,
𝑛∑𝑖=0𝑝𝑖2𝑖+1=2+𝑛−1∑𝑖=0𝑔𝑖2𝑖+1−𝑝𝑛2𝑛+1.
The leading 2 is the first
prime, not a normalising constant. At 𝑛 =2, for instance, the left side is 2/2 +3/4 +5/8 =19/8 and the right side is
2 +(1/2 +2/4) −5/8 =19/8.
Write
𝑢𝑛=𝑝𝑛2𝑛+1,𝑣𝑛=𝑔𝑛2𝑛+1
for the terms of the prime series and
of the gap series, so that ∑𝑛≥0𝑢𝑛 =Π. The termwise
identity 𝑣𝑛 =2𝑢𝑛+1 −𝑢𝑛 is the dyadic
discrete derivative. It expresses each gap term as an integer
combination of two consecutive prime terms, so once (𝑢𝑛) is summable the gap series can be
summed by rearranging two copies of the prime series.
Proof. The bound 𝑝𝑛 ≤1250(𝑛 +1)4 of Appendix A makes (𝑢𝑛) summable, and 0 <𝑔𝑛 ≤𝑝𝑛+1 then makes (𝑣𝑛) summable. The shifted sequence
(𝑢𝑛+1) is summable, so summing
𝑣𝑛 =2𝑢𝑛+1 −𝑢𝑛 and using 𝑢0 =1 gives
∑𝑛≥0𝑣𝑛=2(∑𝑛≥0𝑢𝑛−𝑢0)−∑𝑛≥0𝑢𝑛=∑𝑛≥0𝑢𝑛−2.◻
◻
The prime number theorem is needed neither for this convergence nor
for the identity. Its asymptotic 𝑝𝑛 ∼𝑛log𝑛 is used in Corollary 8.4 and in
the argument counting repeated tail values [17].
Concretely, Π =3.674643966… is irrational if
and only if 𝑆 =1.674643966… is.
Neither irrationality statement is established here.
The tail recurrence and the exact criteria
Rescaled tails turn the series question into a recurrence. Suppose
∑𝑖≥0𝑎𝑖2−(𝑖+1) converges
with every 𝑎𝑖 an integer, and
rescale its tails by putting
𝑇𝑁=2𝑁+1∑𝑖>𝑁𝑎𝑖2𝑖+1=∑𝑗≥1𝑎𝑁+𝑗2𝑗.
Two facts follow
immediately. First 𝑇𝑁+1 =2𝑇𝑁 −𝑎𝑁+1, so advancing one
index doubles the rescaled tail and subtracts a single coefficient.
Second 𝑇0 =2∑𝑖≥0𝑎𝑖2−(𝑖+1) −𝑎0, so
the sum is rational exactly when 𝑇0 is. This section studies that
recurrence, assuming nothing about the coefficients beyond the fact that
they are integers, and resumes the prime-gap instance at the end.
Definition 5.1. Let 𝑔 :ℕ →ℤ and 𝑇 :ℕ →ℚ or 𝑇 :ℕ →ℝ. Say 𝑇 satisfies the dyadic tail
recurrence with coefficients 𝑔 when 𝑇𝑁+1 =2𝑇𝑁 −𝑔𝑁+1 for every 𝑁. Write 𝜎ℎ(𝑁) =𝑇𝑁+ℎ −𝑇𝑁 for the
shift of length ℎ at 𝑁, and call a real number
integral when it belongs to ℤ.
For a complete-tail example, take 𝑔𝑛 =2 for odd 𝑛 ≥1 and 𝑔𝑛 =4 for even 𝑛 ≥1. Its complete tail at index 0 is 𝑇0 =(2/2 +4/4)/(1 −1/4) =8/3, and the tails
alternate between 8/3 and 10/3. Thus 𝜎1(𝑁) is always 2/3 or −2/3, whereas 𝜎2(𝑁) =0 for every 𝑁. Nonintegrality at one prescribed shift
length does not imply irrationality, even for positive even coefficients
and genuine tails.
Modulo integers, the recurrence is repeated doubling: the coefficient
term does not affect the fractional part. An integral shift means that
the fractional part has returned to an earlier value. Iterating the
recurrence ℎ times makes this
observation explicit: it multiplies 𝑇𝑁 by 2ℎ and accumulates an integer. Define
𝐵0,𝑁 =0 and 𝐵ℎ+1,𝑁 =2𝐵ℎ,𝑁 +𝑔𝑁+ℎ+1, so that
𝐵ℎ,𝑁 =𝑔𝑁+12ℎ−1 +⋯ +𝑔𝑁+ℎ
is the weighted
integer sum accumulated in those ℎ steps.
Theorem 5.2 (block identity). For every 𝑁 and ℎ,
𝑇𝑁+ℎ=2ℎ𝑇𝑁−𝐵ℎ,𝑁,hence𝜎ℎ(𝑁)=(2ℎ−1)𝑇𝑁−𝐵ℎ,𝑁.
Proof. The case ℎ =0
follows from 𝐵0,𝑁 =0. If the
first identity holds at ℎ, then
𝑇𝑁+ℎ+1=2(2ℎ𝑇𝑁−𝐵ℎ,𝑁)−𝑔𝑁+ℎ+1=2ℎ+1𝑇𝑁−𝐵ℎ+1,𝑁.
Subtracting 𝑇𝑁 gives the second identity. ◻
Subtracting the tail recurrences at 𝑁 +ℎ and 𝑁 gives
𝜎ℎ(𝑁+1)=2𝜎ℎ(𝑁)−(𝑔𝑁+ℎ+1−𝑔𝑁+1),(5)
which is the recurrence
for the tail differences. Since 𝐵ℎ,𝑁 is an integer, Theorem 5.2 also gives the integrality
criterion: 𝜎ℎ(𝑁) is
integral if and only if (2ℎ −1)𝑇𝑁
is integral. For fixed ℎ in this
general recurrence, 𝑇𝑁 therefore
determines whether the shift is integral, regardless of the later
integer coefficients. For a complete tail, however, changing those
coefficients also changes 𝑇𝑁; the
observation does not permit arbitrary changes to prime gaps.
For rational 𝑇𝑁 =𝑢/𝑣 in lowest
terms, the recurrence gives 𝑇𝑁+1 =(2𝑢 −𝑔𝑁+1𝑣)/𝑣. The numerator
has greatest common divisor gcd(2,𝑣) with 𝑣, because gcd(𝑢,𝑣) =1. Thus
den(𝑇𝑁+1)=den(𝑇𝑁)gcd(2,den(𝑇𝑁)),𝜎ℎ(𝑁)∈ℤ⟺den(𝑇𝑁)∣2ℎ−1.(6)
Each even denominator loses exactly one factor
of 2 and an odd denominator is
unchanged, so after finitely many steps the denominator is an odd
integer 𝑑; Euler’s congruence then
gives 𝑑 ∣2𝜑(𝑑) −1, and the
multiplicative order of 2 modulo
𝑑 is the least positive such
exponent, with the convention that this order is 1 when 𝑑 =1. The hypothesis that 𝑑 is odd cannot be dropped: if 𝑇𝑁 =1/2 then 2ℎ −1 is odd for every ℎ ≥1, so no shift at 𝑁 is integral. The resulting periodicity
is modulo ℤ: the fractional parts
eventually repeat, not necessarily the full tail values or the integer
coefficients.
Theorem 5.3 (exact rationality classification).
Let 𝑇 :ℕ →ℝ satisfy 𝑇𝑁+1 =2𝑇𝑁 −𝑔𝑁+1 with integer
coefficients 𝑔. The following are
equivalent:
𝑇0 is
rational;
𝜎ℎ(𝑁) is an
integer for some ℎ ≥1 and some
𝑁;
for some fixed ℎ ≥1,
𝜎ℎ(𝑁) is an integer at every
sufficiently large 𝑁.
Consequently 𝑇0 is
irrational if and only if every positive-length shift is nonintegral at
every index, equivalently if and only if for every ℎ ≥1 and every cutoff some later 𝑁 has 𝜎ℎ(𝑁) ∉ℤ.
Proof. For (i)⇒(iii), the block identity makes every 𝑇𝑁 rational. By (6), its
denominator is a fixed odd integer 𝑑 for all sufficiently large 𝑁. Choose ℎ =𝜑(𝑑); Euler’s congruence and the same
formula show that every subsequent 𝜎ℎ(𝑁) is integral. The implication
(iii)⇒(ii) is immediate. For (ii)⇒(i), the block identity gives 𝜎ℎ(𝑁) =(2ℎ −1)𝑇𝑁 −𝐵ℎ,𝑁 with 𝐵ℎ,𝑁 and 𝜎ℎ(𝑁) integers and 2ℎ −1 ≠0, so 𝑇𝑁 is rational, and 𝑇𝑁 =2𝑁𝑇0 −𝐵𝑁,0 then makes 𝑇0 rational. Negating the three
conditions gives the two irrationality formulations. ◻
Lemma 5.4 (the boundary condition identifying a true
tail). Let 𝑎1,𝑎2,… be
real numbers with ∑𝑗≥1|𝑎𝑗|2−𝑗 <∞, and
let 𝑈𝑁+1 =2𝑈𝑁 −𝑎𝑁+1. Then
𝑈𝑁=∑𝑗≥1𝑎𝑁+𝑗2−𝑗for every 𝑁⟺2−𝑁𝑈𝑁⟶0.
Proof. Iteration gives 2−𝑁𝑈𝑁 =𝑈0 −∑𝑁𝑗=1𝑎𝑗2−𝑗.
The limit is zero exactly when 𝑈0
equals the full series; subtracting its first 𝑁 terms then gives the claimed tail
formula. Without the boundary condition, one may add 𝐶2𝑁 to every 𝑈𝑁 without changing the
recurrence. ◻
For instance, zero coefficients and initial value 𝑈0 =1/12 give 112,16,13,23,43,…,
with 𝑈𝑁+ℎ −𝑈𝑁 =(2ℎ −1)2𝑁/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−𝑁𝑈𝑁 =1/12 does not tend to zero. The
denominator calculation remains valid, but the boundary condition
excludes this extra homogeneous term.
Pairs of congruent indices and least-common-multiple shifts
The previous criterion fixes the distance between the two indices. An
equivalent version allows that distance to vary, but requires the
indices to be congruent modulo each prescribed positive integer. It is
not a weaker hypothesis on the tail: the next theorem proves that it is
equivalent to irrationality.
Proof. If 𝑆 is
irrational, take 𝑀 =𝑁 +𝑡 for the
𝑁 supplied by Theorem 5.3 at
shift length 𝑡. Conversely, suppose
𝑆 is rational. By (6) the orbit
reaches an index 𝑁0 beyond which
the reduced denominator is a fixed odd 𝑑; let 𝑡 be the multiplicative order of 2 modulo 𝑑, taking 𝑡 =1 when 𝑑 =1. For 𝑁,𝑀 ≥𝑁0 with 𝑀 ≡𝑁 modulo 𝑡, the difference 𝑇𝑀 −𝑇𝑁 is then an integer, contradicting
the stated property at this 𝑡 and
this cutoff. ◻
Modulo one, the tail recurrence is multiplication by two. Once the
reduced denominator is the fixed odd integer 𝑑, a difference 𝑇𝑀 −𝑇𝑁 is integral precisely when 𝑀 −𝑁 is divisible by the order of 2 modulo 𝑑. Theorem 5.5 therefore
allows the distance between the indices to vary, but requires a
nonintegral pair beyond every cutoff for every prescribed modulus.
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.
A second reformulation tests one prescribed sequence of pairs of
indices. Let 𝐿0 =1 and 𝐿𝑗 =lcm(1,…,𝑗).
Proof. Theorem 5.3 gives
the forward implication. Conversely, if 𝑇0 is rational then some positive shift
length ℎ is integral at every
basepoint beyond an index 𝑁0.
Choose 𝑗 so large that 𝑁0 ≤𝐿𝑗 and ℎ ∣𝐿𝑗. The telescoping identity 𝜎𝑎+𝑏(𝑁) =𝜎𝑎(𝑁) +𝜎𝑏(𝑁 +𝑎)
shows by induction that every positive multiple of ℎ is integral at every such basepoint, so
𝑇2𝐿𝑗 −𝑇𝐿𝑗 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.
A local certificate, and one actual pair
An integer in ( −1,1) must be
zero. Thus, if two consecutive tail differences lie in that interval and
are both integral, both vanish. The recurrence then forces 𝑔𝑁+ℎ+1 =𝑔𝑁+1. An unequal pair of
gaps therefore gives a finite way to rule out simultaneous integrality,
provided that both complete tail differences have been bounded.
Proof. An integer strictly between −1 and 1 is zero. If both shifts were integers,
both would vanish, and (5) would give
𝑔𝑁+ℎ+1 =𝑔𝑁+1. The final
assertion chooses one such adjacent pair after the alleged onset of
integrality. ◻
Corollary 6.2 (real form and the sufficient
condition). The same statement holds for a real orbit, with the
same proof. If for every ℎ ≥1 and
every cutoff some later 𝑁 satisfies
the three displayed conditions for the actual prime gaps, then Π is irrational.
The unequal-gap condition alone is available: at ℎ =1, 𝑁 =2 it reads 𝑔4 =2 ≠4 =𝑔3, and Proposition 6.3 gives
such inequalities at arbitrarily large indices for each fixed ℎ. The missing assertion is that both
small-tail inequalities and the unequal-gap condition hold at the same
arbitrarily late indices. Separate infinite sets of witnesses for the
three requirements need not intersect.
Lean checks the factorial argument as unboundedness
of the actual gaps and the conclusion as non-eventual
periodicity. Far stronger lower bounds for large gaps are
known [8];
unboundedness is all that is needed.
With even gap differences, the three conditions in Theorem 6.1 reduce to two
possible signed intervals, each accompanied by a prescribed gap
difference. For fixed ℎ write 𝐷𝑁 =𝜎ℎ(𝑁) and 𝛿𝑁 =𝑔𝑁+ℎ+1 −𝑔𝑁+1, so that 𝐷𝑁+1 =2𝐷𝑁 −𝛿𝑁.
Proof. Since 𝛿𝑁 =2𝐷𝑁 −𝐷𝑁+1, the bounds |𝐷𝑁| <1 and |𝐷𝑁+1| <1 give −3 <𝛿𝑁 <3. A nonzero even
integer in this interval is 2 or
−2. If 𝛿𝑁 =2, the inequality −1 <2𝐷𝑁 −2 <1, together with |𝐷𝑁| <1, is equivalent to 1/2 <𝐷𝑁 <1. Negating both
differences gives the case 𝛿𝑁 = −2. Each substitution is
reversible. ◻
For the actual gaps, both indices 𝑁 +1 and 𝑁 +ℎ +1 are positive, so 𝛿𝑁 is even for every 𝑁 ≥0. Theorem 6.4 therefore
applies to the actual tails. Its proof uses order, the recurrence and
the evenness of 𝛿𝑁; it does
not require rational tail values. This is the real version used in
Theorem 8.7.
An explicit remainder and a certified actual pair
Both window conditions involve complete infinite tails. Bounding the
omitted terms turns each test into a finite integer comparison.
Proposition 6.5 (explicit remainder). For
integers ℎ,𝑁 ≥0 and 𝐿 ≥1 put
𝐹ℎ,𝑁,𝐿=𝐿∑𝑗=1𝑔𝑁+ℎ+𝑗−𝑔𝑁+𝑗2𝑗,𝑃(𝑥)=𝑥4+8𝑥3+36𝑥2+104𝑥+150,
𝐸ℎ,𝑁,𝐿=12502𝐿(𝑃(𝑁+ℎ+𝐿+2)+𝑃(𝑁+𝐿+2)).
Then |
|
|𝜎ℎ(𝑁) −𝐹ℎ,𝑁,𝐿|
|
| ≤𝐸ℎ,𝑁,𝐿. In particular |𝐹ℎ,𝑁,𝐿| +𝐸ℎ,𝑁,𝐿 <1 certifies
|𝜎ℎ(𝑁)| <1, and dist(𝐹ℎ,𝑁,𝐿,ℤ) >𝐸ℎ,𝑁,𝐿
certifies 𝜎ℎ(𝑁) ∉ℤ.
Proof. The checked bound 𝑝𝑛 ≤1250(𝑛 +1)4 gives 0 ≤𝑔𝑚 ≤𝑝𝑚+1 ≤1250(𝑚 +2)4, so the
omitted absolute tail is at most
1250∑𝑗>𝐿(𝑁+ℎ+𝑗+2)4+(𝑁+𝑗+2)42𝑗.
The polynomial identity 2𝑃(𝑥) =(𝑥 +1)4 +𝑃(𝑥 +1) telescopes to ∑𝐽𝑘=1(𝑚 +𝑘)42−𝑘 =𝑃(𝑚) −𝑃(𝑚 +𝐽)2−𝐽,
whose last term tends to zero. Apply it with 𝑚 =𝑁 +ℎ +𝐿 +2 and 𝑚 =𝑁 +𝐿 +2 after writing 𝑗 =𝐿 +𝑘. The two tests follow from the
triangle inequality and the definition of distance to ℤ. ◻
Proposition 6.6 (a certified adjacent pair). For
the actual prime gaps, ℎ =1 and
𝑁 =2 satisfy the three hypotheses of
Theorem 6.1: both 𝜎1(2) and 𝜎1(3) lie in ( −1,1) and are nonintegral, and 𝑔4 =2 ≠4 =𝑔3.
Proof. Take 𝐿 =40 and
𝑄 =240 =1099511627776. Exact
integer arithmetic over the first 46 primes gives
𝑁𝑄𝐹1,𝑁,40𝑄𝐸1,𝑁,402−66283868475011764181250387334588605012805761250
In each row |𝑄𝐹| +𝑄𝐸 <𝑄, which puts the whole
certified interval inside ( −1,1),
and 𝑄𝐸 is smaller than the distance
from 𝑄𝐹 to the nearest multiple of
𝑄, which excludes every integer.
The margins are 424908761776 and
213359980476 respectively. These
are strict integer comparisons rather than inferences from rounded
numerical tails. Appendix B replays
them. ◻
This computation proves the local condition at one pair of indices.
The quantifiers over every ℎ and
every cutoff remain.
Proposition 6.7 (a one-tail signed certificate).
Let 𝐷𝑁+1 =2𝐷𝑁 −𝛿𝑁 with real
𝐷𝑁, and suppose 𝛿𝑁 =2𝑠 for 𝑠 ∈{ −1,1}. If integers 𝐴,𝐵,𝑄 satisfy 𝑄 >0, 𝐵 ≥0, |𝑄𝐷𝑁 −𝐴| ≤𝐵, and
2𝑠𝐴−𝑄>2𝐵,𝑄−𝑠𝐴>𝐵,
then 1/2 <𝑠𝐷𝑁 <1, |𝐷𝑁+1| <1, and both 𝐷𝑁,𝐷𝑁+1 are nonintegral. In
particular the adjacent small-shift obstruction is certified from just
one tail enclosure.
Proof. The inequalities place the complete interval [(𝑠𝐴 −𝐵)/𝑄,(𝑠𝐴 +𝐵)/𝑄] inside (1/2,1). Thus 𝑠𝐷𝑁+1 =2𝑠𝐷𝑁 −2 ∈( −1,0), proving every
assertion. ◻
For ℎ =1,𝑁 =2, the exact data
already used above give 𝑄 =240,
𝐴 = −662838684750, 𝐵 =11764181250 and 𝑠 = −1. The two positive integer margins
are respectively 202637379224 and
424908761776. The second enclosure
in Proposition 6.6
remains a useful independent cross-check, not a logical necessity.
An exact rational enclosure of Π can exclude all rational values whose
denominator lies below an explicit bound. The two results here use the
same polynomial estimate for the omitted prime terms, but have different
supplied verification records. Both bounds are finite; neither proves
irrationality.
Proof. Put 𝑐 =1229, the
number of primes below 104, and
𝐴 =∑𝑐−1𝑖=0𝑝𝑖2𝑐−𝑖−1,
so that 𝐴/2𝑐 is the 𝑐th partial sum of Π. All terms are positive, so 𝐴/2𝑐 ≤Π. For the upper bound, 𝑝𝑐+𝑗 ≤1250(𝑐 +𝑗 +1)4. Since 𝑐 ≥9, each successive ratio of (𝑐 +1 +𝑗)4 is at most (11/10)4 <3/2. Hence (𝑐 +1 +𝑗)4 ≤(𝑐 +1)4(3/2)𝑗 for all 𝑗 ≥0. The omitted dyadic terms are
therefore bounded by a geometric series with ratio 3/4, whose sum gives
𝐴2𝑐≤Π≤2𝐴+5000(𝑐+1)42𝑐+1.
The four positive integers 𝑢,𝑣,𝑢′,𝑣′ printed in
Appendix B satisfy
𝑢′𝑣−𝑢𝑣′=1,𝑢𝑣<𝐴2𝑐,2𝐴+5000(𝑐+1)42𝑐+1<𝑢′𝑣′,𝑣+𝑣′≥2589,
all four being integer comparisons after
clearing the positive denominators. If Π =𝑎/𝑏 then 𝑎𝑣 −𝑏𝑢 ≥1 and 𝑏𝑢′ −𝑎𝑣′ ≥1, and the determinant
identity gives
𝑏=𝑏(𝑢′𝑣−𝑢𝑣′)=(𝑎𝑣−𝑏𝑢)𝑣′+(𝑏𝑢′−𝑎𝑣′)𝑣≥𝑣+𝑣′≥2589.
The only properties needed of the
bracketing fractions are their order, positive denominators and
determinant one. Their decimal expansions and the way they were found
play no part in this denominator bound. Since 589log102 >177, the floor exceeds
10177. If 𝑆 =𝑎/𝑏, apply the same argument to Π =(𝑎 +2𝑏)/𝑏. ◻
The Lean kernel decides the four inequalities on the same literals by
decide +kernel with no native_decide, over a
trial-division sieve it re-runs on [2,104): the certificate,
the floor
for the prime series, and the floor
for the gap series. Its analytic input is the same enclosure, over
the polynomial bound at line 360.
The four Farey literals have 177
and 178 digits.
Proof. The accompanying integer-arithmetic verifier
constructs an 80000-bit enclosure
with 23369 common partial quotients
and checks the following certificate. It uses neither floating-point
arithmetic nor a Lean build.
Let 𝑐 =80128 and 𝐴 =∑𝑐−1𝑖=0𝑝𝑖2𝑐−𝑖−1, with the
primes obtained by a sieve below 1200000. The polynomial bound and the
quartic identity of Proposition 6.5 give
𝐴2𝑐≤Π≤𝐴+1250𝑃(𝑐)2𝑐.
Round the lower endpoint down and the upper endpoint up to multiples of
2−80000. The resulting integers
𝐿,𝑈 satisfy 𝑈 −𝐿 =1 and Π ∈[𝐿2−80000,𝑈2−80000]. This is
the width reported as 1 in the
scaled receipt. The verifier computes the common continued-fraction
prefix of these two rational endpoints by integer division and
inversion.
Its last two convergents, ordered as 𝑢/𝑣 <𝑢′/𝑣′, satisfy
𝑢′𝑣−𝑢𝑣′=1,𝑢280000<𝐿𝑣,𝑈𝑣′<𝑢′280000,𝑣+𝑣′≥239998.
Thus the entire enclosure lies strictly
between two Farey neighbours. The same determinant calculation as in
Theorem 7.1 gives
𝑞 ≥𝑣 +𝑣′ for every rational
value of Π. It proves the stated
bound and, in fact, the slightly stronger dyadic bound 𝑞 ≥239998; the strict decimal bound
remains 1012040. The continued
fractions used in the computation are those of the rational enclosure
endpoints, not an assumed infinite continued fraction for Π. Once the neighbours are found, only
the four displayed integer comparisons are needed. ◻
The original receipt uses the best-approximation property of
convergents [10];
Short gives an accessible statement and proof [19]. The receipt is the
continued-fraction receipt, which records the generating program and
its digest, the power-of-two exponent 39997, the bit length 39998, the strict decimal power 12040, the decimal digit count 12041, the largest partial quotient 973919 at index 16442, and an arithmetic self-check of
the same routine against the known expansions of 𝑒 and 𝜋. Those bit and digit counts describe
the original routine’s last convergent, not an arbitrary rational in the
enclosure. Bit length 39998 implies
a denominator at least 239997,
and 12041 decimal digits imply only
a non-strict lower bound 1012040. The bound for 𝑞 instead uses the checked sum 𝑣 +𝑣′ ≥239998. The strict decimal
inequality follows from the separate integer comparison 239997 >1012040.
A rational number may have a denominator beyond either bound.
Extending the computation can exclude a larger finite range, but a
longer prefix need not improve the bound at every step and cannot by
itself exclude all denominators. These statements are denominator
exclusions, not estimates for an irrationality exponent.
What cannot supply the missing input
The counterexamples in this section test which information about the
gaps could force irrationality. They preserve selected growth, residue
and nonconcentration properties while changing the dyadic value. The
sparsity result has a different role: it rules out a positive-proportion
lower bound for the two-window event, while leaving sparse-witness
arguments available.
Bounded residue-preserving perturbations
Here a single positive modulus 𝑀
is fixed in advance. Adding either zero or 𝑀 to each sufficiently late coefficient
preserves that modulus and gives a binary choice at every index. Unlike
the sparse theorem, this construction need not preserve all moduli
eventually and need not have a support of density zero.
Proof. Write 𝐴 =∑𝑛≥0𝑎𝑛2−(𝑛+1) and choose a
rational 𝑟 ∈(𝐴,𝐴 +𝑀2−𝐾). A binary
expansion of (𝑟 −𝐴)/𝑀 has the form
∑𝑛≥𝐾𝜀𝑛2−(𝑛+1) with 𝜀𝑛 ∈{0,1}; set 𝜀𝑛 =0 for 𝑛 <𝐾. The perturbed series converges
and equals 𝑟. ◻
The construction
is covered by the supplied formal verification record. It follows that a
property shared by every allowed perturbation cannot by itself force
irrationality, since one such perturbation has a rational sum. This is
an ordinary consequence of the construction, not a separate formal
theorem. The construction is also checked at the actual consecutive
prime gaps for every 𝑀 ≥1 and
every 𝐾, the rational
perturbed prime-gap series, with the perturbed gap lying in [𝑔𝑛,𝑔𝑛 +𝑀] and congruent to 𝑔𝑛 modulo 𝑀, the gap
bounds. For each fixed 𝑘 ≥1,
the sum of 𝑘 consecutive gaps
increases by at most 𝑘𝑀. Thus
infinitely many bounded gaps and bounded clusters of each fixed size
survive, but their original numerical bounds need not. Nonnegative
corrections also preserve lower bounds for large gaps. Taking 𝑀 =2𝑞 preserves parity and the cumulative
positions modulo a prescribed 𝑞,
hence any limiting residue frequencies of those positions. These
conclusions concern the size and residue information in the results
discussed in Section 10; they establish
neither primality of the new positions nor preservation of every
quantitative assertion of those theorems.
Algebraic nonconcentration survives the rationalising
perturbation
The bounded perturbation also preserves fixed-block polynomial
nonconcentration. The relevant input is Schlage-Puchta’s Lemma 4: for
every polynomial 𝐹 ∈ℤ[𝑥0,…,𝑥𝑘] which does not
vanish identically, 𝐹(𝑔𝑛,…,𝑔𝑛+𝑘) ≠0 for almost all
𝑛 [18]. Say that an integer sequence
𝑎 has fixed-block
nonconcentration when it satisfies that conclusion for every 𝑘 ≥0 and every nonzero 𝐹 ∈ℤ[𝑥0,…,𝑥𝑘]. The property
transfers across bounded perturbations with no independence or
randomness assumption.
This nonconcentration condition excludes every bounded integer
sequence: if its values lie in a finite set 𝐸, the nonzero polynomial ∏𝑐∈𝐸(𝑥0 −𝑐) vanishes at every
index. It also excludes a sequence satisfying a fixed nonzero polynomial
relation on every short block, such as 𝑎𝑛 =𝑛, for which 𝑥1 −𝑥0 −1 vanishes. The density-zero
exceptional set depends on the fixed polynomial. There cannot be one
such set for all polynomials: 𝑥0 −𝑎𝑛 vanishes on the block beginning
at 𝑛, so a common exceptional set
would contain every index. No uniform estimate for growing families of
polynomials or block lengths is asserted.
In the next proposition, 𝑁,𝐻 are
nonnegative integers, ℎ is an
integer, and all counts are over integer indices and integer
triples.
Proposition 8.2 (finite counting for shifted gap
differences). Write 𝑝𝑛 for
the primes indexed from 𝑝0 =2 and
𝑔𝑛 =𝑝𝑛+1 −𝑝𝑛. For ℎ ≥2 and 𝑟 ∈ℤ, let 𝑀ℎ,𝑟(𝑁) count 𝑛 <𝑁 with 𝑔𝑛+ℎ −𝑔𝑛 =𝑟. Let 𝑄𝑁,𝐻,𝑟 count triples (𝑥,𝑑,𝑠) with 𝑥 <𝑝𝑁, 0 <𝑑 <𝑠 ≤𝐻, 𝑑 +𝑟 >0, and all four integers 𝑥,𝑥 +𝑑,𝑥 +𝑠,𝑥 +𝑠 +𝑑 +𝑟 prime. Then, for every
𝑁,𝐻 ≥0,
(𝐻+1)𝑀ℎ,𝑟(𝑁)≤(ℎ+1)𝑝𝑁+ℎ+1+(𝐻+1)𝑄𝑁,𝐻,𝑟.
Proof. For a counted index 𝑛, put 𝑥 =𝑝𝑛, 𝑑 =𝑔𝑛 and 𝑠 =𝑝𝑛+ℎ −𝑝𝑛. If the total span 𝑝𝑛+ℎ+1 −𝑝𝑛 is at most 𝐻, then 0 <𝑑 <𝑠 ≤𝐻, 𝑑 +𝑟 =𝑔𝑛+ℎ >0, and the four primes are
precisely 𝑥,𝑥 +𝑑,𝑥 +𝑠,𝑥 +𝑠 +𝑑 +𝑟. The
map is injective because 𝑥 =𝑝𝑛
determines 𝑛. For the remaining
indices the integer span is at least 𝐻 +1. Each gap appears in at most ℎ +1 of the spans, so their total is at
most (ℎ +1)∑𝑖<𝑁+ℎ𝑔𝑖 <(ℎ +1)𝑝𝑁+ℎ+1.
Multiply the resulting bound on the exceptional count by 𝐻 +1 and add the small-span
contribution. ◻
The displayed finite shifted-count bound is unconditional by the
ordinary proof above. Its historical
source locator is retained; Appendix C identifies the
relocated proof in the supplied packet and distinguishes its recorded
release status from a checked build. To obtain zero density from this
particular finite bound, one would need, for every 𝜀 >0 and all large 𝑁, a choice of 𝐻 making its right side less than 𝜀𝑁(𝐻 +1). For ℎ =1, the same definitions give 𝑠 =𝑑, so 𝑥 +𝑑 =𝑥 +𝑠. The strict condition 𝑑 <𝑠 in the four-prime count fails;
that case requires a three-prime count instead. Zero density itself is
already known for every fixed ℎ ≥1
and 𝑟 ∈ℤ: apply Schlage-Puchta’s
lemma above to the nonzero polynomial 𝑥ℎ −𝑥0 −𝑟. Thus the finite reduction
should not be read as leaving that upper bound open. Neither upper bound
supplies the late occurrences or weighted-tail separation required for
irrationality.
For the perturbation claim, first suppose that 𝑎 has fixed-block nonconcentration and
every correction is either 0 or a
fixed integer 𝑀 ≥1. For a fixed
𝑟 ∈ℤ, an equality 𝑏𝑛+1 −𝑏𝑛 =𝑟 then requires 𝑎𝑛+1 −𝑎𝑛 ∈{𝑟 −𝑀,𝑟,𝑟 +𝑀}. Each of
these three equalities holds on a set of density zero. The general
argument uses the same finite-union step for translated polynomials.
Theorem 8.3 (nonconcentration is
perturbation-stable). Let 𝑎 :ℕ →ℤ have fixed-block
nonconcentration, let 𝐸 ⊂ℤ be
finite, and let 𝑏𝑛 =𝑎𝑛 +𝑒𝑛 with
𝑒𝑛 ∈𝐸 for every 𝑛. Then 𝑏 has fixed-block
nonconcentration.
Proof. Fix 𝑘 ≥0 and a
nonzero 𝐹 ∈ℤ[𝑥0,…,𝑥𝑘]. For
a tuple 𝐞 =(𝑒(0),…,𝑒(𝑘)) ∈𝐸𝑘+1 put 𝐹𝐞(𝑥0,…,𝑥𝑘) =𝐹(𝑥0 +𝑒(0),…,𝑥𝑘 +𝑒(𝑘)). The
substitution 𝑥𝑖 ↦𝑥𝑖 +𝑒(𝑖)
is a ring automorphism of ℤ[𝑥0,…,𝑥𝑘] with inverse 𝑥𝑖 ↦𝑥𝑖 −𝑒(𝑖), so 𝐹𝐞 ≠0. If 𝐹(𝑏𝑛,…,𝑏𝑛+𝑘) =0 then 𝐹𝐞(𝑎𝑛,…,𝑎𝑛+𝑘) =0 for
the tuple 𝐞 =(𝑒𝑛,…,𝑒𝑛+𝑘), whence
{𝑛:𝐹(𝑏𝑛,…,𝑏𝑛+𝑘)=0}⊆⋃𝐞∈𝐸𝑘+1{𝑛:𝐹𝐞(𝑎𝑛,…,𝑎𝑛+𝑘)=0}.
Each set on the
right has density zero by hypothesis, and there are only finitely many
such sets because 𝐸𝑘+1 is
finite. Their union therefore has density zero. ◻
Finiteness of the correction set is essential to this argument; no
independence between the corrections and the sequence is needed. Without
a restriction on the corrections, the choice 𝑒𝑛 = −𝑎𝑛 would give 𝑏𝑛 =0, which fails nonconcentration even
for the polynomial 𝑥0.
Corollary 8.4 (nonconcentration does not force
irrationality). Fix 𝑀 ≥1 and
𝐾 ≥0, and let 𝑏 be the perturbed sequence supplied by
Theorem 8.1 at
the actual prime gaps. Then ∑𝑛≥0𝑏𝑛2−(𝑛+1) is rational,
𝑏𝑛 =𝑔𝑛 for 𝑛 <𝐾, 𝑏𝑛 −𝑔𝑛 ∈{0,𝑀} and 𝑏𝑛 ≡𝑔𝑛(mod𝑀) for every 𝑛, 𝑏
has fixed-block nonconcentration, and the cumulative sequence 𝑃𝑛 =2 +∑𝑖<𝑛𝑏𝑖 satisfies 𝑝𝑛 ≤𝑃𝑛 ≤𝑝𝑛 +𝑀𝑛 and hence 𝑃𝑛 ∼𝑛log𝑛.
Proof. Theorem 8.1
gives the rational sum, prefix and congruence assertions. Summing 0 ≤𝑏𝑖 −𝑔𝑖 ≤𝑀 and using ∑𝑖<𝑛𝑔𝑖 =𝑝𝑛 −2 gives 𝑝𝑛 ≤𝑃𝑛 ≤𝑝𝑛 +𝑀𝑛. Now 𝑝𝑛 ∼𝑛log𝑛 [17] implies 𝑃𝑛 ∼𝑛log𝑛. The perturbation takes values in the fixed two-element
set 𝐸 ={0,𝑀}, so Theorem 8.3
applies to the actual gaps, which have fixed-block nonconcentration by
Schlage-Puchta’s lemma [18]. ◻
Fixed-block polynomial nonconcentration, taken together with a
prescribed finite prefix of actual gaps, a pointwise bound 𝑏𝑛 ≤𝑔𝑛 +𝑀, every residue modulo 𝑀, positivity and cumulative growth at
the prime-number-theorem scale, is therefore compatible with a rational
dyadic value. Taking 𝑀 even also
preserves eventual evenness. To preserve a prescribed modulus 𝑞 together with parity, take 𝑀 =2𝑞, with the corresponding pointwise
bound 𝑏𝑛 ≤𝑔𝑛 +2𝑞. The terms
𝑃𝑛 are not asserted to be prime.
The nonconcentration conclusion is for each fixed polynomial in a fixed
block; it gives no uniform bound for polynomial families or block
lengths growing with the index.
Proposition 8.5 (nonconcentration under sparse
changes). Let 𝑎,𝑏 :ℕ →ℤ
agree off a set 𝑆 of ordinary
density zero. If 𝑎 has fixed-block
nonconcentration, then so does 𝑏.
No boundedness assumption on 𝑎 −𝑏 is
needed.
Proof. For fixed 𝑘 and
a nonzero 𝐹 ∈ℤ[𝑥0,…,𝑥𝑘], a
zero of 𝐹(𝑏𝑛,…,𝑏𝑛+𝑘)
either is already a zero at the 𝑎-block or has 𝑛 +𝑖 ∈𝑆 for some 0 ≤𝑖 ≤𝑘. Each fixed translate of a
density-zero set has density zero, and a finite union retains that
property. This proves the assertion for each fixed 𝐹 and 𝑘. It gives no uniform estimate for
polynomial families or lengths growing with 𝑛. ◻
Corollary 8.6 (simultaneous prime-gap countermodel).
For every prescribed finite prime-gap prefix and 0 <𝜀 ≤1, there is an altered
sequence 𝑏 =𝑔 +𝑒, with 𝑃𝑛 =2 +∑𝑖<𝑛𝑏𝑖, for which one can
simultaneously impose a rational dyadic value, nonnegative integer
corrections eventually at most (log(𝑛 +3))𝜀, all fixed
eventual coefficient and cumulative congruences, fixed-block polynomial
nonconcentration, and vanishing total variation distance between
unnormalised block distributions for lengths 𝑜(loglog𝑋). The cumulative positions
satisfy
0≤𝑃𝑛−𝑝𝑛=𝑂𝜀(𝑛(log(𝑛+3))𝜀loglog𝑛),𝑃𝑛∼𝑛log𝑛.
Proof. Apply Theorem 2.1
at a rational target. Proposition 8.5
transfers the nonconcentration supplied by Schlage-Puchta’s Lemma 4
[18] to the
corrected sequence. To obtain the cumulative support bound, split [√𝑛,𝑛) into dyadic intervals, use
loglog𝑥 ≍loglog𝑛 there,
and bound the first √𝑛 indices
trivially. Thus |𝑆 ∩[0,𝑛)| =𝑂(𝑛/loglog𝑛). The pointwise correction bound gives the displayed
estimate, including a fixed constant for the exceptional prefix. Since
(log𝑛)𝜀−1/loglog𝑛 →0 for 0 <𝜀 ≤1, the prime number
theorem [17] gives the
last conclusion. The position series is rational as well: reversing the
order of summation of nonnegative terms gives
∑𝑛≥0𝑃𝑛2𝑛+1=2+∑𝑖≥0𝑏𝑖∑𝑛>𝑖2−𝑛−1=2+∑𝑖≥0𝑏𝑖2𝑖+1∈ℚ.
The finite value on
the right also proves convergence on the left. ◻
These are ordinary deductions from the sparse theorem and the stated
external analytic input. In fact, all conclusions also hold for every
𝜀 >1: apply the
corollary with exponent 1. Its
correction is smaller than the prescribed allowance, and its cumulative
estimate 𝑂(𝑛log(𝑛 +3)/loglog𝑛)
is stronger than the displayed bound and still gives 𝑃𝑛 ∼𝑛log𝑛. Thus the stated range
0 <𝜀 ≤1 suffices to
obtain every positive allowance exponent; no larger correction is
required.
The congruences imply that for every fixed integer 𝑦 ≥2, all sufficiently late 𝑃𝑛 have no prime divisor at most 𝑦: use modulus 𝑦! and 𝑝𝑛 >𝑦 to get gcd(𝑃𝑛,𝑦!) =1. This is stronger than
eventual oddness, but it does not establish primality. Excluding
divisors up to √𝑃𝑛 would
require a bound growing with 𝑛,
whereas the congruence cutoff depends on the fixed 𝑦. Even primality of every 𝑃𝑛 would not identify the sequence with
the consecutive primes, since a prime-valued sequence may skip
primes.
The two preservation arguments are different. The bounded
construction uses a finite set of translated polynomials to preserve
nonconcentration; it need not preserve empirical block frequencies. The
sparse construction instead compares blocks at the same indices, most of
which are unchanged. Its total variation bound is absolute, so it need
not preserve relative frequencies of rare events. Moreover, its
vanishing-error range is 𝑚 =𝑜(loglog𝑋), not 𝑚 comparable to
loglog𝑋. Neither comparison
establishes preservation of the quantitative prime-pattern hypotheses of
the conditional irrationality and normality results discussed in
Section 3.
The two-window event has density zero
The same nonconcentration lemma shows that the three conditions of
the small-pair test can hold only on a set of density zero. This does
not prevent that set from containing arbitrarily large indices.
Theorem 8.7 (sparsity of the two-window event).
Fix ℎ ≥1. The set of 𝑁 ≥1 at which the three hypotheses of
Theorem 6.1
hold for the actual prime gaps has density zero. For the same ℎ, the set of 𝑁 with 𝑔𝑁+ℎ+1 =𝑔𝑁+1 also has density
zero.
Proof. For 𝑁 ≥1 every
gap involved is even, so 𝛿𝑁 =𝑔𝑁+ℎ+1 −𝑔𝑁+1 is even. If
|𝜎ℎ(𝑁)| <1, |𝜎ℎ(𝑁 +1)| <1 and 𝛿𝑁 ≠0, then 𝛿𝑁 =2𝜎ℎ(𝑁) −𝜎ℎ(𝑁 +1) lies
in ( −3,3), so 𝛿𝑁 = ±2. Apply Schlage-Puchta’s
lemma [18] at
index 𝑛 =𝑁 +1 with 𝑘 =ℎ to the two polynomials 𝑥ℎ −𝑥0 −2 and 𝑥ℎ −𝑥0 +2, neither of which vanishes
identically: each of {𝑁 :𝛿𝑁 =2} and {𝑁 :𝛿𝑁 = −2} has density zero, and
the event is contained in their union. The second assertion is the same
lemma applied to 𝑥ℎ −𝑥0. ◻
Unequal gaps occur at almost every index, a stronger conclusion than
Proposition 6.3. But
combining unequal gaps with the two small tail differences forces their
difference to be exactly 2 or −2, which occurs only on a density-zero
set. Thus a proof of Problem 10.2 must find
arbitrarily large successful indices in that sparse set. A
positive-density lower bound for the same event is impossible. An
averaging argument that detects a sparse set is not ruled out.
The proof of Schlage-Puchta’s lemma gives a quantitative upper bound
as well. For fixed ℎ, it bounds the
number of eligible indices in [𝑋,2𝑋) by 𝑂ℎ(𝑋/loglog𝑋). To see the two
contributions, discard starts whose block of ℎ +1 gaps contains a gap exceeding log𝑋loglog𝑋. The sum of these block
sums is 𝑂ℎ(𝑋log𝑋) by the prime
number theorem, so there are at most 𝑂ℎ(𝑋/loglog𝑋) discarded starts. For
the remaining starts, the sieve calculation in the cited proof bounds
the zeros of each of 𝑥ℎ −𝑥0 −2 and
𝑥ℎ −𝑥0 +2 by
𝑂ℎ(𝑋(loglog𝑋)2ℎ+2log𝑋)=𝑜ℎ(𝑋loglog𝑋).
The shift from 𝑛 =𝑁 +1 changes only the band endpoints.
Thus the same upper bound applies to the two-window event. This is an
ordinary consequence of the cited sieve argument, not a new lower bound
or an asymptotic formula for the number of successful indices.
The observed proportions in Section 9 decrease
across the sampled bands. These finite observations establish neither an
asymptotic rate nor the required existence beyond every cutoff. Counting
by prime size and counting by gap index also give different cutoffs and
must not be compared without converting between them.
Recurring gap values differing by two do not suffice
Theorem 6.4 requires
both a gap difference of 2 or −2 at a prescribed distance ℎ and a tail difference in the
corresponding interval. Infinite recurrence of two values differing by
2 in one residue class guarantees
neither their occurrence at that distance nor the weighted-tail bound.
The next example has the stated recurrence and growth properties, yet
its dyadic sum is rational and every tail difference is integral. It is
a sequence of integers, not of actual prime gaps.
The mechanism is to choose integer tails first, then recover the
coefficients from 𝑎𝑛 =2𝑈𝑛−1 −𝑈𝑛.
Constant tails 𝑈𝑛 =4 give constant
coefficients 𝑎𝑛 =4. Raising one
isolated tail to 6 changes the two
affected coefficients from 4,4 to
2,8, with the same combined dyadic
contribution. A slowly growing even background will supply cumulative
growth 𝑛log𝑛; factorial indices
will impose the recurrence in residue classes while keeping these
changes sparse.
Theorem 8.8 (recurring values are not enough).
There is a sequence (𝑎𝑛)𝑛≥1
of positive even integers with the following properties. The values
2 and 4 each occur infinitely often at indices
divisible by every fixed 𝑡 ≥1. The
sequence is unbounded, not eventually periodic, and satisfies 𝑎𝑛 =𝑂(log𝑛). The series ∑𝑛≥1𝑎𝑛2−𝑛 equals 6, and every scaled tail ∑𝑗≥1𝑎𝑁+𝑗2−𝑗 is an integer,
so every tail shift is integral. The increasing odd sequence 𝑃𝑛 =3 +∑𝑗≤𝑛𝑎𝑗 satisfies 𝑃𝑛 ∼𝑛log𝑛.
Proof. Put 𝑏𝑛 =2⌈12log(𝑛 +64)⌉, so
that 𝑏𝑛 is even, 𝑏𝑛 ≥6, and 𝑏𝑛 =log(𝑛 +64) +𝑂(1). Since 12log(𝑛 +65) −12log(𝑛 +63) <1
for every 𝑛 ≥1, consecutive
increments of 𝑏 lie in {0,2} and 𝑏𝑛+1 −𝑏𝑛−1 ≤2. Call an index 𝑛 special when 𝑛 =𝑘! or 𝑛 =2 𝑘! for some 𝑘 ≥5, and define
𝑈𝑛={2𝑏𝑛−1−2,𝑛=𝑘!, 𝑘≥5,2𝑏𝑛−1−4,𝑛=2𝑘!, 𝑘≥5,𝑏𝑛,otherwise,𝑎𝑛=2𝑈𝑛−1−𝑈𝑛(𝑛≥1).
For 𝑘 ≥5 one has 𝑘! <2 𝑘! <(𝑘 +1)!, so all special
indices are distinct. They are even and therefore never adjacent. Each
𝑈𝑛 is an even integer by
construction, so each 𝑎𝑛 is an
even integer.
At an ordinary index whose predecessor is also ordinary, 𝑎𝑛 =2𝑏𝑛−1 −𝑏𝑛 =𝑏𝑛−1 −(𝑏𝑛 −𝑏𝑛−1) ≥6 −2 =4.
At a special index the predecessor is ordinary and 𝑎𝑛 =2𝑏𝑛−1 −(2𝑏𝑛−1 −𝑟) =𝑟, which is
2 at 𝑛 =𝑘! and 4 at 𝑛 =2 𝑘!. Immediately after a special
index carrying 𝑟,
𝑎𝑛+1=2(2𝑏𝑛−1−𝑟)−𝑏𝑛+1≥4𝑏𝑛−1−2𝑟−(𝑏𝑛−1+2)=3𝑏𝑛−1−2𝑟−2≥8.
Every 𝑎𝑛 is therefore a positive even integer,
and 𝑈𝑛 =𝑂(log𝑛) gives 𝑎𝑛 =𝑂(log𝑛). For 𝑘 ≥5, the index 𝑛 =𝑘! +2 and its predecessor are ordinary:
both lie strictly between 𝑘! and
2 𝑘!, where there are no special
indices. Along these indices 𝑎𝑛 ≥𝑏𝑛−1 −2 →∞. Thus (𝑎𝑛) is unbounded and hence not
eventually periodic.
The definition 𝑎𝑛 =2𝑈𝑛−1 −𝑈𝑛
is exactly 𝑎𝑛2−𝑛 =𝑈𝑛−12−(𝑛−1) −𝑈𝑛2−𝑛, so
for every 𝑁 ≥0 and 𝑚 ≥1
𝑚∑𝑗=1𝑎𝑁+𝑗2𝑗=𝑈𝑁−𝑈𝑁+𝑚2𝑚.
Since 𝑈𝑛 =𝑂(log𝑛) the
endpoint tends to zero, so the tail at 𝑁 equals the integer 𝑈𝑁; at 𝑁 =0 the series equals 𝑈0 =𝑏0 =6. Every difference 𝑈𝑁+ℎ −𝑈𝑁 is an integer, so every tail
shift is integral.
For each 𝑡 and every
sufficiently large 𝑘 we have 𝑡 ∣𝑘!, hence 𝑡 ∣2 𝑘!, and 𝑎𝑘! =2 while 𝑎2𝑘! =4: both values recur infinitely
often at indices congruent to 0
modulo 𝑡.
Finally, summing 𝑎𝑗 =2𝑈𝑗−1 −𝑈𝑗 gives ∑𝑛𝑗=1𝑎𝑗 =2𝑈0 +∑𝑛−1𝑗=1𝑈𝑗 −𝑈𝑛.
The baseline ∑𝑗<𝑛𝑏𝑗 =𝑛log𝑛 +𝑂(𝑛). The special indices up to 𝑛 number 𝑂(log𝑛/loglog𝑛) and each changes the
summand by 𝑂(log𝑛), so their
total contribution is 𝑂((log𝑛)2) =𝑜(𝑛). Hence 𝑃𝑛 =3 +∑𝑗≤𝑛𝑎𝑗 ∼𝑛log𝑛, and 𝑃𝑛
is odd and increasing. ◻
The factorial schedule above proves recurrence in the zero residue
class. The following separate construction strengthens this to every
residue class.
There is a synthetic integer sequence (𝑎𝑛)𝑛≥1 with all of the following
properties. Each 𝑎𝑛 is positive
and divisible by 2, and
𝑎𝑛≤4log(𝑛+1)+24.
For every 𝑡 ≥1, every 0 ≤𝑟 <𝑡, and every cutoff 𝑁, there are 𝑖,𝑗 ≥𝑁 such that
𝑖≡𝑗≡𝑟(mod𝑡),𝑎𝑖=2,𝑎𝑗=4.
For every integer 𝐵
and cutoff 𝑁, some 𝑛 ≥𝑁 satisfies 𝑎𝑛 >𝐵. For every ℎ ≥1 there is no cutoff after which
𝑎𝑛+ℎ =𝑎𝑛 for all 𝑛. Nevertheless, all the complete tails
𝑈𝑁=∑𝑗≥1𝑎𝑁+𝑗2𝑗(𝑁≥0)
are integers, 𝑈0 =6, and 𝑈𝑁+ℎ −𝑈𝑁 ∈ℤ for every 𝑁,ℎ ≥0. The sequence
𝑃𝑁=3+𝑁∑𝑗=1𝑎𝑗
is strictly
increasing and odd, with 𝑃𝑁/(𝑁log𝑁) →1. These are synthetic positions; no 𝑃𝑁 is asserted to be prime.
Enumerate all triples (𝑡,𝑟,𝑚)
with 𝑡 ≥1, 0 ≤𝑟 <𝑡 and 𝑚 ≥0, each once. For the 𝑘th triple choose 𝑐𝑘 ≡𝑟(mod𝑡), with 𝑐0 ≥100, 𝑐𝑘+1 ≥𝑐𝑘 +3 and 𝑐𝑘 ≥2𝑘2 for 𝑘 ≥1. Each arithmetic progression is
unbounded, so these lower bounds can be met recursively. Set 𝑣𝑘 =2 for even 𝑚 and 𝑣𝑘 =4 for odd 𝑚. For each (𝑡,𝑟) both choices then occur infinitely
often. Use the even baseline
𝑏𝑛=6+2⌊log(𝑛+1)2⌋,𝑈𝑛={2𝑏𝑛−1−𝑣𝑘,𝑛=𝑐𝑘,𝑏𝑛,𝑛∉{𝑐𝑘:𝑘≥0},
and define 𝑎𝑛 =2𝑈𝑛−1 −𝑈𝑛. The
separation of the centres will ensure that 𝑎𝑐𝑘 =𝑣𝑘.
The baseline is even and at least 6. For 𝑛 ≥1, the increase of log(𝑛 +1) over two consecutive steps is
less than 2, so the floor in the
definition gives 𝑏𝑛 −𝑏𝑛−1 ∈{0,2} and 𝑏𝑛+1 −𝑏𝑛−1 ≤2. Away from a centre
and its successor, 𝑎𝑛 =2𝑏𝑛−1 −𝑏𝑛 ≥4. At a centre, 𝑎𝑐𝑘 =𝑣𝑘. Immediately afterwards,
𝑎𝑐𝑘+1=4𝑏𝑐𝑘−1−2𝑣𝑘−𝑏𝑐𝑘+1≥3𝑏𝑐𝑘−1−2𝑣𝑘−2≥8.
Since the centres are at least three
apart, these cases exhaust all indices. Also 0 <𝑈𝑛 ≤2𝑏𝑛, so 𝑎𝑛 ≤4𝑏𝑛−1 ≤4log(𝑛 +1) +24. The
indices 𝑛 =𝑐𝑘 +2 lie outside the
centres and their successors, because consecutive centres are at least
three apart. Along these indices 𝑎𝑛 ≥𝑏𝑛−1 −2 →∞. Thus the sequence is unbounded and cannot
be eventually periodic.
Finite telescoping gives
𝑚∑𝑗=1𝑎𝑁+𝑗2−𝑗=𝑈𝑁−𝑈𝑁+𝑚2−𝑚.
The bound 𝑈𝑛 =𝑂(log(𝑛 +1)) makes
the last term tend to zero. Hence the complete tail equals the integer
𝑈𝑁, and its initial value is 6. For the cumulative growth, 𝑏𝑛 =log(𝑛 +1) +𝑂(1) and there are at most
1 +√log2𝑁 centres up to
𝑁. Replacing 𝑏𝑛 by 𝑈𝑛 changes its partial sum by 𝑂((log𝑁)3/2). Therefore
𝑁∑𝑗=1𝑎𝑗=2𝑈0+𝑁−1∑𝑗=1𝑈𝑗−𝑈𝑁=𝑁log𝑁+𝑂(𝑁),
which gives the stated
asymptotic for 𝑃𝑁.
The full statement is kernel-checked
in Lean.
Thus positivity, evenness, unboundedness, nonperiodicity, logarithmic
size, cumulative growth 𝑁log𝑁,
and recurrence of the values 2 and
4 in every residue class are
jointly compatible with integral tails. These properties alone cannot
prove that a tail difference is nonintegral. The sequence is not
asserted to consist of prime gaps: its logarithmic bound in particular
excludes the extreme large gaps of the primes. The construction
therefore does not address hypotheses that use those extreme gaps.
Proposition 8.9 (quadratic polynomial-shift
countermodel). Put 𝑐𝑛 =2(𝑛2 +4𝑛 +2) and 𝑈𝑛 =2(𝑛 +4)2. Then 𝑐𝑛 is positive, even and strictly
increasing, 𝑈𝑛+1 =2𝑈𝑛 −𝑐𝑛+1,
every shift 𝑈𝑁+ℎ −𝑈𝑁 is
integral, 𝑐𝑛+1 −𝑐𝑛 =4𝑛 +10 is
never ±2, and
∑𝑗≥1𝑐𝑗2𝑗=32.
Proof. Direct expansion gives the recurrence, and the finite
telescope is ∑𝑛𝑗=1𝑐𝑗2−𝑗 =32 −2(𝑛 +4)22−𝑛,
whose last term tends to zero. The remaining assertions follow from the
integer values of 𝑈𝑛 and from
𝑐𝑛+1 −𝑐𝑛 =4𝑛 +10 ≥10. ◻
The series starts at 𝑗 =1 and
equals the initial rescaled tail 𝑈0 =32. Under the opening convention its
sum is ∑𝑛≥0𝑐𝑛2−(𝑛+1) =(𝑐0 +32)/2 =18.
The formal construction checks the recurrence,
strict
growth, integrality
of every shift, exclusion
of adjacent differences of size two, and the value
32 for the shifted series,
whose summand is 𝑐𝑛+1/2𝑛+1;
the rational value is recorded at line 109.
Positivity, parity, strict growth, unboundedness and nonperiodicity are
therefore jointly compatible with rationality, and the adjacent-gap
condition of Theorem 6.4 fails at
every index. The telescoping mechanism is the one used in the note of
ChatGPT 5.4 Pro (orchestrated by Vjeko Kovač) against the
variable-denominator expectation of Erdős [24]; the sequence is not a result about
Problem #251.
Rationality also fails to force the coefficients to repeat. Let 𝐾 :ℕ →ℚ be arbitrary and put 𝜅𝑛 =2𝐾𝑛 −𝐾𝑛+1: the coefficient
of the telescoping series.
Proposition 8.10 (exact telescoping). For every
𝑛 ≥0, ∑𝑛−1𝑖=0𝜅𝑖2−(𝑖+1) =𝐾0 −𝐾𝑛2−𝑛.
Proof. The sum is empty when 𝑛 =0. Passing from 𝑛 to 𝑛 +1 adds (2𝐾𝑛 −𝐾𝑛+1)2−(𝑛+1) =𝐾𝑛2−𝑛 −𝐾𝑛+12−(𝑛+1),
which replaces the terminal term by the required one. ◻
The identity 𝜅𝑛 =2𝐾𝑛 −𝐾𝑛+1 has the algebraic
form used in the rationality criterion of Erdős and Straus when 𝑎𝑛 =2. That criterion has additional
hypotheses: for integers 𝑏𝑛 and
positive integers 𝑎𝑛 with 𝑎𝑛 >1 for all large 𝑛 and |𝑏𝑛|/(𝑎𝑛−1𝑎𝑛) →0, the series ∑𝑛𝑏𝑛/(𝑎1⋯𝑎𝑛) is rational
exactly when some positive integer 𝐵 and integers 𝑐𝑛 satisfy 𝐵𝑏𝑛 =𝑐𝑛𝑎𝑛 −𝑐𝑛+1 and |𝑐𝑛+1| <𝑎𝑛/2 for all large 𝑛 [7]. With 𝑎𝑛 =2, the smallness hypothesis becomes
|𝑏𝑛|/4 →0. Since the 𝑏𝑛 are integers, this forces 𝑏𝑛 =0 eventually. Thus the criterion in
this specialisation does not apply even to a bounded integer sequence
that is nonzero infinitely often, let alone to the positive prime gaps.
Proposition 8.10, by contrast,
imposes no growth condition on 𝐾.
The infinite series converges precisely when 2−𝑛𝐾𝑛 has a finite limit, and then
its sum is 𝐾0 −lim𝑛→∞2−𝑛𝐾𝑛. The sum
equals 𝐾0 precisely when that
limit is zero; polynomial growth suffices. For 𝐾𝑛 =2𝑛, every 𝜅𝑛 is zero, so the series converges
to 0, not to 𝐾0 =1.
The finite
telescoping identity is also formalised. Taking 𝐾0 =52 and 𝐾𝑛 =2𝑛 +2 for 𝑛 ≥1 gives 𝜅0 =1 and 𝜅𝑛 =2𝑛, so the coefficients 1,2,4,6,8,… are positive, even after
the first term, unbounded and not eventually periodic, while their
dyadic sum is 52. Rationality
alone therefore cannot imply eventual periodicity even for a positive,
parity-correct integer coefficient sequence, and rationality cannot be
contradicted merely by Proposition 6.3.
The arithmetic-progression formulations of nonintegrality do not
create new prime-distribution information. Their full definitions and
exact hypotheses are preserved in Appendix E.
Finite numerical searches
The two searches described below concern finite ranges of the
prime-gap tails. Their receipts record floating-point observations, not
exact certificates or proofs of occurrence beyond every cutoff. The
exact integer checks are given separately in Appendix B. The
searches have not been rerun for this edition.
Over the 6 841 648 primes
below 1.2 ×108 and offsets
ℎ =1,…,16, the scan records
hits for the reduced two-window event of Theorem 6.4 at every
tested offset, with observed proportions between 0.00418 and 0.008248 and nearly balanced signs. At
ℎ =1 it records 56 427 hits among 6 841 564 candidate indices, the last
at the prime 119 995 753.
Multiplying the observed proportion in each band by that band’s mean of
log𝑝 gives 0.17671 in the first band and 0.13148 in the last. This finite
observation does not establish an asymptotic counting law or cofinality.
The tails in this scan use double-precision arithmetic. The receipt
gives no certified enclosure for the accumulated rounding error, so
neither a count nor an individual hit is an exact certificate. A bound
for the omitted infinite tail would not, by itself, bound that rounding
error. Proposition 6.6 gives
a separate pair certified by exact integer arithmetic. The receipt is the
adjacent-pair search receipt.
A second scan uses the 1 270 607 primes below 2 ×107 and pairs of indices in the
half-open range 1 143 545 ≤𝑛,𝑚 <1 270 540. It searches each residue class modulo each
1 ≤𝑡 ≤20 for the condition of
Theorem 5.5,
selecting pairs by a next-gap difference of 2 and a shifted-tail window. At 𝑡 =20, every residue class has at least
90 150 counted pairs; pairs may
share indices. For each class, the program also records the larger index
of a selected late witness. The minimum of those recorded indices is
1 270 520; it need not come from
the class with the fewest pairs. The saved sample pairs pass the
resulting two-window check in floating-point arithmetic. These
observations are not exact certificates, and the scan supplies neither
arbitrary moduli nor witnesses beyond every prescribed cutoff. The
receipt is the
congruent-pair search receipt. The public
computation guide provides the programs, dependencies and exact
replay commands for all three recorded runs, including the
continued-fraction calculation above.
Remaining prime-gap estimates
Theorem 5.3
reduces irrationality of the actual prime series to nonintegrality of
its tail differences. The following two problems distinguish that
equivalent condition from the stronger, local condition used by the
finite certificates.
Problem 10.1 (nonintegral tail differences of each
positive length). For every ℎ ≥1 and every 𝑁0, prove that some 𝑁 ≥𝑁0 satisfies
∑𝑗≥1𝑔𝑁+ℎ+𝑗−𝑔𝑁+𝑗2𝑗∉ℤ.(7)
Problem 10.2 (two small tail differences at
arbitrarily large indices). For every ℎ ≥1 and every 𝑁0, prove that some 𝑁 ≥𝑁0 satisfies
|
|
|𝜎ℎ(𝑁)|
|
|<1,|
|
|𝜎ℎ(𝑁+1)|
|
|<1,𝑔𝑁+ℎ+1≠𝑔𝑁+1.(8)
Problem 10.1 and the
variable-offset criterion of Theorem 5.5 are each
equivalent to irrationality. By Corollary 6.2,
Problem 10.2 is
sufficient; no converse is asserted. These logical reformulations do not
supply the required prime-gap estimate.
The counterexamples retain a fixed prefix and modulus (Theorem 8.1),
polynomial nonconcentration and cumulative growth 𝑛log𝑛 (Corollary 8.4), or all
the congruences and block statistics of the sparse construction. The
distinct construction in Section 8.5
makes two values differing by 2
recur in every residue class. Each has a rational sum; none guarantees
prime cumulative positions.
For the actual gaps, Theorem 8.7 shows that the
event in (8) has density
zero for each fixed ℎ. A proof of
its occurrence must therefore find arbitrarily late witnesses inside a
sparse set, rather than prove that they occupy a positive proportion. A
finite prefix alone cannot do this: it can be retained while the dyadic
sum is made rational. A finite block together with a proved bound on the
omitted tail can still certify one pair, as in Proposition 6.6. The
distinction is between a finite certified instance and an occurrence
theorem beyond every cutoff.
Proposition 6.5
gives sufficient integer inequalities for window membership at a chosen
truncation length 𝐿. Failure of
such a test need not mean that the complete tail lies outside the
window: its error interval may still cross an endpoint. For fixed ℎ and 𝜀 >0, the choice 𝐿 =⌈(4 +𝜀)log2(𝑁 +2)⌉
gives 𝐸ℎ,𝑁,𝐿 =𝑂ℎ,𝜀(𝑁−𝜀).
Indeed, 𝐿 =𝑂𝜀(log𝑁),
both arguments of the quartic 𝑃 are
𝑂ℎ,𝜀(𝑁), and 2−𝐿 ≤(𝑁 +2)−4−𝜀.
Requiring a fixed positive margin from both endpoints is stronger than
strict window membership in (8). At this
depth, the test bounds the signed integer 2𝐿𝐹ℎ,𝑁,𝐿, not just its residue modulo
2𝐿, and also requires 𝑔𝑁+ℎ+1 −𝑔𝑁+1 = ±2. For fixed ℎ and 𝜀, checking one certificate
uses 𝑂𝜀(log𝑁) gap
values and the explicit remainder bound. This counts data, not bit
operations. The unproved input is the existence of certified witnesses
beyond every cutoff for each fixed ℎ; constants uniform in ℎ are not required.
The following published results control gap sizes and clusters, not
the signed weighted sums required by this criterion. Zhang’s bounded-gap
theorem [21] produces
infinitely many bounded consecutive-prime gaps. Maynard bounds lim inf𝑛(𝑝𝑛+𝑚 −𝑝𝑛) for every fixed
𝑚, giving bounded clusters of every
fixed size [16], with
the explicit unconditional bound lim inf𝑛(𝑝𝑛+1 −𝑝𝑛) ≤600 . Polymath subsequently
improved this to 246 ; neither numerical
bound controls the signed weighted tails required here. The large-gap
theorem of Ford, Green, Konyagin, Maynard and Tao gives an effective
lower bound for the largest single consecutive-prime gap below 𝑋 [8]. A theorem giving bounded clusters at
each fixed cluster size does not by itself supply a weighted condition
on windows whose length grows with the basepoint, and none of these
results is used as a proof input here.
Conditionally the picture is different. Tao’s comment names uniform
quantitative prime-tuples control of about loglog𝑛 consecutive gaps as the
plausible route [23], and Land’s draft carries
that out under Kuperberg’s uniform prime-tuples conjecture . The countermodels in
Section 8 show that
the listed size, congruence and block-statistical properties alone do
not force irrationality. These constructions are not shown to enumerate
the consecutive primes, so they do not rule out arguments that combine
those properties with further information about primes.
Artefact and data availability.
Declaration links identify immutable revisions, not a live branch.
The main source links in this manuscript retain revision
3d6d938d696f; release-only declarations are linked to
52f29ad173b0. The supplied declaration index distinguishes
ci_checked, outside_checked_build, and
release_only; presence of a file or link alone is not
evidence that its proof was checked. The recorded CI receipt is run
35073961520. The declaration index records the status of each
result. The build record reports
lake build ErdosProblems Erdos249257 with Lean 4.29.1. No
new execution of that build is claimed here.
Lean 4 [14] and
mathlib [15] provide the
proof-checking environment. A checked proof statement, its hypotheses
and its transitive axiom report must be distinguished from a challenge
containing sorry, an executable certificate, or an ordinary
proof. Formal checking does not establish novelty, attribution, or the
faithfulness of an unexamined mathematical interpretation.
The finite-computation receipts and generating programs remain
separately identified in the pinned
computation guide. For this edition the self-contained verifier in
Appendix B was rerun;
it checks the adjacent pair and the bound 2589. A separate verifier, supplied as
checks/verify_independent_cf.py, regenerates the 80000-bit enclosure and checks the Farey
certificate for the larger exclusion. It reproduces the common-prefix
length and the receipt’s denominator threshold, and checks the stronger
neighbouring-denominator sum stated above. It does not rerun the
original program’s floating-point statistics or its self-tests on 𝑒 and 𝜋. The prime-gap frequency scans were
not rerun, and neither verifier is a new Lean build.
Funding and competing interests.
This work received no external funding. The author declares no
competing interests.
Acknowledgements.
I thank Wouter van Doorn for advice on explaining unfamiliar
hypotheses, removing unnecessary terminology, and using notation only
when it helps the reader. His comments concerned an earlier note on
Problem #243; this acknowledgement does not imply that he reviewed or
endorsed the mathematics of the present paper. The problem numbering
follows the Erdős Problems catalogue maintained by Thomas Bloom . The
logarithmic-scale construction and the transfer of nonconcentration are
retained from the earlier review materials accompanying this project;
that provenance is not evidence of independent mathematical review.
We prove 𝑝𝑛 ≤1250(𝑛 +1)4 for
every 𝑛 ≥0 by the central binomial
coefficient method of Erdős’s proof of Chebyshev’s theorem . Let 𝜋(𝑥) count the primes at most 𝑥. For an integer 𝑚 ≥4,
4𝑚<𝑚(2𝑚𝑚)≤𝑚(2𝑚)𝜋(2𝑚).(9)
For the first inequality, 𝑚(2𝑚𝑚)/4𝑚 equals 70/64 at 𝑚 =4 and its ratio at successive indices
is (2𝑚 +1)/(2𝑚) >1. For the
second, the exponent of a prime ℓ in (2𝑚𝑚) is ∑𝑘≥1(⌊2𝑚/ℓ𝑘⌋ −2⌊𝑚/ℓ𝑘⌋), each summand is 0 or 1, and every summand with ℓ𝑘 >2𝑚 vanishes; the exponent is
therefore at most ⌊logℓ(2𝑚)⌋. Thus the
full power of each prime appearing in (2𝑚𝑚) is at most 2𝑚. Multiplying over at most 𝜋(2𝑚) distinct primes gives the second
inequality.
Now fix 𝑛 ≥0, put 𝑥 =𝑛 +5 and 𝑚 =𝑥4 ≥625, and suppose 𝜋(2𝑚) ≤𝑛. Since 𝑥 ≤2𝑥 and 𝑛 +4(𝑛 +1)𝑥 =4𝑥2 −15𝑥 −5 ≤2𝑥4,
𝑚(2𝑚)𝑛=2𝑛𝑥4(𝑛+1)≤2𝑛+4(𝑛+1)𝑥≤22𝑥4=4𝑚,
contradicting long251:eq:binomial-bound. Hence
𝜋(2𝑚) >𝑛, so at least 𝑛 +1 primes lie below 2𝑚 and therefore
𝑝𝑛≤2(𝑛+5)4≤1250(𝑛+1)4,
the last
step because (𝑛 +5) ≤5(𝑛 +1) for
𝑛 ≥0. The coarser bound 𝑝𝑛 ≤1250(𝑛 +1)4 is checked by the
kernel at line 360.
The following calculation uses trial division and integer arithmetic
only. It reproduces the two rows of Proposition 6.6 and
every inequality used in Theorem 7.1. The
four literals are the certificate the Lean kernel decides in
KernelDenominatorFloor.lean; their use here requires no
floating-point approximation. Adjacent quoted strings are concatenated
by Python.
from math import isqrt
primes = [n for n in range(2, 10000)
if all(n % d for d in range(2, isqrt(n) + 1))]
gaps = [q - p for p, q in zip(primes, primes[1:])]
P = lambda x: x**4 + 8*x**3 + 36*x*x + 104*x + 150
Q = 2**40
expected = [(-662838684750, 11764181250),
(873345886050, 12805761250)]
for N, target in zip((2, 3), expected):
D = sum((gaps[N+1+j] - gaps[N+j])*2**(40-j)
for j in range(1, 41))
B = 1250*(P(N+43) + P(N+42))
distance = min(D % Q, Q - D % Q)
if (D, B) != target or not (abs(D)+B < Q and B < distance):
raise ArithmeticError("tail certificate failed")
if gaps[4] == gaps[3]:
raise ArithmeticError("gap mismatch failed")
u = int(
"8065641857152652932176019632186898003271162829171466334827"
"3083607794415278717445033509407855988903369988525550746159"
"7355889792250084202344821020139160956663658789718168152662"
"0217"
)
v = int(
"2194945124413663232143970924541263312422069524635615360518"
"4247077351958221816830720189289904831662955084392690248683"
"1216291723988537733235173040607254496838530213867781442335"
"1745"
)
up = int(
"6539437101498162626882411892470905222108260008568555445975"
"3026163315521784668689909712759876562484620059098138417469"
"5232839888185316374272333277389611483117334000493867584923"
"912"
)
vp = int(
"1779611075789866551198427241621709630120136323281598176637"
"8490605249229735501968764904036152970729491656650873938580"
"6203025466313389810291243786005499164537499383612081805160"
"767"
)
c = len(primes)
A = sum(p*2**(c-1-i) for i, p in enumerate(primes))
checks = (c == 1229,
u > 0 and v > 0 and up > 0 and vp > 0,
up*v - u*vp == 1,
u*2**c < A*v,
(2*A + 5000*(c+1)**4)*vp < up*2**(c+1),
v+vp >= 2**589,
2**589 > 10**177)
if not all(checks):
raise ArithmeticError("denominator certificate failed")
print("Both tail rows and the denominator floor verified.")
Further criteria, examples and computational details
This appendix proves additional consequences of the recurrence,
explains the finite truncation test, and gives a bounded counterexample
and the full numerical table. These results are not needed for the
sparse construction.
Totient-length shifts and persistence of integrality
Euler’s congruence gives an explicit integral shift once the
denominator is odd. The next proposition records that choice of length;
the following one shows that integrality then persists at later
indices.
Proof. Since 𝑑 is odd,
2 and 𝑑 are coprime, so Euler’s congruence
gives 𝑑 ∣2𝜑(𝑑) −1. Writing
2𝜑(𝑑) −1 =𝑑𝑘 and 𝑇𝑁 =𝑢/𝑑 in lowest terms, (2𝜑(𝑑) −1)𝑇𝑁 =𝑘𝑢 is an integer, and
the integral-shift criterion transfers this to the shift. ◻
Proposition D.2 (propagation). Let 𝑇 :ℕ →ℝ satisfy 𝑇𝑛+1 =2𝑇𝑛 −𝑎𝑛+1 with integer
coefficients, and define 𝜎ℎ(𝑁) =𝑇𝑁+ℎ −𝑇𝑁. For fixed ℎ,𝑁 ≥0, if 𝜎ℎ(𝑁) is an integer, then 𝜎ℎ(𝑁 +𝑘) is an integer for every
𝑘 ≥0.
Proof. The shift step identity gives 𝜎ℎ(𝑁 +1) =2𝜎ℎ(𝑁) −(𝑎𝑁+ℎ+1 −𝑎𝑁+1),
an integer combination of an integer and two coefficients. Induct on
𝑘. ◻
These are the totient shift and the propagation theorems cited in the
note. For example, if den𝑇𝑁 =3 then 𝜑(3) =2 and 3𝑇𝑁 is an integer, so 𝜎2(𝑁) is integral while 𝜎1(𝑁) is not; if den𝑇𝑁 =5 then 𝜎4(𝑁) is integral. In the orbit
with every coefficient zero and 𝑇0 =1/12, the denominator is 12 =22 ⋅3, the orbit reaches 𝑇2 =1/3 with odd denominator at 𝑠 =2, and ℎ =𝜑(3) =2 is exactly the shift length
seen to be integral from index 2
onwards. The totient supplies one length, while the exact criterion is
den(𝑇𝑁) ∣2ℎ −1.
At an index with odd denominator 𝑑 >1, the least positive length is the
multiplicative order of 2 modulo
𝑑. When 𝑑 =1, every positive length works; before
the denominator becomes odd, no positive length works.
Here 𝑔𝑛 denotes the actual
prime gaps. We bound the omitted terms by a nonnegative majorant whose
dyadic series converges. For an arbitrary real-valued majorant,
convergence alone does not provide a computable remainder bound. The
polynomial bound in Proposition 6.5
supplies an explicit rational bound, so the resulting certificate can be
checked by integer arithmetic.
Proposition D.3 (finite truncation). Let 𝑀 :ℕ →ℝ satisfy 𝑀(𝑛) ≥𝑔𝑛 for every 𝑛 and ∑𝑛≥0𝑀(𝑛)2−𝑛 <∞, and put
𝑆ℎ,𝑁,𝐿=𝐿∑𝑗=1𝑔𝑁+ℎ+𝑗−𝑔𝑁+𝑗2𝑗,𝑅ℎ,𝑁,𝐿(𝑀)=∑𝑗>𝐿𝑀(𝑁+ℎ+𝑗)+𝑀(𝑁+𝑗)2𝑗.
If
for every ℎ ≥1 and every 𝑁0 there are 𝑁 ≥𝑁0 and 𝐿 ≥1 with dist(𝑆ℎ,𝑁,𝐿,ℤ) >𝑅ℎ,𝑁,𝐿(𝑀),
then the nonintegrality condition in Problem 10.1 holds.
Unlike the signed-window test, this criterion asks only for
separation from the integers. The distance from the truncated sum to
ℤ is determined by a finite
integer calculation. Write the weighted block sum as
𝐷ℎ,𝑁,𝐿=𝐿∑𝑗=12𝐿−𝑗(𝑔𝑁+ℎ+𝑗−𝑔𝑁+𝑗),𝑆ℎ,𝑁,𝐿=𝐷ℎ,𝑁,𝐿2𝐿.
Then
dist(𝑆ℎ,𝑁,𝐿,ℤ)=2−𝐿min{𝐷ℎ,𝑁,𝐿mod2𝐿,2𝐿−(𝐷ℎ,𝑁,𝐿mod2𝐿)},
where 𝐷ℎ,𝑁,𝐿mod2𝐿 is the least
nonnegative residue, including when 𝐷ℎ,𝑁,𝐿 <0. The criterion requires
this residue to be more than 2𝐿𝑅ℎ,𝑁,𝐿(𝑀) from both 0 and 2𝐿. One successful comparison certifies
nonintegrality at that index; a failed comparison is inconclusive.
Irrationality requires such certificates arbitrarily late for every
positive ℎ. At prescribed
logarithmic depth, the needed residue must be farther from both
endpoints than the error bound. With the polynomial majorant in
Proposition 6.5, the
remainder bound is rational and explicit, so the whole test reduces to
integer comparisons. The modular rewriting is an ordinary deduction, not
a separately checked Lean declaration.
Proposition D.4 (completeness of finite separation).
Suppose 𝐷 ∈ℝ, 𝑆𝐿 ∈ℝ and 𝑅𝐿 ≥0 satisfy |𝐷 −𝑆𝐿| ≤𝑅𝐿 and 𝑅𝐿 →0. Then
𝐷∉ℤ⟺there exists 𝐿 with dist(𝑆𝐿,ℤ)>𝑅𝐿.
Proof. The reverse implication follows from the triangle
inequality. For the forward implication put 𝛿 =dist(𝐷,ℤ) >0.
For all sufficiently large 𝐿, one
has 𝑅𝐿 <𝛿/2, and the 1-Lipschitz property of distance gives
dist(𝑆𝐿,ℤ) ≥𝛿 −𝑅𝐿 >𝑅𝐿.
No monotonicity of the errors is required. ◻
For fixed ℎ,𝑁 and the explicit
polynomial remainder, testing 𝐿 =1,2,… therefore stops with a
certificate whenever 𝜎ℎ(𝑁) is
nonintegral. An unsuccessful comparison is inconclusive. A proof that
every depth fails, unlike a finite unsuccessful run, would imply
integrality by the same equivalence. None of this shows that suitable
indices occur arbitrarily late. Quantitative estimates are still needed
to guarantee separation at a prescribed truncation length as 𝑁 varies. For a numerical example
unrelated to primes, [1 −2−𝑁,1 +2−𝑁] contains both the
noninteger 1 +2−2𝑁 and the
integer 1 for every 𝑁 ≥1. Its radius tends to zero, yet it
never certifies the changing value as nonintegral. This does not
contradict completeness, which keeps the value fixed while refining its
enclosure.
Nonintegral differences at multiples of each shift
Problem D.5 (multiples of each shift). For every
𝑟 ≥1, is there an 𝑚 ≥1 such that the tail differences of
length 𝑚𝑟 are nonintegral at
arbitrarily large indices, as in (7)?
This is an exact reformulation, not a weaker mathematical target. If
𝑇0 is irrational, every positive
shift is nonintegral by the block identity, so the stated condition
follows with 𝑚 =1. Conversely,
rationality gives a shift ℎ ≥1
that is integral at every sufficiently late index. For each positive
integer 𝑚, the identity
𝑇𝑁+𝑚ℎ−𝑇𝑁=𝑚−1∑𝑗=0(𝑇𝑁+(𝑗+1)ℎ−𝑇𝑁+𝑗ℎ)
makes every multiple 𝑚ℎ eventually
integral. Taking 𝑟 =ℎ contradicts
the stated condition. This ordinary deduction uses the checked
rationality classification and a finite telescope; rearranging the
quantifiers supplies no new estimate for the actual prime gaps.
Repeated tail values and congruent indices
In this subsection, 𝑇𝑁 =∑𝑗≥1𝑔𝑁+𝑗2−𝑗 denotes the
complete tail of the actual prime-gap series, rather than an arbitrary
solution of the recurrence. The first argument uses the prime number
theorem to find many equal tail values under rationality. The second
distinguishes these repetitions from the nonintegral differences
required at congruent indices. Both are ordinary deductions; the linked
formal results concern the recurrence and the congruent-index
criterion.
Repeated tail values.
For an integer 𝑋 ≥0, summing
𝑔𝑁+1 =2𝑇𝑁 −𝑇𝑁+1 over 0 ≤𝑁 <𝑋 gives the exact identity
𝑋∑𝑁=0𝑇𝑁=𝑝𝑋+1−𝑝1−𝑇0+2𝑇𝑋≤(𝑝𝑋+1−𝑝0)+2𝑇𝑋.
The inequality uses 𝑇0 ≥0 and 𝑝1 ≥𝑝0. The prime number theorem
[17] also gives
𝑇𝑋𝑝𝑋=∑𝑗≥1𝑔𝑋+𝑗2𝑗𝑝𝑋⟶0.(10)
Indeed, for each fixed 𝑗, both 𝑝𝑋+𝑗+1/𝑝𝑋 and 𝑝𝑋+𝑗/𝑝𝑋 tend to 1, so their difference 𝑔𝑋+𝑗/𝑝𝑋 tends to zero. For the
uniform bound needed to pass the limit through the sum, the two-sided
estimates 𝑝𝑛 ≍𝑛log𝑛 give
one constant 𝐾 such that, for 𝑋 ≥2 and 𝑗 ≥1,
𝑔𝑋+𝑗𝑝𝑋≤𝐾(𝑋+𝑗+1)log(𝑋+𝑗+1)𝑋log𝑋≤𝐾(1+𝑗)(1+log(1+𝑗)log𝑋)≤𝐾(1+𝑗)2.
The second line uses 𝑋 +𝑗 +1 ≤𝑋(1 +𝑗) and log(1 +𝑗) ≤𝑗log2 ≤𝑗log𝑋. Since
∑𝑗≥1(1 +𝑗)22−𝑗 <∞, dominated convergence applies. Subtracting
the exact summation identities at 2𝑋 and 𝑋 now gives
∑𝑋<𝑁≤2𝑋𝑇𝑁=𝑝2𝑋+1−𝑝𝑋+1+2(𝑇2𝑋−𝑇𝑋)∼𝑋log𝑋.
Indeed, the prime difference is asymptotic to
𝑋log𝑋, and long251:eq:tail-small-relative-prime
makes both tail terms 𝑜(𝑋log𝑋).
Thus the mean complete tail in this band is asymptotic to log𝑋, without a rationality assumption.
This is a mean, not a pointwise estimate. For the counting argument we
only need the upper bound ∑𝑋<𝑁≤2𝑋𝑇𝑁 ≤𝐾0𝑋log𝑋,
valid for any fixed 𝐾0 >1 and
all sufficiently large 𝑋. For each
fixed 𝐶 >1, Markov’s inequality
then leaves at least (1 −1/𝐶)𝑋
indices with 𝑇𝑁 ≤𝐾0𝐶log𝑋.
Under rationality, take 𝑋 beyond
the point where the reduced denominator is the fixed odd integer 𝑑. Among the indices just selected by
Markov’s inequality, the values lie in 𝑑−1ℤ≥0 ∩[0,𝐾0𝐶log𝑋]. There
are at most 𝑑𝐾0𝐶log𝑋 +1 such
values. Pigeonhole therefore gives one value occurring at least
(1−1/𝐶)𝑋𝑑𝐾0𝐶log𝑋+1
times.
Taking, for example, 𝐾0 =2 gives a
lower bound of order ≫𝐶,𝑑𝑋/log𝑋. The value may depend on 𝑋; no single value recurring in every
band is established.
This count uses the growth of the actual primes. It is false for a
general rational integer-coefficient recurrence: the quadratic
countermodel of Proposition 8.9
has strictly increasing tails 𝑇𝑁 =2(𝑁 +4)2. Even for the primes,
equal-tail pairs have difference zero and hence do not supply the
nonintegral difference required by the criterion using congruent
indices.
The terminal term in the exact identity cannot simply be omitted. The
factorial-gap argument in the proof of Proposition 6.3 shows
that 𝑇𝑋 ≥𝑔𝑋+1/2 is unbounded,
whereas 𝑝1 +𝑇0 is fixed. The exact
identity therefore gives ∑𝑋𝑁=0𝑇𝑁 >𝑝𝑋+1 for
arbitrarily large 𝑋. It does not
establish that this strict inequality holds eventually.
The interval condition at congruent indices.
Suppose the sum is rational, let 𝑑 be the eventual odd reduced
denominator, and let 𝑡 be the order
of 2 modulo 𝑑, with 𝑡 =1 when 𝑑 =1. Beyond the denominator cutoff, 𝑀 ≡𝑁(mod𝑡) forces 𝑇𝑀 −𝑇𝑁 ∈ℤ. Neither this difference nor
its negative can then lie in (12,1). Thus a witness in that
interval, at two such congruent indices, would contradict rationality
without a further condition on the intervening gaps. This uses only the
interval occurring in Theorem 6.4; it does
not assert that its other hypotheses hold for arbitrary congruent
pairs.
A bounded companion to the recurring-values countermodel
The logarithmic growth in Theorem 8.8 gives its
cumulative sequence the same leading asymptotic 𝑛log𝑛 as the primes. The same mechanism
is visible in the following bounded example.
Proposition D.6 (bounded recurring-values
countermodel). Put 𝑈0 =4 and,
for 𝑛 ≥1, 𝑈𝑛 =6 when 𝑛 =𝑘! for some 𝑘 ≥3 and 𝑈𝑛 =4 otherwise, and set 𝑎𝑛 =2𝑈𝑛−1 −𝑈𝑛 for 𝑛 ≥1. Then 𝑎𝑛 ∈{2,4,8}. For every 𝑘 ≥3, the value 2 occurs at index 𝑘! and the value 4 at index 2 𝑘!, so both recur infinitely often at
indices divisible by any fixed 𝑡 ≥1. The series ∑𝑛≥1𝑎𝑛2−𝑛 equals 4 and every tail ∑𝑗≥1𝑎𝑁+𝑗2−𝑗 equals the
integer 𝑈𝑁.
Proof. For 𝑘 ≥3 the
index 𝑘! is even and at least 6, and 𝑘! −1 is odd, so the predecessor of a
spike is an ordinary index; hence 𝑎𝑘! =8 −6 =2, 𝑎𝑘!+1 =12 −4 =8, and 𝑎𝑛 =8 −4 =4 elsewhere. For 𝑘 ≥2 one has 𝑘! <2 𝑘! <(𝑘 +1)!, so 2 𝑘! is not a factorial. Its odd
predecessor 2 𝑘! −1 ≥3 is not a
factorial either; therefore 𝑎2𝑘! =4. Since 𝑡 ∣𝑘! for every large 𝑘, both values recur in the residue class
0 modulo 𝑡. The identity 𝑎𝑛2−𝑛 =𝑈𝑛−12−(𝑛−1) −𝑈𝑛2−𝑛
telescopes to ∑𝑚𝑗=1𝑎𝑁+𝑗2−𝑗 =𝑈𝑁 −𝑈𝑁+𝑚2−𝑚,
and 𝑈 is bounded, so the endpoint
vanishes. ◻
The indices with coefficient 2
are precisely the factorials 𝑘!,
𝑘 ≥3. They occur infinitely often
with unbounded gaps, which is impossible for a value recurring in an
eventually periodic sequence. Thus even this bounded coefficient
sequence is nonperiodic, despite its rational dyadic sum. Its cumulative
sum has linear growth. The logarithmic construction in Theorem 8.8 adds
unboundedness and cumulative growth 𝑁log𝑁 without changing the telescoping mechanism. Neither
construction guarantees prime cumulative positions.
Numerical counts and proportions
Section 9 describes
the scan over the 6 841 648
primes under 1.2 ×108, with
double-precision tails. The table gives its reported counts for ℎ =1,…,4; the scan covered all
offsets ℎ ≤16. Each proportion
divides the event count by 6 841 565 −ℎ tested basepoints, not by
the number of primes.
| ℎ |
events |
proportion |
𝛿 = +2 |
𝛿 = −2 |
last event at prime |
| 1 |
56 427 |
0.008248 |
28 022 |
28 405 |
119 995 753 |
| 2 |
31 979 |
0.004674 |
15 742 |
16 237 |
119 993 807 |
| 3 |
30 233 |
0.004419 |
15 093 |
15 140 |
119 998 321 |
| 4 |
29 262 |
0.004277 |
14 606 |
14 656 |
119 993 473 |
The scan records hits at every tested offset ℎ ≤16. The observed proportions range
from 0.00418 to 0.008248, with nearly balanced signs at
each offset. For ℎ =1, the first row
below gives the proportions in the eight bands; the second multiplies
each by its band’s mean of log𝑝:
0.011285,0.008951,0.008303,0.007936,0.007651,0.007507,0.007253,0.007094;0.17671,0.15058,0.14420,0.14067,0.13766,0.13667,0.13333,0.13148.
The ratio of the last rescaled proportion to the
first is 0.744 at ℎ =1 and lies between 0.744 and 0.8121 across the measured offsets.
Theorem 8.7
gives limiting density zero for each fixed offset. The bound 𝑂ℎ(𝑋/loglog𝑋) derived after its proof
is only an upper bound; it predicts neither a monotone decline nor an
asymptotic proportion. The finite-band ratios therefore do not establish
an asymptotic rate.
Corrections to earlier records
The earlier tail-bound calculation.
The 4096-bit program linked
through Section 9 bounds
𝑇𝑠 by summing the first 400 terms of 1250(𝑠 +𝑗 +2)42−𝑗 after rounding each
down, then adding 1. This does not
necessarily bound that polynomial series: at the recorded 𝑠 =1 270 306, the returned value is
40 below the exact sum 1250𝑃(𝑠 +2), with 𝑃 as in Proposition 6.5.
The returned bound nevertheless has a valid justification. The
stronger estimate 𝑝𝑛 ≤2(𝑛 +5)4
proved in Appendix A gives
𝑇𝑠≤2𝑃(𝑠+6)<625(𝑠+3)4(𝑠≥0).
The last expression is already the first summand of the program, and all
its remaining summands are nonnegative. The strict inequality follows
from
625(𝑠+3)4−2𝑃(𝑠+6)=623𝑠4+7436𝑠3+32958𝑠2+62972𝑠+40437>0.
Thus the rounding
issue is in the stated majorant argument, not a failure of the returned
enclosure. This argument justifies the analytic bound; it is not a rerun
of the denominator-exclusion search.
Two different improvements to the exclusion record.
An earlier internal record gave a denominator exclusion at 10602. The kernel-decided floor 2589 >10177 of Theorem 7.1 is
numerically smaller but has a different verification status. It does not
supersede 10602 in numerical
strength. The continued-fraction exclusion 239997 >1012040 of Theorem 7.2 is the
larger numerical bound. The bound has 12041 decimal digits; the corresponding
strict power-of-ten lower bound is 1012040, not 1012041. The earlier manuscript
reports a separate interval and Farey-neighbour replay. Independently of
that report, this edition regenerates an 80000-bit enclosure and its Farey
certificate, as described in Theorem 7.2. The
original program was not executed, and the new verification is not a
Lean check.
An insufficient proposed condition.
An earlier record named Hardy-Littlewood 𝑘-tuple correlation of consecutive gaps
at a fixed offset as the missing input. With the offset freed by
Theorem 5.5
the route needs, for each modulus 𝑡, cofinally many congruent pairs with
certified nonintegral tail difference. A further record proposed that
two even values differing by 2,
each occurring infinitely often inside a common index residue class,
would supply the two-condition form. Theorem 8.8 shows that
this implication is false for integer-coefficient recurrences. That
entry is withdrawn.
Arithmetic-progression reformulations of integrality
One can ask whether an iterated tail difference lies in an arithmetic
progression determined by the intervening coefficients. The next theorem
shows exactly what this asks of the original tail difference. Under the
stated growth bound, a second test using the fixed progression 2𝑟ℤ also reduces to the same
nonintegrality condition.
Here 𝐷𝑁 =𝜎ℎ(𝑁) and 𝛿𝑁 =𝑔𝑁+ℎ+1 −𝑔𝑁+1, with ℎ fixed. For a longer block, set
𝐵ℎ,𝑁,𝑟=𝑟−1∑𝑖=02𝑟−1−𝑖𝛿𝑁+𝑖;𝐷𝑁+𝑟=2𝑟𝐷𝑁−𝐵ℎ,𝑁,𝑟.
The progression −𝐵ℎ,𝑁,𝑟 +2𝑟+1ℤ depends on the very
coefficients used to compute 𝐷𝑁+𝑟. Substituting the displayed
recurrence will cancel that dependence; no new information is obtained
by increasing 𝑟.
Theorem E.1 (equivalent arithmetic-progression
tests). For every rational dyadic tail recurrence and all ℎ,𝑁,𝑟 ≥0,
𝐷𝑁+𝑟∈−𝐵ℎ,𝑁,𝑟+2𝑟+1ℤ⟺𝐷𝑁∈2ℤ.(11)
Consequently, if every 𝛿𝑁 is even, then
(∀𝑁0 ∃𝑁,𝑟: 𝑁0<𝑁 and 𝐷𝑁+𝑟∉−𝐵ℎ,𝑁,𝑟+2𝑟+1ℤ)⟺𝐷𝑁∉ℤ for arbitrarily large 𝑁.(12)
There is a second equivalence. Let 𝑏 :ℕ →ℚ satisfy |𝐷𝑁| ≤𝑏(𝑁) for every 𝑁, and suppose that for every 𝑁 and every positive integer 𝑞 there is an 𝑟 with
2𝑏(𝑁+𝑟)𝑞<2𝑟.(13)
Then
∀𝑁0 ∃𝑁,𝑟: 𝑁0<𝑁 and ∀𝑧∈ℤ,𝑏(𝑁+𝑟)<|𝐵ℎ,𝑁,𝑟−2𝑟𝑧|⟺𝐷𝑁∉ℤ for arbitrarily large 𝑁.(14)
Proof. Substituting 𝐷𝑁+𝑟 =2𝑟𝐷𝑁 −𝐵ℎ,𝑁,𝑟 into the first
membership condition cancels the observed block from both sides and
leaves 𝐷𝑁 =2𝑧. This proves (11). When every
𝛿𝑁 is even, the recurrence
also gives 𝐷𝑁+1 ∈2ℤ if and
only if 𝐷𝑁 ∈ℤ. Thus eventual
integrality would force eventual even integrality and contradict the
left side of (12). This proves the
forward implication. Conversely, given a cutoff, choose a nonintegral
𝐷𝑁 beyond it and take 𝑟 =0 in (11).
For (14),
eventual integrality and the block identity give some 𝑧 ∈ℤ with
𝐵ℎ,𝑁,𝑟−2𝑟𝑧=−𝐷𝑁+𝑟,
so the
displayed strict separation contradicts |𝐷𝑁+𝑟| ≤𝑏(𝑁 +𝑟). Conversely, if 𝐷𝑁 is nonintegral, choose a positive
integer 𝑞 with 1/𝑞 ≤dist(𝐷𝑁,ℤ). Such a
𝑞 exists because ℤ is closed and 𝐷𝑁 ∉ℤ. Choose 𝑟 from (13). The block
identity and the triangle inequality give, for every 𝑧 ∈ℤ,
|𝐵ℎ,𝑁,𝑟−2𝑟𝑧|≥2𝑟|𝐷𝑁−𝑧|−|𝐷𝑁+𝑟|≥2𝑟𝑞−𝑏(𝑁+𝑟)>𝑏(𝑁+𝑟).
The same 𝑟 works for all integers 𝑧, as required. ◻
The three displayed equivalences are assembled in one declaration, the
three arithmetic-progression equivalences.
Evenness is essential in (12). Without it, the
recurrence 𝑇𝑁 =𝑁 +1, 𝑔𝑛 =𝑛 −1 for 𝑛 ≥1, has 𝐷𝑁 =𝜎1(𝑁) =1 and 𝛿𝑁 =1 at every index. Thus 𝐷𝑁 is never an even integer but is
always an integer. By (11), the left side
of (12) holds
while the right side fails.
The growth hypothesis (13) is equivalent to
lim inf𝑛→∞2−𝑛𝑏(𝑛)=0.
Indeed, writing 𝑛 =𝑁 +𝑟, its
inequality becomes 2−𝑛𝑏(𝑛) <1/(2𝑁+1𝑞). Since 𝑏(𝑛) ≥0, finding such an 𝑛 ≥𝑁 for every 𝑁 and every positive integer 𝑞 is exactly the stated liminf condition.
In particular it holds for polynomial bounds and for 𝐶𝑐𝑛 with fixed 𝐶 >0 and 1 <𝑐 <2, but fails for 𝑏(𝑛) =2𝑛. A limit of zero is not
necessary: the bound 𝑏(𝑛) =1 at odd
indices and 𝑏(𝑛) =2𝑛 at even
indices also satisfies the hypothesis. This example concerns the growth
condition alone, not a bound for the prime tails. Only one suitable
scale is needed to magnify the positive distance to ℤ beyond the error; no comparison at
every sufficiently large scale is required.
The proof in fact uses no rationality of 𝐷𝑁: the integer 𝑞 is chosen from its positive distance to
ℤ, not from a reduced denominator.
Thus (14) holds
for real integer-coefficient recurrences under the same bound and growth
hypothesis. The same is true of (11), and of (12) when the
coefficient differences are even. These extensions follow from the
printed argument; the cited formal statement is the rational one.
The first test is exactly even integrality of 𝐷𝑁, regardless of 𝑟. The fixed-progression test compares
2𝑟dist(𝐷𝑁,ℤ) with
the bound on the remaining tail. When 𝐷𝑁 is nonintegral, the growth hypothesis
makes the former larger than twice the latter at a suitable scale.
Rewriting the test does not provide an estimate about the distribution
of consecutive primes.
Paul Erdős, Sur certaines
séries à valeur irrationnelle. L’Enseignement Mathématique
4 (1958), 93–100, doi:10.5169/seals-34629.
Paul Erdős and Ronald L. Graham, Old
and New Problems and Results in Combinatorial Number Theory.
Monographies de L’Enseignement Mathématique, L’Enseignement
Mathématique, 1980.
Paul Erdős and Carl Pomerance, On the largest prime
factors of 𝑛 and 𝑛 +1. Aequationes Mathematicae
17 (1978), 311–321, doi:10.1007/BF01818569.
Paul Erdős, On the
irrationality of certain series: problems and results. New
Advances in Transcendence Theory, Cambridge University Press, 1988,
pp. 102–109, doi:10.1017/CBO9780511897184.009.
Paul Erdős, Beweis eines
Satzes von Tschebyschef. Acta Litterarum ac Scientiarum Szeged
5 (1932), 194–198.
Paul Erdős and Ernst G. Straus, On the irrationality of
certain Ahmes series. Journal of the Indian Mathematical Society
(N.S.) 27 (1964), 129–133. MR0175848.
Paul Erdős and Ernst G. Straus, On the irrationality
of certain series. Pacific Journal of Mathematics
55 (1974), no. 1, 85–92, doi:10.2140/pjm.1974.55.85.
Kevin Ford, Ben Green, Sergei Konyagin, James Maynard and Terence
Tao, Long gaps between
primes. Journal of the American Mathematical Society
31 (2018), 65–105, doi:10.1090/jams/876; arXiv:1412.5029v3.
John A. Fridy, Generalized
bases for the real numbers. The Fibonacci Quarterly
4 (1966), no. 3, 193–201.
A. Ya. Khinchin, Continued Fractions. University of
Chicago Press, 1964.
Vjekoslav Kovač and Terence Tao, On several irrationality
problems for Ahmes series. Acta Mathematica Hungarica
175 (2025), 572–608, doi:10.1007/s10474-025-01528-0;
arXiv:2406.17593v4.
Statement and section numbers refer to arXiv version 4.
Vivian Kuperberg, Sums of singular series
with large sets and the tail of the distribution of primes. The
Quarterly Journal of Mathematics 74 (2023), no. 4,
1457–1479, doi:10.1093/qmath/haad030;
arXiv:2210.09775v2.
Statement numbers refer to arXiv version 2, 15 June 2023.
Johan Land, A conditional proof
of the irrationality of ∑𝑛≥1𝑝𝑛2−𝑛 under a uniform
Hardy–Littlewood prime-tuples conjecture. Research draft, 5
September 2026. Formalisation material accompanies the draft.
Leonardo de Moura and Sebastian Ullrich, The Lean 4
theorem prover and programming language. Automated Deduction –
CADE 28, Lecture Notes in Computer Science, Springer, 2021, pp. 625–635,
doi:10.1007/978-3-030-79876-5_37.
The mathlib Community, The Lean mathematical
library. Proceedings of the 9th ACM SIGPLAN International
Conference on Certified Programs and Proofs, ACM, 2020, pp. 367–381,
doi:10.1145/3372885.3373824.
Describes a Lean 3-era snapshot; the repository lock identifies the
library used by the present Lean 4 sources.
James Maynard, Small gaps
between primes. Annals of Mathematics 181
(2015), 383–413, doi:10.4007/annals.2015.181.1.7.
Hugh L. Montgomery and Robert C. Vaughan, Multiplicative
Number Theory I: Classical Theory. Cambridge Studies in
Advanced Mathematics, Cambridge University Press, 2007, doi:10.1017/CBO9780511618314.
Jan-Christoph Schlage-Puchta, The irrationality of some
number theoretical series. Acta Arithmetica
126 (2007), no. 4, 295–303, doi:10.4064/aa126-4-1; arXiv:1105.1451v1. Published in
2007; arXiv upload is from 2011. Lemma and preprint page locators refer
to arXiv version 1.
Ian Short, Ford
Circles, Continued Fractions, and Rational Approximation. The
American Mathematical Monthly 118 (2011), no. 2,
130–135, doi:10.4169/amer.math.monthly.118.02.130;
arXiv:0912.1997v1.
Preprint title: Ford circles, continued fractions, and best
approximation of the second kind. Preprint theorem locators refer to
arXiv version 1.
Wouter van Doorn and Vjekoslav Kovač, Lacunary sequences whose
reciprocal sums represent all rational numbers in an interval.
Acta Arithmetica 223 (2026), 275–295, doi:10.4064/aa251001-13-1;
arXiv:2509.24971v3.
Statement numbers refer to arXiv version 3.
Yitang Zhang, Bounded gaps
between primes. Annals of Mathematics 179
(2014), 1121–1174, doi:10.4007/annals.2014.179.3.7.
Thomas F. Bloom, Erdős Problem
#251. 2026. Catalogue snapshot accessed 6 September
2026.
Erdős Problems contributors, Erdős Problem
#251 discussion thread. 2026. Snapshot accessed 6 September
2026: Tao comment of 7 October 2025 and Land comments of 6 September
2026.
ChatGPT 5.4 Pro (orchestrated by Vjeko Kovač), On
the Erdős problem #251. Unpublished note, Department of
Mathematics, University of Zagreb, 2026. Accessed 6 September
2026.
The Formal Conjectures Authors, FormalConjectures.ErdosProblems.251.
2025. Pinned statement source, not a proof of Problem 251; accessed 28
July 2026.
Stefan Ringer, Local gap
statistics, telescoping, and normality: a local-pattern approach to
Erdős problem 251. Preprint, 11 September 2026. Mutable
main-branch TeX consulted 16 September 2026; the cited conditional
statements were rechecked 18 September 2026. Formalisation material
accompanies the draft.
Tonći Crmarić and Vjekoslav Kovač, On the irrationality of
certain super-polynomially decaying series. Colloquium
Mathematicum 179 (2025), 55–68, doi:10.4064/cm9628-5-2025;
arXiv:2504.18712v1.
Lemma 4 is cited using arXiv version 1.
Boris Adamczewski, Michael Drmota and Clemens Müllner, (Logarithmic) densities
for automatic sequences along primes and squares. Transactions
of the American Mathematical Society 375 (2022), no. 1,
455–499, doi:10.1090/tran/8476; arXiv:2009.14773v2. Theorems 1.2
and 1.4 refer to arXiv version 2, 13 April 2021; journal publication is
2022.
Wouter van Doorn, Partitions with prescribed
sum of reciprocals: asymptotic bounds. 2025; arXiv:2502.02200v2. Version 2,
23 July 2025.
Szymon Głąb and Franciszek Prus-Wiśniowski, Achievement sets – current
results and open problems. Real Analysis Exchange (2026),
doi:10.14321/realanalexch.1766383782;
arXiv:2512.17285v1.
Advance publication, first available in Project Euclid 8 June 2026.
Consulted text remains arXiv:2512.17285v1 (19 December 2025).
Franciszek Prus-Wiśniowski and Jolanta Ptak, Achievable Cantorvals
almost without reversed Kakeya conditions. 2024; arXiv:2412.08768v1. Version 1
submitted 11 December 2024. The sparse indices satisfy the overlap
inequality, not its strict term-dominating reverse.
Artur Bartoszewicz, Małgorzata Filipczak and Emilia
Szymonik, Multigeometric
sequences and Cantorvals. Central European Journal of
Mathematics 12 (2014), no. 7, 1000–1007, doi:10.2478/s11533-013-0396-4;
arXiv:1304.4218v2.
Vivian Kuperberg, Sums of singular series
along arithmetic progressions and with smooth weights.
International Journal of Number Theory 21 (2025),
no. 1, 53–74, doi:10.1142/S1793042125500046;
arXiv:2301.06095v1.
Preprint uploaded 15 January 2023; journal publication is 2025.
Abhishek Jha, The Poisson Tail
Conjecture for primes in short intervals. 2026; arXiv:2605.23014v2.
Substantially revised version 2, 12 September 2026, 31 pages.
Conditional statements must retain their strong Hardy–Littlewood
hypotheses.
D. H. J. Polymath, Variants of the Selberg
sieve, and bounded intervals containing many primes. Research
in the Mathematical Sciences 1 (2014), article 12,
doi:10.1186/s40687-014-0012-7;
arXiv:1407.4897v4.
Theorem 1.4(i) refers to arXiv version 4 (22 December 2014); the journal
numbers it Theorem 4(i). An erratum is recorded at
doi:10.1186/s40687-015-0033-x.
Zbigniew Nitecki, Cantorvals and Subsum Sets
of Null Sequences. The American Mathematical Monthly
122 (2015), no. 9, 862–870, doi:10.4169/amer.math.monthly.122.9.862;
arXiv:1106.3779v2.
Consulted preprint: Subsum Sets: Intervals, Cantor Sets, and Cantorvals,
version 2 (8 July 2013). Theorem 14 is attributed there to
Guthrie–Nymann; its locator is not journal pagination.
Piotr Miska, Franciszek Prus-Wiśniowski and Jolanta Ptak, More
on Kakeya Conditions for Achievement Sets. Results in
Mathematics 78 (2023), article 113, doi:10.1007/s00025-023-01890-x.
Repairs an estimate in the 2021 proof, preserving its uniqueness
conclusion, and gives a simpler proof of a weaker theorem without that
conclusion.
Jacek Marchwicki and Piotr Miska, On
Kakeya Conditions for Achievement Sets. Results in Mathematics
76 (2021), article 181, doi:10.1007/s00025-021-01479-2.
Theorem 2.1 is to be read with the proof repair in
Miska–Prus-Wiśniowski–Ptak (2023).
Piotr Nowakowski, On a new condition
implying that an achievement set is a Cantorval and its
applications. 2025; arXiv:2512.17761v1. Version 1,
19 December 2025. Theorem 3.1 requires the Star Procedure of Definition
2 never to break; no application to the present factorial weights is
asserted.