# 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 (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. 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), 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 (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/` holds Ch. 9, pp. 103–112 (Theorem 9.1); `attestation/book-ch5-6/` holds pp. 3–12 (Example 1.2, Definition 1.3) **as well as** pp. 43–79 (Ch. 5–6). Audit trail: research/dhr-verification.md.** --- ## 1. Setup and statement For the primorial P = Pₙ# = ∏_{p ≤ pₙ} p, call r a **twin candidate** mod P if gcd(r, P) = gcd(r+2, P) = 1, equivalently gcd(r(r+2), P) = 1. These are the "twin slots" of the tile Tₚₙ: for p = 2 the condition forbids one residue class (r even), and for each odd p ≤ pₙ it forbids the two classes r ≡ 0 and r ≡ −2 (mod p). The number of twin candidates per period is the census ∏_{2 **Theorem (conditional on the cited sieve; 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 > > **G₂(n) ≤ C(ε) · pₙ^{β₂+ε}** for all n. > > 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, 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 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*, 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 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 them. The precise value is due to A. Booker & T. D. Browning, *Square-free values of reducible polynomials*, Discrete Analysis 2016:8, arXiv:1511.00601, whose ancillary table (computed by interval arithmetic, each entry correctly truncated at the 20th decimal place) gives rigorously β₂ = 4.26645028414864191641 (lower bound; add 10⁻²⁰ for an upper bound). Shape of the theorem we invoke (the DH book's Theorem 9.1; conclusion quoted verbatim through Franze–Kao, arXiv:1812.11280, eqs. (19)/(20)): let A be a finite integer sequence, and for squarefree d | P(z) suppose |A_d| = (ω(d)/d)·X + r_d, ω multiplicative, 0 ≤ ω(p) < p, with the dimension condition in the one-sided product form (Ω(κ,L)): ∏_{z₁ ≤ p < z₂} (1 − ω(p)/p)^{−1} ≤ (log z₂ / log z₁)^κ · (1 + L/log z₁) (2 ≤ z₁ < z₂), for κ = 2. Then for any 2 ≤ z ≤ y, with u = log y / log z, S(A, z) ≥ X · V(z) · { f₂(u) − O((log log y)² / (log y)^{1/(2κ+2)}) } − 2 Σ_{m | P(z), m < y} 4^{ν(m)} |r_m|, where V(z) = ∏_{p β₂, 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.) **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) conventionally sifts the primes p < z, so z = pₙ would fail to sift pₙ itself; z = pₙ + 1 sifts all p ≤ pₙ, as required.) For squarefree d | P(z), the condition d | r(r+2) confines r to exactly ω(d) residue classes mod d, where ω(2) = 1, ω(p) = 2 (odd p), ω(d) = ∏_{p|d} ω(p) = 2^{ν'(d)} (ν'(d) = number of odd prime factors; the classes are distinct mod odd p because 0 ≢ −2). Counting each class in an interval of length H: |A_d| = (ω(d)/d)·H + r_d, |r_d| ≤ ω(d) ≤ 2^{ν(d)}. (∗) **Dimension check.** By Mertens' theorem applied to ∏(1 − 2/p), ∏_{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 κ = 2. (Equivalently, in sum form: Σ_{w≤p β₂, so f₂(u) ≥ f₂(β₂+ε/2) =: c(ε) > 0 (f₂ increasing), and the explicit error O((log log y)²/(log y)^{1/6}) is < c(ε)/2 for z ≥ z₀(ε), so: - main term: H · V(z) · { f₂(u) − O(·) } ≫ c(ε) · z^{β₂+ε} / log² z, - remainder: ≪ y log⁷ y ≪ z^{β₂+ε/2} · log⁷ z. The main term dominates by the factor z^{ε/2}/log⁹z → ∞. Hence S(A, z) > 0: **every interval of length z^{β₂+ε} contains a twin candidate**, uniformly in the interval's position x (uniformity is free: (∗) holds for every x with the same constants, and the O(·) in Theorem 9.1 depends only on the Ω-condition constants). Taking x to range over a period gives G₂(n) ≪_ε pₙ^{β₂+ε}; the finitely many n with pₙ < z₀(ε) are absorbed into C(ε). ∎ (modulo §6) ## 4. No transfer lemma needed Iwaniec's 1978 paper needs its Lemma 1 — the divisor-bijection transfer carrying the primorial estimate to arbitrary squarefree moduli — and that lemma is precisely the step queried in the unanswered 2016 MathOverflow question 245539. One unanswered post is not a controversy and the lemma is not known to be wrong; what would help is an explicit-constant or formalised exposition. **The argument avoids it entirely**: G₂ is defined at primorials, the sifting set is "all primes ≤ pₙ", and the sieve above is run directly there. (For general squarefree q the analogous statement with z = P⁺(q) + 1 follows by the same argument sifting only p | q — the dimension condition Ω₂(2) holds a fortiori with the same constants — but the resulting bound is in terms of P⁺(q), not ω(q); the sharper ω(q)-form for general q is exactly where a Lemma-1-style transfer would be needed, and we make no claim there.) ## 5. Numerical sanity, and the bracket the truth sits in The bound versus the verified data, at the largest computed level (pₙ = 41): bound (ignoring C(ε)): 41^{4.26645} ≈ 7.6 × 10⁶; actual G₂ = 546. Slack of four orders of magnitude — a factor of 1.4 × 10⁴ — and the data cannot say how much of it is real. *(Until 2026-08-18 this read "at the largest computed level (pₙ = 37): 37^{4.26645} ≈ 4.9 × 10⁶; actual G₂ = 528", a factor of 9.3 × 10³. The new level widens the gap, as it must while the truth sits near exponent 1.5 and the bound at 4.27.)* On ten terms of G₂ a power fit in pₙ returns 1.801 ± 0.074, and that number is not the exponent: the same estimator run on 58 terms of the one-class Jacobsthal function, whose exponent is 1, returns 1.282 ± 0.008 with white residuals and no drift (research/exponent-control.md §1). Correcting for the control's bias gives 1.54 ± 0.09 for G₂ and 1.57 ± 0.06 for the dominating h₂ of Ziller and Morack, whose 19 terms give the longer lever. **Central estimate 1.57, practical bracket 1.3 to 1.9**, with a proven floor of 1 (h₂ ≥ h and h has exponent 1 + o(1)) and exponent 2 disfavoured by the one-sided direction of the control's bias rather than excluded by the data. *(Update, 2026-08-21: the fit has since been re-run on all 22 trusted terms of A144311, pₙ ≤ 79, against the 64-term control: raw 1.777 ± 0.029, corrected central **1.50 ± 0.05** statistical with the systematic unquantified, practical bracket 1.3 to 1.8; h₂'s 1.57 ± 0.06 is unchanged, its ladder did not extend. The ten-term figures above stand as this note's original record; `research/exponent-control.md` §5.)* The object is now bounded from below as well, and that side is free. Twin slots are a subset of the holes of the same tile, so G₂(x#) ≥ g(x#) pointwise for the ordinary Jacobsthal function g, and the Rankin–Pintz–Ford-Green-Konyagin-Maynard-Tao machinery transfers unchanged: G₂(x#) ≫ x · log x · logloglog x / loglog x (PROVEN, by monotonicity; research/two-class-lower-bounds.md §3). Per the audit this is the first lower bound of any kind recorded for a two-class Jacobsthal function. The point of this note is not sharpness. The interval of provable exponents was entirely empty before, in both directions; the theorem above fills it at 4.267, the Ziller–Morack-style conjectural ceiling sits at 2 (which by the p²-rule mechanism would imply the twin prime conjecture), and the open band is therefore (2, 4.2665]. ## 6. HONESTY SECTION — every step not fully justified here 1. **The DHR theorem — FULLY VERIFIED against the primary source (2026-08-14), no outstanding items.** Read directly from the Diamond–Halberstam book: Theorem 9.1 (pp. 103–112); the formal **Ω(κ) condition, Definition 1.3, eq. (1.5), p. 8** — ∏_{w₁≤p0 ⟺ u>β_κ; below it the sieve is trivial — p. 79 verbatim), β₂ ≈ 4.266 as the *best* known κ=2 sifting limit, 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}, already on an interval, with X = y: it defines ω(d) = #{incongruent 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 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. 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 only at some pairs, or only by letting A grow, is not a dimension. The book's page carries it, together with the constants κ ≥ 1, A > 1. Two independent published restatements agree verbatim, and are kept because they were reached first and because a second reader's transcription is worth having: **D. R. Johnston and S. N. Thomas, *The sum of a prime power and an almost prime*, arXiv:2503.04045v3 (14 May 2025), §2.3**, which prints ∏_{z₁≤p z₁ ≥ 2"**, citing "Diamond, Halberstam, and Galway, *A Higher- Dimensional Sieve Method*, CUP 2008", Ch. 11.1; and **K. Ford, *Sieve methods lecture notes*, Spring 2023, p. 18**, which gives the same inequality for 2 ≤ y ≤ w ≤ z and adds that κ is "the smallest admissible value … with B remaining bounded". Note Johnston–Thomas restrict the product to p ∈ P, the 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 Σ_{m|P(z), m 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 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 the recognized dimension-2 sifting-limit problem. Nothing in this note moves the wall; it fills the empty shelf in front of it. ## 7. What would make this publishable The sieve input is verified against the primary source and the derivation is 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 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 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 context, Granville's *Sieving intervals and Siegel zeros* for the one-class mechanism this note deliberately does not need. ## 8. Authorship & AI disclosure Sole author: Chris Benjaminsen. > 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.