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
- Bennet Luis Koch
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