Brun's theorem 2026-10-14
The sum of reciprocals of twin primes converges, whether or not there are infinitely many twin primes. The twin-prime upper bound from a quadratic sieve and reciprocal-sum convergence from a counting bound prove it. This contrasts with the Euler proof that the sum of reciprocals of primes diverges.
Past exam of the mathematics course of the University of Cambridge 2002 iii Paper 25 4 Solution Created 2026-10-03 Updated 2026-10-14
The Selberg upper-bound sieve replaces the indicator function of a sifted set by the square of a divisor sum. If the real Selberg sieve weights satisfy , thenWhen has no forbidden prime factors, the divisor sum is exactly one; otherwise its square is still nonnegative. Taking the weights to vanish for controls the error in summing this majorant. The main term is a positive quadratic form that can be diagonalized and minimized explicitly. This optimization, together with a bound for the remainder, is the central idea of the Selberg sieve.
For twin primes, take and let be the number of its roots modulo a squarefree integer . The Chinese remainder theorem makes a multiplicative arithmetic function, with and for odd primes. Thus the polynomial root density in a sieve is , andSumming the majorant giveswhere , with all indices squarefree. Here controls the error.
We carry out the Selberg sieve diagonalization. PutFor squarefree integers , multiplicativity givesThe identity behind the first equality is . Möbius inversion gives . The Cauchy-Schwarz inequality therefore impliesDefine . Equality is attained at , giving . Inverting again, the optimizing Selberg sieve weights areIn particular . Since ,The last inequality holds separately at , , and . Together with , this crude bound already makes the remainder , because .
We also need a lower bound for ; we prove it rather than presuppose a sieve asymptotic. For odd squarefree integers ,where counts distinct prime factors. Put and . The total weight of odd pairs is . Exclude pairs for which has a square prime factor, has a square prime factor, or have a common prime factor. For each of these three categories the total weight is at most : for example, the weighted count of odd multiples of is , and the common-factor category uses for each variable. Moreover,Hence the remaining odd coprime squarefree pairs have weight at least . Their products are squarefree, and counts all ordered coprime factorizations of . This proves the elementary lower bound for the twin-prime sieve denominator:
If and both are primes, survives the sieve. The at most smaller values are the only exceptions. Thus, with and , the twin-prime upper bound from a quadratic sieve becomesFinally partial summation givesThe integral over is bounded by a constant times . The nonnegative partial sums are therefore bounded and increasing. Thus the reciprocal series over the smaller members of twin-prime pairs converges, a form of Brun's theorem. The upper bound does not assert that infinitely many twin primes exist.
Past exam of the mathematics course of the University of Cambridge 2006 iii Paper 28 4 Solution Created 2026-10-03 Updated 2026-10-14
The Selberg upper-bound sieve replaces a difficult coprimality indicator by a nonnegative square whose coefficients can be optimized. Let , and suppose a finite sequence has divisibility countswhere is multiplicative on squarefree integers and . Choose real Selberg sieve weights supported on with . If an entry has no prime factor in , its only weighted divisor is , so its indicator is bounded above by the square of the divisor sum. Summing giveswhere . This is an upper bound regardless of the signs of the weights.
Here is the optimization. On the permitted squarefree integers putThe identitycan be checked one prime at a time: a prime in both and gives the factor . ThusFinite Möbius inversion gives , and in particular the condition becomes . The Cauchy-Schwarz inequality now yieldsEquality is attained by . Inverting again gives the explicit optimizing weightsThey satisfy . To see this, multiply out . The numerator becomes the sum of over distinct permitted integers with and , a subset of the terms in . We therefore have a main term and a controllable remainder. This proves the basic Selberg sieve diagonalization and the useful bound on the weights, rather than merely asserting an optimized density.
Apply it to the polynomial for . If is the number of roots of modulo squarefree , the Chinese remainder theorem givesUse , , and sieve the indices for which has no prime factor at most . The local weights areWe claim . The following truncated-product argument supplies the necessary lower bound. Put , and consider all squarefree integers on the primes at most , with total weightGive such an integer probability . Prime inclusion is independent with probability , soby the Mertens first theorem, absorbing the prime separately. For sufficiently large , this is at most . The Markov inequality shows that at least half of lies on , all of which are terms in .
Moreover, partial summation applied to the Mertens first theorem givesIndeed it is , and the contribution of has a finite limiting constant with tail . Expanding the logarithm of now givesThe error is bounded since . Consequently , proving the claim. The exponent two reflects the two forbidden classes at almost every prime.
For the remainder use and the simple bound . HenceThe number of surviving indices is thereforeEvery pair of primes with survives, since both its prime factors exceed . The exceptional pairs with number at most . With we obtainThis is the twin-prime upper bound from a quadratic sieve. The method constructs a majorant and bounds the sifted set; it does not give a positive lower bound for twin primes.
Past exam of the mathematics course of the University of Cambridge 2007 iii Paper 30 3 Solution Created 2026-10-03 Updated 2026-10-14
Let count primes for which is also prime. We prove using a quadratic Selberg sieve, then apply Abel summation.
For , each odd prime has exactly two roots modulo that prime. The Chinese remainder theorem gives the polynomial root density in a sievefor odd squarefree integers . Put and choose the optimizing real Selberg sieve weights , supported on these , with . If are prime and , their weight is one. It is nonnegative for every other integer. Expanding the square therefore givesThe Selberg sieve diagonalization makes the main quadratic form , whereThe optimal Selberg weights have modulus at most one. Since , the remainder is at most .
For completeness, the lower bound on is where the second logarithm enters. Restrict to primes and put . The full product is , since its logarithm is and the Mertens second theorem applies. Give the associated squarefree divisor probability . Prime inclusion probabilities are , so the Mertens first theorem givesfor large . The Markov inequality shows that at least half the weight has . This proves the truncated Euler-product lower bound . Consequently the twin-prime upper bound from a quadratic sieve isFinally, Abel summation givesThe tail is dominated by . Thus reciprocal-sum convergence from a counting bound proves convergence of the first reciprocal sum. The second is smaller termwise. We have proved Brun's theorem:Counting each twin prime just once changes at most a finite repetition and gives the same conclusion.