Infinitely Many Counterexamples to the OEIS A399993 Conjecture

For n ≥ 1, OEIS A399993 defines a(n) as the least positive integer y² forming the middle term of a strictly increasing three-term arithmetic progression of squares x² < y² < z² (x² + z² = 2y²) such that τ(x²) = τ(y²) = τ(z²) = 6n − 3, where τ is the divisor-counting function. The OEIS entry conjectures that a(n) = 169 m₀(n)² for all n ≥ 1, where m₀(n) is the least positive integer coprime to 7 · 13 · 17 with τ(m₀(n)²) = 2n − 1. We disprove this conjecture and construct an explicit infinite family of counterexamples. Using the alternative base triple (7, 17, 23) instead of (7, 13, 17) frees the prime 13 as an available multiplier factor. For every prime p ≥ 7, setting k = (p − 1)/2 and n(p) = (81p + 1)/2, we prove that a(n(p)) ≤ (36465 · 2^k)² < (38610 · 2^k)² ≤ 169 m₀(n(p))². At p = 7, this yields the smallest counterexample n = 284, where m₀(284) = 23760 gives conjectured value 308880² = 95,406,854,400, whereas the triple (120120², 291720², 394680²) yields a(284) = 291720² = 85,100,558,400. The infinite counterexample theorem, the exact value m₀(284) = 23760, and the refutation at n = 284 are formally verified in Lean 4 / Mathlib with zero sorrys and only standard axioms (propext, Classical.choice, Quot.sound), alongside exhaustive Python Gaussian-integer verification for 1 ≤ n ≤ 284. Disclosure of AI Assistance: Generative AI tools (Gemini / Antigravity) were used to assist in counterexample discovery, Python computational verification, Lean 4 formalization, and LaTeX drafting. The author reviewed, verified, and takes full responsibility for all mathematical arguments, calculations, formalizations, and references in this manuscript.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-12-02
DOI
https://doi.org/10.5281/zenodo.24751970
Primary Topic
Analytic Number Theory Research
Type
preprint
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
preprint

Infinitely Many Counterexamples to the OEIS A399993 Conjecture

Hanghang Shi
9 links
Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
preprint

Infinitely Many Counterexamples to the OEIS A399993 Conjecture

Hanghang Shi
preprint en

Abstract

For n ≥ 1, OEIS A399993 defines a(n) as the least positive integer y² forming the middle term of a strictly increasing three-term arithmetic progression of squares x² < y² < z² (x² + z² = 2y²) such that τ(x²) = τ(y²) = τ(z²) = 6n − 3, where τ is the divisor-counting function. The OEIS entry conjectures that a(n) = 169 m₀(n)² for all n ≥ 1, where m₀(n) is the least positive integer coprime to 7 · 13 · 17 with τ(m₀(n)²) = 2n − 1. We disprove this conjecture and construct an explicit infinite family of counterexamples. Using the alternative base triple (7, 17, 23) instead of (7, 13, 17) frees the prime 13 as an available multiplier factor. For every prime p ≥ 7, setting k = (p − 1)/2 and n(p) = (81p + 1)/2, we prove that a(n(p)) ≤ (36465 · 2^k)² < (38610 · 2^k)² ≤ 169 m₀(n(p))². At p = 7, this yields the smallest counterexample n = 284, where m₀(284) = 23760 gives conjectured value 308880² = 95,406,854,400, whereas the triple (120120², 291720², 394680²) yields a(284) = 291720² = 85,100,558,400. The infinite counterexample theorem, the exact value m₀(284) = 23760, and the refutation at n = 284 are formally verified in Lean 4 / Mathlib with zero sorrys and only standard axioms (propext, Classical.choice, Quot.sound), alongside exhaustive Python Gaussian-integer verification for 1 ≤ n ≤ 284. Disclosure of AI Assistance: Generative AI tools (Gemini / Antigravity) were used to assist in counterexample discovery, Python computational verification, Lean 4 formalization, and LaTeX drafting. The author reviewed, verified, and takes full responsibility for all mathematical arguments, calculations, formalizations, and references in this manuscript.

Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon