Sieve theory estimates the number or total weight of integers that avoid specified residue classes modulo prime numbers. The sifting function records what survives. Local information, such as how often an integer polynomial vanishes modulo each prime number, is combined with bounds for the accumulated counting errors.
For example, among the positive integers at most , deleting multiples of , , and leaves . The Chinese remainder theorem predicts a survival density over a full period of length . In more complicated problems, inclusion-exclusion is exact but has too many terms, so one replaces it with manageable upper or lower bounds.
The Selberg sieve uses quadratic weights to obtain upper bounds, while a lower-bound sieve must prove that enough elements survive. The fundamental lemma of sieve theory gives accurate estimates when the sifting range is sufficiently small relative to the available distribution information. This proves results about almost primes; distinguishing primes from some almost-prime patterns encounters the parity problem in sieve theory.[ref]
A lower-bound sieve constructs a computable lower estimate for the sifting function, the number or weight of objects avoiding specified local exclusions. For positive integers in a finite set , put . Coefficients supported on divisors of are suitable whenSumming over then givesThis separates the desired survival count from more accessible divisibility counts. The weights need not be nonnegative.
For example, deleting multiples of and from leaves at least numbers, by the union bound. Including intersections sharpens this elementary inclusion-exclusion estimate. Effective lower-bound sieves truncate much larger exclusion families while controlling their error; the fundamental lemma of sieve theory makes the main term positive when the distribution information is sufficiently strong.[ref]
Some sieve theory by Terence Tao (254A Notes 4). Combinatorial upper and lower sieve coefficients; Lemma 17
The fundamental lemma of sieve theory says that upper and lower sieve theory estimates approach the expected local-density product when the available distribution level is a sufficiently large power of the sifting limit. One formulation uses a finite set of positive integers andHere ranges over squarefree integers up to , is multiplicative with , and the local densities satisfy a fixed-dimension boundThen a standard version yieldsThe fundamental lemma of sieve theory is useful only after both errors are controlled: large reduces the relative main-term error, while the summed remainders measure the actual arithmetic distribution. It then guarantees survivors, often almost primes, without claiming they are prime.[ref]
Some sieve theory by Terence Tao (254A Notes 4). Equation (22), Lemma 17 and Corollary 19; endpoint convention uses primes below z
An almost prime is a positive integer with few prime factors, counted with multiplicity. WriteA common convention calls a -almost prime when ; sieve notation often instead means . The convention must therefore be stated. For example, has three prime factors with multiplicity, whereas has two. The number has .
This is a natural output of sieve theory. If and every prime factor of is at least , then , hence . Removing sufficiently small prime factors therefore produces almost primes even when proving primality is out of reach. The parity problem in sieve theory explains a major obstruction to upgrading such results to prime values. [ref]
Some sieve theory by Terence Tao (254A Notes 4). Introduction and applications following Corollary 19
Divisibility information by small primes cannot by itself reliably distinguish integers with an odd or even total number of prime factors. Consequently an upper-bound Selberg sieve can bound prime pairs and related sifted sets but does not supply a positive lower bound or the conjectured twin-prime asymptotic. This limitation concerns the information available to the sieve, not merely a choice of weight normalization.
// Target: number-theory.bigb
A positive integer in this set has no prime factor equal to two or congruent to three modulo four. Its prime factors all lie in the residue class one modulo four. For example belongs, while does not, even though itself is congruent to one modulo four. A half-dimensional interval sieve bounds the count in an interval of length by .
The large sieve bounds how much an exponential sum can concentrate at separated points of the circle group. Its variance form of the large sieve also bounds simultaneous concentration in residue classes modulo many primes.
For an interval set avoiding one residue at each sieving prime, the Ramanujan sum at the forbidden Chinese remainder theorem residue gives a linear combination of Fourier samples equal to . Cauchy-Schwarz inequality gives sample energy at least for each squarefree modulus. Summing these energies and applying the analytic large sieve inequality gives the bound. If primes dividing are excluded, restrict the denominator to ; it is uniformly at least a constant times .
For coefficients supported on consecutive integers,The star restricts to primitive Dirichlet characters. Their finite Fourier transform of a primitive Dirichlet character has normalization of absolute value . Orthogonality of Dirichlet characters therefore bounds the weighted contribution for one modulus by . Sum over and use the exponential-sum large sieve on the distinct reduced fractions of denominators at most .
For coefficients supported on an interval of consecutive integers, set and . ThenThe orthogonality of roots of unity gives . The distinct fractions have circular spacing at least ; now apply the exponential-sum large sieve.
If have circular spacing at least , thenMultiply the exponential sum by , apply the Sobolev–Gallagher inequality on disjoint arcs of length , and sum. The finite-interval Parseval identities and Cauchy-Schwarz inequality bound the derivative contribution by .
A triangular taper majorizes a fixed fraction of the summation interval. Its Fourier kernel is the Fejér kernel, bounded by . For separated sample points, split each row sum at distance : the plateau and square-decay tail each contribute , while the diagonal contributes . Bounding the resulting quadratic form proves the dual sieve with constant . Operator norm duality gives the primal sieve.
Let . Without a separation assumption,For , each point belongs to at most integration arcs in the Sobolev–Gallagher inequality. For , is the total number of points, and the Cauchy-Schwarz inequality bound suffices.
When ,An arc of length contains at most three points of each grid of denominator . The Chebyshev estimate gives such primes. Apply the local-multiplicity large sieve. Using only the separation of distinct reduced fractions gives the weaker .
Points have circular spacing at least when for distinct , where . The distance is measured on the circle group , so points near zero and one can be close.
The Buchstab function takes values both above and below on every interval of length one in . The equation propagates any fixed sign forwards; the rapid decay to zero then forces an impossible identically zero tail.
For each fixed , the number of z-sieved numbers at most satisfies as . The fixed- asymptotic does not extend to .
A -rough integer has no prime factor below ; is included. Some authors instead exclude prime factors at most , so the endpoint convention should be stated.
For a finite set of positive integers and a set of prime numbers , the sifting function counts elements divisible by no prime number in strictly below :The strict inequality is the endpoint convention used in the Buchstab identity here. With an empty product, and every element survives.
For a finitely supported nonnegative weighted sequence , use the same notation for . Choosing to be the indicator function of recovers the set version. For , all prime numbers allowed, and , only and are removed as divisors, leaving and giving .
Put . A nonnegative sequence has distribution when is multiplicative on the squarefree divisors of , , andfor every .
If , ordering the least prime factor giveswhere in a set formulation, or equivalently restricts the original sequence to terms divisible by .
An upper-bound sieve bounds the size of a sifted set from above. In a dimension-one problem with one forbidden class modulo each relevant prime , its main density factor is comparable to .
For and , the prime-counting function in an arithmetic progression satisfiesThe denominator involves the Euler totient function and the length-to-modulus ratio. In particular, for with fixed , this is .
The Selberg sieve constructs an upper bound for a sifting function using a square. Let be a squarefree integer, choose real weights supported on selected divisors of , and impose . ThenWhen is coprime to , the sum is exactly ; otherwise its square is nonnegative, which proves the inequality. Multiplying by nonnegative sequence weights and summing giveswhere is the least common multiple and is the weight of terms divisible by .
A sieve distribution writes . One then minimizes the main quadratic form subject to the support and normalization, while separately controlling the remainder. The Selberg sieve diagonalization explains the minimizing weights. This yields results such as the prime-tuple upper bound from the Selberg sieve, but the nonnegative-square construction by itself supplies only an upper bound.[ref]
Suppose for . If and the real Selberg weights vanish unless and , thenOptimizing the main quadratic form gives , whereup to the harmless replacement of by under the alternative convention that denotes the level of the least common multiples.
For all interval origins , the number of multiples of any in is with an absolute error bound. The Selberg sieve diagonalization minimizes , subject to , at . The optimal Selberg weights have modulus at most one, so the total remainder is . Restoring the at most small primes gives . Take and use the Selberg sieve denominator asymptotic. The resulting is independent of .
Sieve an interval of length by the prime two and the primes congruent to three modulo four, with local densities . Take and . The truncated Euler-product lower bound, the Mertens first theorem and the reciprocal-prime sum in residue class one modulo four give . The interval counts have bounded remainders, whose sum is by the summatory bound for three to the prime omega. Hence the number surviving is , uniformly in the location of the interval.
FordefineThe optimizing Selberg weights arefor dividing , and zero otherwise. They satisfy and diagonalize the main quadratic form to .
Put . As a Dirichlet convolution, , where is a multiplicative arithmetic function with , , and for . The local sums are one, so . The series converges, since the prime-local errors are . Consequently by the harmonic number estimate . This identifies the leading constant in the one-dimensional Selberg upper-bound sieve.
Put , and , where is a multiplicative arithmetic function supported on squarefree integers. For squarefree integers ,Thus the quadratic form is . Möbius inversion gives . On the permitted squarefree integers, the constraint becomes . The Cauchy-Schwarz inequality yields , where over those integers; equality holds at .
For real coefficients supported on permitted divisors up to , put . Then is an upper bound for the indicator function of numbers free of the forbidden prime factors. Its support has . If the coefficients vanish on non-squarefree integers and satisfy , then : each prime factor of occurs in , in , or in both.
Let on permitted squarefree integers. The Selberg sieve weights haveThe numerator is the total weight of the distinct integers with and : multiplicativity gives . They are a subset of the terms in .
For an integer polynomial and squarefree , let count the roots of modulo . The Chinese remainder theorem makes multiplicative, andThus and define a sieve distribution.
For the polynomial , take and at odd primes. On odd squarefree integers, the summand is at least . Put and . The weight of odd pairs is . The pairs for which is not squarefree, is not squarefree, or each have weight at most . Indeed, the weighted count of multiples of an odd is . Moreover,Hence the odd coprime squarefree pairs have weight at least . Their products are squarefree, and counts all ordered coprime factorizations of . This proves the displayed lower bound needed for the Selberg upper-bound sieve.
For , every odd prime has two forbidden residue classes. Use Selberg sieve weights supported on odd squarefree integers . Their main quadratic form is , where . The truncated Euler-product lower bound applied to primes up to gives : the mean logarithmic divisor size is , by the Mertens first theorem, and the full product is , by the Mertens second theorem. The optimal Selberg weights have modulus at most one, so the remainder is at most . The finitely many possible pairs with contribute . Thus the count is , proving the bound.
For distinct natural numbers ,Exclude the fixed primes dividing some so that the polynomial has exactly roots modulo every remaining prime, then apply the Selberg upper-bound sieve with level .
Let be a product of fixed pairwise nonproportional linear polynomials with positive integer leading coefficients. Assume admissibility: no prime number divides for every integer . There are constants such that, for all large , at least values have no prime factor of below . These are almost prime values with a bounded total number of prime factors, counted with multiplicity.
A rigorous positive count needs a lower-bound sieve input, obtainable from the fundamental lemma of sieve theory. If counts roots modulo squarefree , then the polynomial root density in a sieve gives . Take distribution level and sifting limit . The total remainder up to is , while Mertens' theorems give . Choosing sufficiently small makes the main-term error in the fundamental lemma of sieve theory less than half the main term, proving the lower count.[ref]
Some sieve theory by Terence Tao (254A Notes 4). Corollary 19; equation (26) and Corollary 21 illustrate the two-linear-form case
Since , each surviving nonzero value has at most prime factors, with multiplicity. The Buchstab identity organizes the removal of successive prime factors, and upper-bound sieves control removed terms; merely observing convergence of a prime tail does not establish that its subtraction leaves a positive main term.
If is smooth and supported on and , Fourier inversion givesExpanding the square of the resulting Möbius-weighted divisor sum turns its mean value into an Euler product controlled by zeta functions near their pole at one.
For a real smooth cutoff supported on with , define . Its sum over any interval of length is , uniformly in the interval location. Here is the derivative energy constant for a smooth sieve cutoff. Expanding the square yields an interval-counting error and an Euler product for a smoothed divisor-square correlation; its zeta function pole provides the main term. Every prime exceeding has weight one, giving the short-interval prime upper bound from a smooth divisor weight.
For , the series has local factor . Dividing by the displayed zeta function ratio leaves a holomorphic function near zero with . The local factor of is , where , , , and equals one exactly at zero. With , the zeta function poles produce the kernel that determines the smooth divisor-square sieve asymptotic.
Write . The double integral equals the displayed constant. Express the denominator as a Laplace integral and each differentiated Fourier factor as , then use Fubini's theorem. For a real cutoff the resulting square is positive even though the Fourier transform factors have no complex conjugation. The Cauchy-Schwarz inequality and , give .
For , a smooth Selberg divisor weight of level equals one on every prime in . Its second moment can be expressed through an Euler product whose zeta-factor bound contributes after integration against rapidly decreasing Fourier transforms. Consequently
If three nonproportional linear forms exclude three distinct residue classes modulo every sufficiently large prime, the upper-bound sieve has dimension three and gives an upper bound of order .
Articles by others on the same topic
Sieve theory is a branch of number theory that involves the use of combinatorial methods to count or estimate the size of sets of integers, particularly with respect to divisibility conditions. It is often used to study the distribution of primes and other arithmetic functions. The basic idea is to "sieve" out unwanted elements from a set, such as all multiples of a certain integer, in order to isolate the primes or other numbers of interest.