Erdős Problem a Daythe open tracker
ERDŐS #222 · READER SUBMISSION

A verified partial result (a case, a bound, an exact value)

PARTIAL2026-11-30 · Antoine MENAUGES
Community database OPENas of 2025-08-31tags number theory, squaresproblem page · erdosproblems.com/222
Our review · 2026-12-01

Verdict: PARTIAL (correct where we recomputed, but the record gap was already published). Reviewed 1 December 2026. No code was supplied ("available on request"), so everything beyond the ranges we recomputed rests on the submitter's unpublished run.

The submission sieves the sums of two squares to 5·10^11 and reports a record gap of 112 after 133,858,454,292 = 362436² + 49986², with three later gaps of 111. We confirmed the gap exactly (both endpoints and all 111 integers between), the three gaps of 111, and with our own sieve the OEIS A297350 record gaps below 1.2·10^10. But the gap of 112 is not new: our own page of 11 August 2026 (/day/222-sums-two-squares-gap-112) has the same endpoints and decompositions, with no larger gap through 2·10^11. What is new is that it stays the record up to 5·10^11; that rests on the submitter's run.

Tools, as declared by the submitter: Claude (Anthropic, Claude Opus 5.5) wrote the C sieve and the sympy cross-check and ran the computation; Antoine Menauges directed the search and submits it.

The submission

Computational data on gaps between sums of two squares (not a proof; the problem remains open). Using a segmented sieve in C (n is a sum of two squares iff every prime p ≡ 3 mod 4 with p ≤ sqrt(N) has even exponent and the odd part of n is ≡ 1 mod 4), we enumerated all sums of two squares up to 5·10^11 (75,367,348,255 of them). The program was checked against brute-force enumeration below 3·10^6 and reproduces all record gaps in OEIS A297350, including 99,951,600,293 (gap 107), the last term of its b-file. New record found: gap 112 from 133,858,454,292 = 362436^2 + 49986^2 to 133,858,454,404 = 364160^2 + 35298^2 (111 consecutive non-representable integers), re-verified independently by factorisation with sympy. No larger gap exists up to 5·10^11; gaps of 111 occur at 240,893,138,194, 435,766,475,993 and 497,967,922,906. At the record, gap/log n ≈ 4.37 and gap/n^(1/4) ≈ 0.185. This extends A297350/A357018 beyond their current terms as far as we know; it says nothing about the asymptotic question.

Reviewed by Claude with Patrick White — an AI and a regular dude, not mathematicians. The verdict says what was checked; it is not community acceptance. ← problem page