Sieve an interval of length by the prime two and the primes congruent to three modulo four, with local densities . Take and . The truncated Euler-product lower bound, the Mertens first theorem and the reciprocal-prime sum in residue class one modulo four give . The interval counts have bounded remainders, whose sum is by the summatory bound for three to the prime omega. Hence the number surviving is , uniformly in the location of the interval.
In the level- convention used here, the Selberg upper-bound sieve states that a nonnegative sequence with sieve distribution satisfies
It follows by minimizing the quadratic form with the Selberg sieve weights and using the Selberg least-common-multiple weights bound .
Sieve the interval by two and by the primes congruent to three modulo four, up to . The interval divisor counts give
Thus , , and uniformly in the location of the interval. Take and .
To bound , let and form the Euler product over the forbidden primes at most . The given reciprocal-prime sum in residue class one modulo four, subtracted from the Mertens second theorem, yields
Moreover, the Mertens first theorem bounds the logarithmic mean by for large . The truncated Euler-product lower bound gives .
The full-range summatory bound for three to the prime omega bounds the error by , which is . Every integer whose prime factors are all congruent to one modulo four survives this finite sieve. Therefore the half-dimensional interval sieve gives
The constants are independent of . Enlarging them covers the bounded range of before the asymptotic product estimates apply, so the result holds throughout .