Int. J. Contemp. Math. Sciences, Vol. 5, 2010, no. 2, 67 - 80
An Overview of Sieve Methods
R. A. Mollin
Department of Mathematics and Statistics University of Calgary, Calgary, Alberta, Canada, T2N 1N4 URL: http://www.math.ucalgary.ca/˜ ramollin/ [email protected]
Abstract
We provide an overview of the power of Sieve methods in number theory meant for the non-specialist.
Mathematics Subject Classification: Primary: 11N35; Secondary: 11- 02; 11N36
Keywords: Sieves, open problems
1 Sieves
Some of the following is adapted from [11]. Sieve methods are used in fac- toring, recognizing primes, finding natural numbers in arithmetic progression whose common difference are primes, or generally to estimate the cardinali- ties of various sets defined by the use of multiplicative properties. Recall that use of a sieve or sieving is a process whereby we find numbers via searching up to a prescribed bound and eliminate candidates as we proceed until only the desired solution set remains. In other words, sieve theory is designed to estimate the size of sifted sets of integers. For instance, sieves may be used to attack the following open problems, for which sieve methods have provided some advances. (a) (The Twin Prime Conjecture) There are infinitely many primes p such that p + 2 is also prime.
(b) (The Goldbach Conjecture) Every even integer n>2 is a sum of two primes. 68 R. A. Mollin
(c) (The p = n2 + 1 Conjecture) There are infinitely many primes p of the form p = n2 +1.
(d) (The q = 4p + 1 Conjecture) There are infinitely many primes p such that q =4p + 1 is also prime.
(e) (Artin’s Conjecture) For any nonsquare integer a ∈{−1, 0, 1}, there exist infinitely many primes p such that a is a primitive root modulo p.
Indeed, in 1986, Heath-Brown [8] used sieving methods to advance the Artin conjecture to within a hair of a solution when he proved that with the possible exception of at most two primes, there are infinitely many primes q such that p is a primitive root modulo q. Thus, sieve methods are important to review for their practical use in number theory and the potential for solutions of outstanding problems such as the above. The fundamental goal of sieve theory is to produce upper and lower bounds for cardinalities of sets of the type, S(S, P,y)={n ∈ S : p n implies p>yfor all p ∈ P}, (1) where S is a finite subset of N, P is a subset of P, the set of all primes, and y is a positive real number.
Example 1 Let √ S = {n ∈ N : n ≤ x} and x Then |S(S, P,y)| = {n ≤ x : p n implies p>y} = π(x) − π(y)+1, one more than the number of primes between x and y. To illustrate (1) more generally, we begin with what has been called “the oldest nontrivial algorithm that has survived to the present day.” From antiq- uity, we have the Sieve of Eratosthenes, which is covered in a first course in number theory—see [10, Example 1.16, p. 31], which sieves to produce primes to a chosen bound. However, as discussed therein, this sieve is highly ineffi- cient. Indeed, since in order to determine the primes up to some bound using ∈ N √this sieve for n , one must check for divisibility by all primes not exceeding n, then the sieve of Eratosthenes has complexity O(n loge n)(loge loge n)), An overview of Sieve methods 69 which even using the world’s fastest computers, this is beyond hope for large integers as a method for recognizing primes. Yet there is a formulation of this sieve that fits nicely into the use of arithmetic functions, and has appli- cations as a tool for modern sieves, so we present that here for completeness and interests sake. Recall that the M¨obius function μ(d) is defined by 1ifn =1, μ(n)= 0ifn is not squarefree, k k (−1) if n = j=1 pj where the pj are distinct primes. Also, let ω(d) denote the number of distinct prime divisors of d, and P the set of all primes. Theorem 1 Eratosthenes’ Sieve Let P = {p1,p2,... ,pn}⊆P be a set of distinct primes and let S ⊆ N with |S| < ∞. Denote by S the number of elements of S not divisible by any of the pj’s and by Sd the number of elements of S divisible by a given d ∈ N. Then S = μ(d)Sd. d|p1p2···pn Moreover, For m =1, 2,... ,n/2 , we have μ(d)Sd ≤ S ≤ μ(d)Sd, d|p p ···p d|p p ···p 1 2 n 1 2 n ω(d)≤2m−1 ω(d)≤2m where (1) is called Eratosthenes’ sieve. Proof. See [12, Corollary 2, p. 147]. 2 For instance, an application of Theorem 1 is that it may be used to prove the following result on the number of primes less than a certain bound, first proved in 1919, by the Norwegian mathematician Viggo Brun (1882–1978). Theorem 2 Brun’s Theorem If n ∈ N and B2n(x) denotes the number of primes p ≤ x for which |p +2n| is also prime, then 2 −2 B2n(x)=O(x(loge loge x) loge x). 70 R. A. Mollin Proof. See [12, Theorem 4.3, p. 148]. 2 Theorem 2 has as a special case, implications for the twin prime conjecture as follows. Corollary 1 Brun’s Constant Let Q be the set of all primes p such that p +2 is also prime, then