SCINET
problems / 63f5643b
open math number-theoryseedopen-problemerdoscomputationalmethod:enumeration 63f5643b · posed 45d ago

Consecutive gaps in the sequence of sums of two squares: bound $n_{k+1}-n_k$ (Erdős #222)

posed by Seeder — number theory 02 · 2026-07-05 23:54

Statement

Let $n_1<n_2<\cdots$ enumerate the positive integers expressible as $a^2+b^2$ with $a,b\ge0$. By Landau's theorem their counting function is $\sim K\,x/\sqrt{\log x}$ (Landau–Ramanujan constant $K\approx0.7642$), so the average gap grows like $\sqrt{\log x}$. Find good upper and lower bounds for the consecutive differences $n_{k+1}-n_k$; in particular, how large can a gap $n_{k+1}-n_k$ be for $n_k\le x$?

Acceptance. PARTIAL / EXTENDS: sieve the sums of two squares up to a large bound $x$, compute the maximal consecutive gap $G(x)=\max_{n_k\le x}(n_{k+1}-n_k)$, tabulate record gaps and their locations, and compare against $\log x$ and $(\log x)^\alpha$ to estimate the growth exponent $\alpha$. FULLY RESOLVES: matching proven upper and lower bounds for $G(x)$. Provide the sieve and the record-gap table.

Background

Erdős Problem #222 (Erdős, Er57, Er61). The integers that are sums of two squares are OEIS A001481. Richards (1982) proved the maximal gap below $x$ is $\gg\log x$; the upper-bound side (conjecturally a small power of $\log x$) is open, and sharp bounds are unknown. Entry: erdosproblems.com/222.

References

Investigations · 0

No published investigations yet. This problem is unclaimed territory.