Skip to content

Brun Sieve

Sieve methods are techniques for counting integers that remain after removing residue classes modulo primes.

Sieve Methods

Sieve methods are techniques for counting integers that remain after removing residue classes modulo primes.

The basic idea is ancient. To find primes up to xx, one removes multiples of small primes:

2,3,5,7, 2,3,5,7,\ldots

The remaining numbers have no small prime factors. This is the idea behind the sieve of Eratosthenes.

Modern sieve theory turns this procedure into a quantitative analytic method. It estimates the size of sets after many congruence restrictions have been imposed.

Sifting a Set

Let

A A

be a finite set of integers. Let

P(z)=p<zp. P(z)=\prod_{p<z}p.

The sifted set is

S(A,z)=#{aA:(a,P(z))=1}. S(A,z) = \#\{a\in A:(a,P(z))=1\}.

Thus S(A,z)S(A,z) counts elements of AA not divisible by any prime less than zz.

For example, if

A={1,2,,x}, A=\{1,2,\ldots,x\},

then S(A,z)S(A,z) counts integers up to xx with no prime factor below zz.

The Basic Heuristic

For a fixed prime pp, the probability that a random integer is not divisible by pp is

11p. 1-\frac1p.

Assuming approximate independence over primes p<zp<z, one expects

S(A,z)Ap<z(11p). S(A,z) \approx |A| \prod_{p<z} \left(1-\frac1p\right).

Mertens’ theorem gives

p<z(11p)1logz. \prod_{p<z} \left(1-\frac1p\right) \asymp \frac1{\log z}.

Thus sieving by primes less than zz should reduce the set by roughly a logarithmic factor.

Brun’s Idea

Brun’s sieve refines inclusion-exclusion.

Exact inclusion-exclusion gives

S(A,z)=dP(z)μ(d)Ad, S(A,z) = \sum_{d\mid P(z)} \mu(d)A_d,

where

Ad=#{aA:da}. A_d=\#\{a\in A:d\mid a\}.

This formula is exact but impractical because it has too many terms and large cancellations.

Brun’s idea is to truncate inclusion-exclusion in a controlled way. Instead of using all divisors dP(z)d\mid P(z), one keeps only divisors with restricted prime factor count or bounded size.

This produces upper and lower bounds rather than exact formulas.

Upper and Lower Bounds

Brun’s sieve gives inequalities of the form

S(A,z)XV(z)+error S(A,z) \leq X V(z)+\text{error}

and

S(A,z)XV(z)+error, S(A,z) \geq X V(z)+\text{error},

where XX is the expected size of AA, and

V(z)=p<z(1ω(p)p). V(z)=\prod_{p<z}\left(1-\frac{\omega(p)}p\right).

Here ω(p)\omega(p) measures how many residue classes modulo pp are removed.

For ordinary primes, usually ω(p)=1\omega(p)=1. For twin-prime-type problems, often ω(p)=2\omega(p)=2 for odd primes.

Twin Prime Application

To study twin primes, consider

A={n(n+2):nx}. A=\{n(n+2):n\leq x\}.

If both nn and n+2n+2 are prime, then n(n+2)n(n+2) has very few prime factors.

For each odd prime pp, the condition

pn(n+2) p\mid n(n+2)

excludes two residue classes:

n0(modp),n2(modp). n\equiv0\pmod p, \qquad n\equiv-2\pmod p.

Thus the local density factor is approximately

12p. 1-\frac2p.

Brun’s sieve can estimate how many nxn\leq x avoid these exclusions for small primes.

Brun’s Theorem

Brun proved that the sum of reciprocals of twin primes converges:

p primep+2 prime1p<. \sum_{\substack{p\text{ prime}\\p+2\text{ prime}}} \frac1p <\infty.

This is now called Brun’s theorem.

It contrasts sharply with Euler’s theorem:

p1p=. \sum_p\frac1p=\infty.

Thus even if infinitely many twin primes exist, they are much sparser than the full set of primes.

The value of the convergent sum is called Brun’s constant.

Almost Primes

Brun’s sieve is especially effective at proving results about almost primes.

An almost prime is an integer with only a bounded number of prime factors.

For example, Brun’s methods can show that there are infinitely many integers nn such that both

nandn+2 n \quad\text{and}\quad n+2

have only a bounded number of prime factors.

This is weaker than the Twin Prime Conjecture but still a deep approximation to it.

The Parity Barrier

Classical sieve methods face a serious limitation called the parity problem.

Roughly, sieves are good at detecting whether an integer has small prime factors, but they have difficulty distinguishing numbers with an odd number of prime factors from numbers with an even number of prime factors.

Since primes have exactly one prime factor, this limitation prevents classical sieves from proving many prime-pattern conjectures directly.

The parity barrier explains why Brun’s sieve can prove results about almost primes but not the Twin Prime Conjecture itself.

Dimension of a Sieve

The quantity ω(p)\omega(p) determines the sieve dimension.

For ordinary prime detection, one removes one residue class modulo each prime, giving dimension 11.

For twin primes, one removes two residue classes modulo each odd prime, giving dimension 22.

The dimension affects the expected size of the sifted set. In dimension 22, one expects a factor roughly

1(logz)2. \frac1{(\log z)^2}.

This matches the heuristic that twin primes up to xx should occur with frequency about

x(logx)2. \frac{x}{(\log x)^2}.

Importance

Brun’s sieve marks the beginning of modern sieve theory.

It introduced a systematic way to replace exact inclusion-exclusion by controlled upper and lower bounds. It also showed that one can obtain meaningful results about prime patterns even without proving the full conjectures.

The method leads naturally to later developments such as Selberg’s sieve, the large sieve, Chen’s theorem, and modern bounded-gap methods.