Definition
Sieve Methods (Definition)
Let be a set of integers, typically for some set . Let be a finite set of distinct primes. The sieve method aims to estimate the cardinality of the sifted set .\n\nFormally, the count is given by the inclusion-exclusion principle:\n\n\nWhere is the Mobius function, and is the number of elements in divisible by . \n\nFor the standard case , the count is approximated by the product formula, which forms the basis of the sieve's asymptotic estimate:\n \n\nMore generally, the sieve process is formalized by defining a multiplicative function (the sifting weight) such that the count is approximated by , where and is chosen to satisfy the inclusion-exclusion structure while minimizing error terms, as seen in Selberg's sieve weights.