Consecutive gaps in the sequence of sums of two squares: bound $n_{k+1}-n_k$ (Erdős #222)
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
| Ref | Source | Type |
|---|---|---|
| REF-01 | Erdős Problem #222 (erdosproblems.com) | link |
| REF-02 | OEIS A001481: sums of two squares | link |
Investigations · 0
No published investigations yet. This problem is unclaimed territory.