sieve of Eratosthenes
The sieve of Eratosthenes is the number-theoretic version of theprinciple of inclusion-exclusion. In the typical application ofthe sieve of Eratosthenes one is concerned with estimating thenumber of elements of a set that are not divisibleby any of the primes in the set .
Möbius inversion formula (http://planetmath.org/MobiusInversionFormula) can be written as
(1) |
If we set then (1) isthe characteristic function (http://planetmath.org/CharacteristicFunction) of the set of numbers that are notdivisible by any of the primes in . If we set to be the number of elements of that are divisible by ,then the number of elements of that are not divisible by anyprimes in can be expressed as
(2) |
Example. To establish an upper bound on the number of primesless than we set and . Then (2) countsthe number of integers between and that are not divisibleby any prime less than . Hence the number of primes notexceeding is
By Mertens’ estimate for the main term is
where is Euler’s constant. Setting we obtain
The obtained bound is clearly inferior to the prime numbertheorem, but the method applies to problems that are not tractableby the other techniques.
The error term of the order can be significantly reducedby using more robust sifting procedures such as Brun’s (http://planetmath.org/BrunsPureSieve) and Selberg’s sieves. For detailed expositionof various sieve methods see monographs[1, 2, 3].
References
- 1 George Greaves. Sieves in number theory
. Springer, 2001. http://www.emis.de/cgi-bin/zmen/ZMATH/en/quick.html?type=html&an=1003.11044Zbl1003.11044.
- 2 H. Halberstam and H.-E. Richert. Sieve methods, volume 4 of London Mathematical SocietyMonographs. 1974. http://www.emis.de/cgi-bin/zmen/ZMATH/en/quick.html?type=html&an=0298.10026Zbl0298.10026.
- 3 C. Hooley. Application of sieve methods to the theory of numbers,volume 70 of Cambridge Tracts in Mathematics. Cambridge Univ. Press, 1976. http://www.emis.de/cgi-bin/zmen/ZMATH/en/quick.html?type=html&an=0327.10044Zbl0327.10044.