A Vanishing Lower Ratio for Primes of the Form $n^2+s^2$
OEIS A069004 conjectured that a(n), the number of s in [1,n) with n^2+s^2 prime, satisfies a(n) >= π(n)/5 for all n>1. The paper aims to disprove this, and in a stronger form.
Take n = 2^r M, where M is a product of primes congruent to 3 mod 4, so that each such prime excludes the residue class s ≡ 0. A large-sieve bound is paired with an asymptotic for the sieve denominator, obtained via an Euler product, Karamata's Tauberian theorem and the prime number theorem. The construction was motivated by a Lean 4 formal disproof that uses Selberg's sieve with explicit bounds and passed an automated proof check in the Open Math Agents project.
The ratio a(n)/π(n) has limit inferior zero, so infinitely many counterexamples to the conjecture exist. The original Lean proof gives an explicit counterexample with threshold B > 200000. The new asymptotic argument is not itself formalized in Lean.
