Prime Values after Subtracting Twice a Square

We prove that there are exactly sixteen positive integers n for which n − 2x² is prime for every positive integer x with 2x² < n. This completes OEIS A240842, whose largest term is 199. The proof combines an explicit bound for a splitting prime in a quadratic field, using Alpöge’s theorem for Dirichlet L-functions, with an exact finite calculation. Allowing x = 0, as in Erdős Problem 1140, gives exactly eight solutions. The supplement contains the LaTeX source, a Python checker, an independent C++ verification and their output. The manuscript and documentation are licensed under CC BY 4.0. The checker code and LaTeX layout package are licensed under MIT.

Authors

Publication Details

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

Prime Values after Subtracting Twice a Square

Bennet Luis Koch
Zenodo (CERN European Organization for Nuclear Research)
Analytic Number Theory Research
preprint

Prime Values after Subtracting Twice a Square

Bennet Luis Koch
preprint en

Abstract

We prove that there are exactly sixteen positive integers n for which n − 2x² is prime for every positive integer x with 2x² < n. This completes OEIS A240842, whose largest term is 199. The proof combines an explicit bound for a splitting prime in a quadratic field, using Alpöge’s theorem for Dirichlet L-functions, with an exact finite calculation. Allowing x = 0, as in Erdős Problem 1140, gives exactly eight solutions. The supplement contains the LaTeX source, a Python checker, an independent C++ verification and their output. The manuscript and documentation are licensed under CC BY 4.0. The checker code and LaTeX layout package are licensed under MIT.

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