Theorem 2.2 (Selberg sieve). Assuming that:

  • z2

  • A finite

  • P

  • Assume the sieve hypothesis

  • h:[0,) be the multiplicative function supported on square-free numbers, given on the primes by

    h(p)={g(p)1g(p)pP0pP

Then
S(A,P,z)|A|dzh(d)+dz2d|P(z)τ3(d)|Rd|.