A twin prime is a prime number that is either 2 less or 2 more than another prime number—for example, either member of the twin prime pair or In other words, a twin prime is a prime that has a prime gap of two. Sometimes the term twin prime is used for a pair of twin primes; an alternative name for this is prime twin or prime pair.
Twin primes become increasingly rare as one examines larger ranges, in keeping with the general tendency of gaps between adjacent primes to become larger as the numbers themselves get larger. However, it is unknown whether there are infinitely many twin primes (the so-called twin prime conjecture) or if there is a largest pair. The breakthrough[1] work of Yitang Zhang in 2013, as well as work by James Maynard, Terence Tao and others, has made substantial progress towards proving that there are infinitely many twin primes, but at present this remains unsolved.[2]
Usually the pair is not considered to be a pair of twin primes.[3] Since 2 is the only even prime, this pair is the only pair of prime numbers that differ by one; thus twin primes are as closely spaced as possible for any other two primes.
The first several twin prime pairs are
.
Five is the only prime that belongs to two pairs, as every twin prime pair greater than is of the form
(6n-1,6n+1)
See main article: Brun's theorem. In 1915, Viggo Brun showed that the sum of reciprocals of the twin primes was convergent.[5] This famous result, called Brun's theorem, was the first use of the Brun sieve and helped initiate the development of modern sieve theory. The modern version of Brun's argument can be used to show that the number of twin primes less than does not exceed
CN | |
(logN)2 |
for some absolute constant [6] In fact, it is bounded above by where
C2
The question of whether there exist infinitely many twin primes has been one of the great open questions in number theory for many years. This is the content of the twin prime conjecture, which states that there are infinitely many primes such that is also prime. In 1849, de Polignac made the more general conjecture that for every natural number, there are infinitely many primes such that is also prime.[8] The of de Polignac's conjecture is the twin prime conjecture. A stronger form of the twin prime conjecture, the Hardy–Littlewood conjecture (see below), postulates a distribution law for twin primes akin to the prime number theorem.
On 17 April 2013, Yitang Zhang announced a proof that for some integer that is less than 70 million, there are infinitely many pairs of primes that differ by .[9] Zhang's paper was accepted in early May 2013.[10] Terence Tao subsequently proposed a Polymath Project collaborative effort to optimize Zhang's bound.[11]
As of 14 April 2014, one year after Zhang's announcement, the bound has been reduced to 246.[12] These improved bounds were discovered using a different approach that was simpler than Zhang's and was discovered independently by James Maynard and Terence Tao. This second approach also gave bounds for the smallest needed to guarantee that infinitely many intervals of width contain at least primes. Moreover (see also the next section) assuming the Elliott–Halberstam conjecture and its generalized form, the Polymath Project wiki states that the bound is 12 and 6, respectively.[12]
A strengthening of Goldbach’s conjecture, if proved, would also prove there is an infinite number of twin primes, as would the existence of Siegel zeroes.
In 1940, Paul Erdős showed that there is a constant and infinitely many primes such that where denotes the next prime after . What this means is that we can find infinitely many intervals that contain two primes as long as we let these intervals grow slowly in size as we move to bigger and bigger primes. Here, "grow slowly" means that the length of these intervals can grow logarithmically. This result was successively improved; in 1986 Helmut Maier showed that a constant can be used. In 2004 Daniel Goldston and Cem Yıldırım showed that the constant could be improved further to In 2005, Goldston, Pintz, and Yıldırım established that can be chosen to be arbitrarily small,[13] [14] i.e.
\liminfn\toinfty\left(
pn+1-pn | |
logpn |
\right)=0~.
On the other hand, this result does not rule out that there may not be infinitely many intervals that contain two primes if we only allow the intervals to grow in size as, for example,
By assuming the Elliott–Halberstam conjecture or a slightly weaker version, they were able to show that there are infinitely many such that at least two of,,,,,, or are prime. Under a stronger hypothesis they showed that for infinitely many, at least two of,,, and are prime.
The result of Yitang Zhang,
\liminfn\toinfty(pn+1-pn)<N~with~N=7 x 107,
is a major improvement on the Goldston–Graham–Pintz–Yıldırım result. The Polymath Project optimization of Zhang's bound and the work of Maynard have reduced the bound: the limit inferior is at most 246.[15] [16]
The first Hardy–Littlewood conjecture (named after G. H. Hardy and John Littlewood) is a generalization of the twin prime conjecture. It is concerned with the distribution of prime constellations, including twin primes, in analogy to the prime number theorem. Let denote the number of primes such that is also prime. Define the twin prime constant as[17] (Here the product extends over all prime numbers .) Then a special case of the first Hardy-Littlewood conjecture is thatin the sense that the quotient of the two expressions tends to 1 as approaches infinity.[6] (The second ~ is not part of the conjecture and is proven by integration by parts.)
The conjecture can be justified (but not proven) by assuming that describes the density function of the prime distribution. This assumption, which is suggested by the prime number theorem, implies the twin prime conjecture, as shown in the formula for above.
The fully general first Hardy–Littlewood conjecture on prime -tuples (not given here) implies that the second Hardy–Littlewood conjecture is false.
This conjecture has been extended by Dickson's conjecture.
Polignac's conjecture from 1849 states that for every positive even integer, there are infinitely many consecutive prime pairs and such that (i.e. there are infinitely many prime gaps of size). The case is the twin prime conjecture. The conjecture has not yet been proven or disproven for any specific value of, but Zhang's result proves that it is true for at least one (currently unknown) value of . Indeed, if such a did not exist, then for any positive even natural number there are at most finitely many such that
pn+1-pn=m
pn+1-pn>N,
Beginning in 2007, two distributed computing projects, Twin Prime Search and PrimeGrid, have produced several record-largest twin primes., the current largest twin prime pair known is [18] with 388,342 decimal digits. It was discovered in September 2016.[19]
There are 808,675,888,577,436 twin prime pairs below .[20] [21]
An empirical analysis of all prime pairs up to 4.35 × shows that if the number of such pairs less than is then is about 1.7 for small and decreases towards about 1.3 as tends to infinity. The limiting value of is conjectured to equal twice the twin prime constant (not to be confused with Brun's constant), according to the Hardy–Littlewood conjecture.
Every third odd number is divisible by 3, and therefore no three successive odd numbers can be prime unless one of them is 3. Five is therefore the only prime that is part of two twin prime pairs. The lower member of a pair is by definition a Chen prime.
It has been proven[22] that the pair (m, m + 2) is a twin prime if and only if
4((m-1)!+1)\equiv-m\pmod{m(m+2)}.
If m − 4 or m + 6 is also prime then the three primes are called a prime triplet.
For a twin prime pair of the form (6n − 1, 6n + 1) for some natural number n > 1, n must end in the digit 0, 2, 3, 5, 7, or 8 .
An isolated prime (also known as single prime or non-twin prime) is a prime number p such that neither p − 2 nor p + 2 is prime. In other words, p is not part of a twin prime pair. For example, 23 is an isolated prime, since 21 and 25 are both composite.
The first few isolated primes are
2, 23, 37, 47, 53, 67, 79, 83, 89, 97, ... .
It follows from Brun's theorem that almost all primes are isolated in the sense that the ratio of the number of isolated primes less than a given threshold n and the number of all primes less than n tends to 1 as n tends to infinity.