Sieve theory is a set of general techniques in
number theory
Number theory is a branch of pure mathematics devoted primarily to the study of the integers and arithmetic functions. Number theorists study prime numbers as well as the properties of mathematical objects constructed from integers (for example ...
, designed to count, or more realistically to estimate the size of, sifted sets of integers. The prototypical example of a sifted set is the set of
prime number
A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
s up to some prescribed limit ''X''. Correspondingly, the prototypical example of a sieve is the
sieve of Eratosthenes, or the more general
Legendre sieve. The direct attack on prime numbers using these methods soon reaches apparently insuperable obstacles, in the way of the accumulation of error terms. In one of the major strands of number theory in the twentieth century, ways were found of avoiding some of the difficulties of a frontal attack with a naive idea of what sieving should be.
One successful approach is to approximate a specific sifted set of numbers (e.g. the set of prime numbers) by another, simpler set (e.g. the set of
almost prime numbers), which is typically somewhat larger than the original set, and easier to analyze. More sophisticated sieves also do not work directly with sets ''per se'', but instead count them according to carefully chosen
weight function
A weight function is a mathematical device used when performing a sum, integral, or average to give some elements more "weight" or influence on the result than other elements in the same set. The result of this application of a weight function is ...
s on these sets (options for giving some elements of these sets more "weight" than others). Furthermore, in some modern applications, sieves are used not to estimate the size of a sifted
set, but to produce a function that is large on the set and mostly small outside it, while being easier to analyze than the
characteristic function In mathematics, the term "characteristic function" can refer to any of several distinct concepts:
* The indicator function of a subset, that is the function
\mathbf_A\colon X \to \,
which for a given subset ''A'' of ''X'', has value 1 at points ...
of the set.
The term ''sieve'' was first used by the
Norwegian mathematician
Viggo Brun in 1915. However Brun's work was inspired by the works of the
French mathematician
Jean Merlin who died in the
World War I
World War I or the First World War (28 July 1914 – 11 November 1918), also known as the Great War, was a World war, global conflict between two coalitions: the Allies of World War I, Allies (or Entente) and the Central Powers. Fighting to ...
and only two of his manuscripts survived.
Basic sieve theory
For information on notation see at the end. We follow the
Ansatz
In physics and mathematics, an ansatz (; , meaning: "initial placement of a tool at a work piece", plural ansatzes or, from German, ansätze ; ) is an educated guess or an additional assumption made to help solve a problem, and which may later be ...
from ''Opera de Cribro'' by
John Friedlander and
Henryk Iwaniec.
We start with some
countable
In mathematics, a Set (mathematics), set is countable if either it is finite set, finite or it can be made in one to one correspondence with the set of natural numbers. Equivalently, a set is ''countable'' if there exists an injective function fro ...
sequence of non-negative numbers
. In the most basic case this sequence is just the
indicator function
In mathematics, an indicator function or a characteristic function of a subset of a set is a function that maps elements of the subset to one, and all other elements to zero. That is, if is a subset of some set , then the indicator functio ...
of some set
we want to sieve. However this abstraction allows for more general situations. Next we introduce a general set of prime numbers called the ''sifting range''
and their product up to
as a function
.
The goal of sieve theory is to estimate the ''sifting function''
:
In the case of
this just counts the
cardinality
The thumb is the first digit of the hand, next to the index finger. When a person is standing in the medical anatomical position (where the palm is facing to the front), the thumb is the outermost digit. The Medical Latin English noun for thum ...
of a subset
of numbers, that are
coprime
In number theory, two integers and are coprime, relatively prime or mutually prime if the only positive integer that is a divisor of both of them is 1. Consequently, any prime number that divides does not divide , and vice versa. This is equiv ...
to the
prime factor
A prime number (or a prime) is a natural number greater than 1 that is not a product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime because the only ways ...
s of
.
The inclusion–exclusion principle
For
define
:
and for each prime
denote the subset
of multiples
and let
be the cardinality.
We now introduce a way to calculate the cardinality of
. For this the sifting range
will be a concrete example of primes of the form
.
If one wants to calculate the cardinality of
, one can apply the
inclusion–exclusion principle. This algorithm works like this: first one removes from the cardinality of
the cardinality
and
. Now since one has removed the numbers that are divisible by
and
twice, one has to add the cardinality
. In the next step one removes
and adds
and
again. Additionally one has now to remove
, i.e. the cardinality of all numbers divisible by
and
. This leads to the inclusion–exclusion principle
:
Notice that one can write this as
:
where
is the
Möbius function
The Möbius function \mu(n) is a multiplicative function in number theory introduced by the German mathematician August Ferdinand Möbius (also transliterated ''Moebius'') in 1832. It is ubiquitous in elementary and analytic number theory and m ...
and
the product of all primes in
and
.
Legendre's identity
We can rewrite the sifting function with ''Legendre's identity''
:
by using the
Möbius function
The Möbius function \mu(n) is a multiplicative function in number theory introduced by the German mathematician August Ferdinand Möbius (also transliterated ''Moebius'') in 1832. It is ubiquitous in elementary and analytic number theory and m ...
and some functions
induced by the elements of
:
Example
Let
and
. The Möbius function is negative for every prime, so we get
:
Approximation of the congruence sum
One assumes then that
can be written as
:
where
is a ''density'', meaning a
multiplicative function
In number theory, a multiplicative function is an arithmetic function f of a positive integer n with the property that f(1)=1 and
f(ab) = f(a)f(b) whenever a and b are coprime.
An arithmetic function is said to be completely multiplicative (o ...
such that
:
and
is an approximation of
and
is some remainder term. The sifting function becomes
:
or in short
:
One tries then to estimate the sifting function by finding upper and lower
bounds for
respectively
and
.
The partial sum of the sifting function alternately over- and undercounts, so the remainder term will be huge.
Brun's idea to improve this was to replace
in the sifting function with a weight sequence
consisting of restricted Möbius functions. Choosing two appropriate sequences
and
and denoting the sifting functions with
and
, one can get lower and upper bounds for the original sifting functions
:
Since
is multiplicative, one can also work with the identity
:
Notation: a word of caution regarding the notation, in the literature one often identifies the set of sequences
with the set
itself. This means one writes
to define a sequence
. Also in the literature the sum
is sometimes notated as the cardinality
of some set
, while we have defined
to be already the cardinality of this set. We used
to denote the set of primes and
for the
greatest common divisor
In mathematics, the greatest common divisor (GCD), also known as greatest common factor (GCF), of two or more integers, which are not all zero, is the largest positive integer that divides each of the integers. For two integers , , the greatest co ...
of
and
.
Types of sieving
Modern sieves include the
Brun sieve, the
Selberg sieve, the
Turán sieve, the
large sieve, the
larger sieve and the
Goldston–Pintz–Yıldırım sieve. One of the original purposes of sieve theory was to try to prove conjectures in number theory such as the
twin prime conjecture. While the original broad aims of sieve theory still are largely unachieved, there have been some partial successes, especially in combination with other number theoretic tools. Highlights include:
# ''
Brun's theorem'', which shows that the sum of the reciprocals of the twin primes converges (whereas the sum of the reciprocals of all primes diverges);
# ''
Chen's theorem
In number theory, Chen's theorem states that every sufficiently large parity (mathematics), even number can be written as the sum of either two prime number, primes, or a prime and a semiprime (the product of two primes).
It is a weakened form o ...
'', which shows that there are infinitely many primes ''p'' such that ''p'' + 2 is either a prime or a
semiprime (the product of two primes); a closely related theorem of
Chen Jingrun asserts that every
sufficiently large
In the mathematical areas of number theory and analysis, an infinite sequence or a function is said to eventually have a certain property, if it does not have the said property across all its ordered instances, but will after some instances have ...
even number is the sum of a prime and another number which is either a prime or a semiprime. These can be considered to be near-misses to the
twin prime conjecture and the
Goldbach conjecture respectively.
# The ''
fundamental lemma of sieve theory In number theory, the fundamental lemma of sieve theory is any of several results that systematize the process of applying Sieve theory, sieve methods to particular problems. Heini Halberstam, Halberstam & Hans-Egon Richert, Richert
write:
Diamo ...
'', which asserts that if one is sifting a set of ''N'' numbers, then one can accurately estimate the number of elements left in the sieve after
iterations provided that
is sufficiently small (fractions such as 1/10 are quite typical here). This lemma is usually too weak to sieve out primes (which generally require something like
iterations), but can be enough to obtain results regarding almost primes.
# The ''
Friedlander–Iwaniec theorem'', which asserts that there are infinitely many primes of the form
.
#
Zhang's theorem , which shows that there are infinitely many
pairs of primes within a bounded distance. The Maynard–Tao theorem generalizes Zhang's theorem to arbitrarily long sequences of primes.
Techniques of sieve theory
The techniques of sieve theory can be quite powerful, but they seem to be limited by an obstacle known as the ''
parity problem'', which roughly speaking asserts that sieve theory methods have extreme difficulty distinguishing between numbers with an odd number of prime factors and numbers with an even number of prime factors. This parity problem is still not very well understood.
Compared with other methods in number theory, sieve theory is comparatively ''elementary'', in the sense that it does not necessarily require sophisticated concepts from either
algebraic number theory
Algebraic number theory is a branch of number theory that uses the techniques of abstract algebra to study the integers, rational numbers, and their generalizations. Number-theoretic questions are expressed in terms of properties of algebraic ob ...
or
analytic number theory
In mathematics, analytic number theory is a branch of number theory that uses methods from mathematical analysis to solve problems about the integers. It is often said to have begun with Peter Gustav Lejeune Dirichlet's 1837 introduction of Dir ...
. Nevertheless, the more advanced sieves can still get very intricate and delicate (especially when combined with other deep techniques in number theory), and entire textbooks have been devoted to this single subfield of number theory; a classic reference is and a more modern text is .
The sieve methods discussed in this article are not closely related to the
integer factorization
In mathematics, integer factorization is the decomposition of a positive integer into a product of integers. Every positive integer greater than 1 is either the product of two or more integer factors greater than 1, in which case it is a comp ...
sieve methods such as the
quadratic sieve and the
general number field sieve. Those factorization methods use the idea of the
sieve of Eratosthenes to determine efficiently which members of a list of numbers can be completely factored into small primes.
Literature
*
*
*
*
*
*
*
*
*
*
External links
*
References
{{DEFAULTSORT:Sieve Theory