--- a/paper/beta2-note.md +++ b/paper/beta2-note.md @@ -1,32 +1,34 @@ # An upper bound for the twin Jacobsthal function (draft note) -**Status: THEOREM — sieve input FULLY VERIFIED against the primary source, -no outstanding items (all content read directly from the Diamond–Halberstam -book, Cambridge Tracts 177; screenshots archived). The formal Ω(κ) condition +**Status: THEOREM. The sieve input is verified against the primary source, +no outstanding item on that input (all content read directly from the +Diamond–Halberstam book, Cambridge Tracts 177; screenshots archived); the +constants are inexplicit (§6.4) and the Halberstam–Richert 1974 page is unread +(§2). The formal Ω(κ) condition (Definition 1.3 / eq. 1.5, p. 8) is captured, and the book's own worked -example (n(n+2), pp. 7–8, "Ω(κ) holds with κ=g") IS our density check. +example (n(n+2), pp. 7–8, "Ω(κ) holds with κ=g") is our density check. Confirmed line-level: • Theorem 9.1 (pp. 103–112): remainder weighted exactly 2·Σ_{m|P(z),m 1 such that ∏_{w₁≤pβ_κ>2 for κ>1; f_κ(u)=0 for 0 0 for u > β_κ (β₂ ≈ 4.266), +• β₂ ≈ 4.266 in print (p. 79, §6.5 Notes): "f_κ(u) > 0 for u > β_κ (β₂ ≈ 4.266), the so-called sieving limit. Below this point f_κ(u)=0, and Theorem 9.1 - yields only the trivial lower bound" — the exact positivity mechanism this - note uses; and it is the BEST κ=2 sifting limit (book compares 4.42 - Ankeny–Onishi, 4.834 Rosser–Iwaniec). -• α_κ ≥ β_κ+1 for κ ≥ 2 (p. 77) — internal to the book's proof of Theorem 9.1 + yields only the trivial lower bound", the exact positivity mechanism this + note uses; and it is the smallest published κ=2 sifting limit (the book + compares 4.42 Ankeny–Onishi, 4.834 Rosser–Iwaniec; Blight's 4.45 is in §2). +• α_κ ≥ β_κ+1 for κ ≥ 2 (p. 77), internal to the book's proof of Theorem 9.1 (near 9.42), not a hypothesis we owe: Theorem 9.1 as stated on p. 104 assumes only Ω(κ). Note α₂'s exact value is not needed (our exponent is β₂, not α₂). **Where the pages are**, because the folder name misleads: `attestation/` @@ -36,6 +38,23 @@ --- +**Abstract.** Let G₂(n) be the largest cyclic gap between consecutive +residues r modulo pₙ# with gcd(r(r+2), pₙ#) = 1, the twin Jacobsthal +function. Relying on the dimension-two lower-bound sieve of +Diamond–Halberstam (Theorem 9.1 of their 2008 book), we prove that for every +ε > 0 there is a constant C(ε) with G₂(n) ≤ C(ε) pₙ^{β₂+ε}, where +β₂ = 4.26645… is the DHR sifting limit; the constant is not explicit. The +pointwise inequality G₂(x#) ≥ g(x#) against the ordinary Jacobsthal function +gives, by Ford–Green–Konyagin–Maynard–Tao, +G₂(x#) ≫ x log x logloglog x / loglog x. The exact values G₂ = 2, 6, …, 618 +for pₙ ≤ 43 (OEIS A144311 shifted by one) sit four orders of magnitude below +the upper bound; a control-corrected power fit on 22 terms reads 1.50 ± 0.05, +conditional on the conjectured one-class exponent. Within the searches +recorded in this repository, no upper bound at any exponent was in print +before. If the sieve citation failed, the fundamental lemma gives exponent +19 + ε for a class-fixed sequence. Nothing here bears on the twin prime +conjecture, which would need exponent 2 with a constant below 1. + ## 1. Setup and statement For the primorial P = Pₙ# = ∏_{p ≤ pₙ} p, call r a **twin candidate** mod P if @@ -54,37 +73,45 @@ G₂(n) = the largest gap between consecutive twin candidates mod Pₙ# (cyclically). -Computed exactly in this repository (research/05, 05b, verify-ladder-big): - - G₂ = 2, 6, 12, 30, 42, 66, 108, 150, 204, 258, 348, 528, 546 - for pₙ = 2, 3, …, 41. - -The thirteenth term is not new to the literature: OEIS A144311 (Carter, -2008) carries the same object shifted by one, with a(13) = 545, so 546 was -published in that form a decade and a half before this note recomputed it. -What this note adds is custody. G₂(41#) = 546 was found at +Computed exactly in this repository (research/05-twin-jacobsthal.js through +23#, 05b-twin-jacobsthal-segmented.js at 29#, exact-g2-ladder.js and the +ladder table of research/G2-STATE.md §2 for 31# to 43#; verify-ladder-big.js +verifies the census, not the gaps, through 37#): + + G₂ = 2, 6, 12, 30, 42, 66, 108, 150, 204, 258, 348, 528, 546, 618 + for pₙ = 2, 3, …, 43. + +The last two terms are not new to the literature: OEIS A144311 (Carter, +2008; 22 terms to pₙ = 79, the program on the entry a C++ depth-first search +by Jinyuan Wang) carries the same object shifted by one, with a(13) = 545 and +a(14) = 617, so 546 and 618 were published in that form well before this note +recomputed them. What this note adds is custody. G₂(41#) = 546 was found at r = 3,784,200,788,231 over a period 41# = 304,250,263,527,210 with D₄₁ = 8,499,244,879,125 twin candidates, and the maximality search was then run twice on disjoint natal masks, each pass covering the full period. The position certificate has been re-checked independently besides: r and r + 546 are both twin candidates and none of the 545 integers strictly between them is, so G₂(41#) ≥ 546 is elementary and reproducible in a line. -Agreement with A144311, computed by a branch-and-bound that shares no code -or method with the enumeration here, makes the term checked from three -directions. The exponent estimates in §5 are the -ten-term (pₙ ≤ 37) fits of research/exponent-control.md §1; the 22-term -refit of 2026-08-21 (§5 there) is quoted alongside them in §5 below. +Agreement with A144311, computed by a search that shares no code with the +enumeration here, makes the term checked from three directions. G₂(43#) = 618 +was computed the same day, twice on disjoint natal masks, and agrees with +a(14) = 617 + 1 (research/G2-STATE.md §2). The 2026-09-09 audit re-derived +the ladder through 23# by a direct sieve of each period and re-checked the +41# position certificate in exact integer arithmetic. The exponent estimates +in §5 are the ten-term (pₙ ≤ 37) fits recorded in research/exponent-control.js +(pilot line) and research/exponent-control.md; the 22-term refit of +2026-08-21 (§5 there) is quoted alongside them in §5 below. -No upper bound for G₂ at any exponent appears in the literature (audit: +No upper bound for G₂ at any exponent appears in the literature (audit, scoped to the searches recorded there: research/covering-dive.md §2.2, research/PRIOR-ART.md; the only adjacent statement is Ziller–Morack's *conjectural* h₂(n) < pₙ² − pₙ for their stronger all-even-differences function, arXiv:1706.00317, Conjecture 6, and Holt's 2007–2026 programme on the cycle of gaps, which studies constellation -populations and never the spacing between consecutive occurrences of the gap -2). The purpose of this note is to +populations and, in the papers read for research/PRIOR-ART.md, not the spacing +between consecutive occurrences of the gap 2). The purpose of this note is to record that standard sieve machinery, run with no new ideas, already yields: -> **Theorem (conditional on the cited sieve; see §6).** Let β₂ = 4.26645… be +> **Theorem (relying on the cited sieve, Diamond–Halberstam Theorem 9.1; see §6).** Let β₂ = 4.26645… be > the sifting limit of the Diamond–Halberstam–Richert (DHR) two-dimensional > lower-bound sieve. For every ε > 0 there is a constant C(ε) such that > @@ -93,31 +120,30 @@ > Equivalently, since log Pₙ# ~ pₙ: writing q = Pₙ#, the gaps between > consecutive r with gcd(r(r+2), q) = 1 are ≪_ε (log q)^{4.267+ε}. -Weak as this looks against the data (§5), it would — per our audit — be the -first published upper bound of any exponent for the two-class problem. - ## 2. The sieve input We use the lower-bound sieve of dimension κ = 2. References: H. G. Diamond, H. Halberstam, *A Higher-Dimensional Sieve Method: With Procedures for Computing Sieve Functions by William F. Galway* (Cambridge Tracts in -Mathematics 177, CUP 2008) — note the book is by Diamond & Halberstam alone, +Mathematics 177, CUP 2008), note the book is by Diamond & Halberstam alone, with an appendix by Galway; Richert (d. 1993) is a co-author of the underlying papers after which the sieve is named (DHR, *Combinatorial sieves of dimension exceeding one*, J. Number Theory 28 (1988) 306–346, and the -*Boundary value problem* papers I–III, 1990–1994). Also: H. Halberstam, -H.-E. Richert, *Sieve Methods* (Academic Press, 1974), Ch. 10 in older -notation; C. S. Franze, *Sifting limits for the Λ²Λ⁻ sieve*, J. Number Theory -131 (2011), arXiv:1012.3809, Table 1, which tabulates the DHR sifting limits +*Boundary value problem* papers I–III: Progress in Mathematics (1990) +133–157, J. Number Theory 45 (1993) 129–185 and 47 (1994) 300–328). Also: H. Halberstam, +H.-E. Richert, *Sieve Methods* (Academic Press, 1974), in older +notation (cited from secondary accounts; the 1974 text has not been read at +the page in this repository, and the chapter is not verified); C. S. Franze, *Sifting limits for the Λ²Λ⁻ sieve*, J. Number Theory +131 (2011), no. 10, 1962–1982, arXiv:1012.3809, Table 1, which tabulates the DHR sifting limits to 3 d.p., giving **β₂ = 4.266** at κ = 2 (Selberg's Λ²Λ⁻ gives the weaker 4.516 there; either suffices for a theorem of this shape, with the exponent -adjusted). One further κ = 2 sifting limit belongs in this comparison and is -added here for completeness: S. E. Blight, *Refinements of Selberg's Sieve*, +adjusted). One further κ = 2 sifting limit belongs in this comparison: S. E. Blight, *Refinements of Selberg's Sieve*, PhD thesis, Rutgers, 2010 (advisor H. Iwaniec), rucore.libraries.rutgers.edu/rutgers-lib/27420, obtains **β₂ < 4.45** (with β₃ < 6.458 and β₄ < 8.47) from Selberg weights that account for numbers with -up to three prime factors. That improves on Franze's 4.516 and is **still -worse than DHR's 4.26645**, so it adds a third independent point to the +up to three prime factors (the three figures re-read in the thesis PDF on +2026-09-11, each beside its κ and the three-prime-factor weights). That +improves on Franze's 4.516 and is still worse than DHR's 4.26645, so it adds a third independent point to the superlative in the status block above rather than disturbing it: at κ = 2 the published field is Rosser–Iwaniec 4.834, Ankeny–Onishi 4.42, Λ²Λ⁻ 4.516, Blight 4.45, DHR 4.26645, and the exponent this note proves is the smallest of @@ -146,11 +172,11 @@ where V(z) = ∏_{p β₂, and tends to 1 — in particular f₂(u) > 0 for +monotonically for u > β₂, and tends to 1, in particular f₂(u) > 0 for u > β₂. (The 2·4^{ν(m)} weighting at level y is the DH book's remainder form; the older Halberstam–Richert condition R(κ,α) carries 3^{ν(d)}, and some formulations need only Σ|r_d|. We take the heaviest form since even it is -harmless here — see §3.) +harmless here, see §3.) **Our sieve problem.** Fix an interval (x, x+H] and set A = { r(r+2) : x < r ≤ x+H }, z = pₙ + 1, X = H. (Not z = pₙ: S(A, P, z) @@ -169,11 +195,12 @@ ∏_{z₁ ≤ p < z₂} (1 − ω(p)/p)^{−1} ≤ (log z₂ / log z₁)² · (1 + L/log z₁) -with an absolute constant L — the product-form condition Ω(κ,L) holds at +with an absolute constant L, the product-form condition Ω(κ,L) holds at κ = 2. (Equivalently, in sum form: Σ_{w≤p0 ⟺ u>β_κ; below it the sieve is trivial - — p. 79 verbatim), β₂ ≈ 4.266 as the *best* known κ=2 sifting limit, and + f_κ, the positivity mechanism (f_κ>0 ⟺ u>β_κ; below it the sieve is trivial, + p. 79 verbatim), β₂ ≈ 4.266 as the smallest published κ=2 sifting limit + (§2), and α_κ ≥ β_κ+1 for κ≥2 (p. 77). **The book does our setup and our density check for us.** Its own §1.3–1.4 motivating example (Example 1.2, pp. 7–8) is A = {L(n) : x − y < n ≤ x}, @@ -307,12 +350,18 @@ solutions of L(n)≡0 mod d}, notes ω(p) ≤ g with equality for p∤Δ, bounds |r_A(d)| ≤ ω(d) ≤ g^{ν(d)}, and states (p. 8) "Ω(κ) holds in Example 1.2 with κ = g." For L(n)=n(n+2): g=2, Δ=2, so ω(p)=2 for odd p (the two roots - n≡0, n≡−2) and ω(2)=1 — *precisely our tile's forbidden classes* — giving + n≡0, n≡−2) and ω(2)=1, *precisely our tile's forbidden classes*, giving dimension κ=2. The book's check uses only ω(p) ≤ g and nothing about the polynomial, so it holds at every dimension. The density hypothesis §2 - verifies by hand is the book's own worked example, and so is the sequence. No mathematical or bibliographic item remains open; this is - a theorem, verified end-to-end on primary sources, with the derivation's - novelty being its application to G₂ (the largest gap) rather than to counts. + verifies by hand is the book's own worked example, and so is the sequence. + No mathematical item remains open on the sieve input; the theorem rests on + primary sources for the book's part, on secondary accounts for the + Halberstam–Richert 1974 page (§2), and its constants are inexplicit (§6.4). + What is ours is the dimension-2 instantiation, not the method: reading a + Jacobsthal bound off a sieve's error exponent is on record at dimension one + (MathOverflow 37679, answer 52890, 2011, j(x#) ≪ x^{4.032}; + research/G2-STATE.md §8), and the closeness of the two exponents is + coincidence. Audit trail: research/dhr-verification.md. **Definition 1.3 is sourced primarily and corroborated twice.** The quantifier over all pairs (w₁, w) is the load-bearing part: a κ that holds @@ -331,22 +380,22 @@ sifting set, which the book's own eq. (1.3) licenses (ω(p) = 0 off P). Our ω(p) = 2 for odd p ≤ pₙ satisfies the condition at every pair with an absolute A, which is §2's dimension check and is unaffected. -2. **The remainder form — VERIFIED.** Theorem 9.1 accepts remainders through +2. **The remainder form, verified.** Theorem 9.1 accepts remainders through 2 Σ_{m|P(z), m 9κ + 10 log K (K the absolute Mertens constant for - ∏(1 − 2/p)^{−1}). This yields the same theorem with the worse but still - finite exponent **≈ 19 + ε** (plus the 10 log K term). Formulations differ - in the constant (HR-1974-type forms give positivity at an absolute but - inexplicit u₀(κ)); ANY such version already yields "the first upper bound - at some finite explicit exponent." -6. **Ceiling acknowledged:** exponent 2 is equivalent in strength to the twin - prime conjecture (crystallization/p²-rule) and is unreachable by pure - sieve methods (parity; Selberg's examples). Improving 4.266… toward 2 is + needs s > 9κ + 10 ln K, where K is the constant of the lemma's hypothesis + (iii): ∏_{w₁≤p e^{0.1}. Formulations + differ in the constant (HR-1974-type forms give positivity at an absolute + but inexplicit u₀(κ)); any such version yields the same theorem at some + finite exponent. +6. **Ceiling acknowledged:** exponent 2 with constant below 1 (G₂(x#) < + x′² − 2) implies the twin prime conjecture by the p²-rule, and the + zone-occupancy weak form is equivalent to it (research/G2-STATE.md §1c); a + bound at exponent 2 with an unspecified constant implies neither. That + threshold is not reachable by known sieve methods alone (parity; Selberg's + examples). Improving 4.266… toward 2 is the recognized dimension-2 sifting-limit problem. Nothing in this note moves the wall; it fills the empty shelf in front of it. @@ -372,11 +439,13 @@ closed (§6). What remains is presentation and risk control. (i) Add the explicit-constant variant via Franze's tables; (ii) state the general-squarefree-q corollary in terms of P⁺(q); (iii) a referee-proof rewrite -of (∗) and the mean-value estimate; (iv) fold in the lower bound of §5, so the -note brackets G₂ rather than capping it; (v) an expert sanity pass, since the +of (∗) (the mean-value estimate now has its elementary form in §3; the lower +bound is already folded in, §5); +(iv) an expert sanity pass, since the result is modest enough that the main risk is not depth but a convention -mismatch in the sieve statement. Companion citations: A059861 (census), our G₂ -data and OEIS draft (research/oeis-G2-submission.md), Erdős, *On the integers +mismatch in the sieve statement. Companion citations: A059861 (census), A144311 (the ladder, as G₂ − 1; +the OEIS draft research/oeis-G2-submission.md is closed as a duplicate of it), +Erdős, *On the integers relatively prime to n and on a number-theoretic function considered by Jacobsthal*, Math. Scand. 10 (1962), 163–170, for the one-class ancestor, Ziller–Morack for the h₂ contrast, FKMPT Remark 7 for the two-dimensionality @@ -390,7 +459,8 @@ > The framework, vocabulary, and driving questions are the author's, > developed over six years of independent work. Formal derivations, > literature audits, computations, and manuscript drafting were carried out -> using an AI assistant operating under the author's -> direction; all results were verified by explicit computation, with code -> and outputs published in the accompanying repository, and all refuted -> intermediate claims retained in the record. +> using AI assistants under the author's +> direction. Computations have reproducible code and recorded outputs; +> asymptotic arguments require their stated mathematical inputs and are not +> proved by finite checks. Refuted intermediate claims are retained in the +> record.