Recent from talks
Nothing was collected or created yet.
Twin prime
View on WikipediaA 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 (17, 19) or (41, 43). 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]
Properties
[edit]Usually the pair (2, 3) 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
- (3, 5), (5, 7), (11, 13), (17, 19), (29, 31), (41, 43), (59, 61), (71, 73), (101, 103), (107, 109), (137, 139), ... OEIS: A077800.
Five is the only prime that belongs to two pairs, as every twin prime pair greater than (3, 5) is of the form for some natural number n; that is, the number between the two primes is a multiple of 6.[4] As a result, the sum of any pair of twin primes (other than 3 and 5) is divisible by 12.
Brun's theorem
[edit]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 N does not exceed
for some absolute constant C > 0.[6] In fact, it is bounded above by where is the twin prime constant (slightly less than 2/3), given below.[7]
Twin prime conjecture
[edit]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 p such that p + 2 is also prime. In 1849, de Polignac made the more general conjecture that for every natural number k, there are infinitely many primes p such that p + 2k is also prime.[8] The case k = 1 of de Polignac's conjecture is the twin prime conjecture.
A stronger form of the twin prime conjecture, the Hardy–Littlewood conjecture, postulates a distribution law for twin primes akin to the prime number theorem.
On 17 April 2013, Yitang Zhang announced a proof that there exists an integer N that is less than 70 million, where there are infinitely many pairs of primes that differ by N.[9] Zhang's paper was accepted in early May 2013.[10] Terence Tao subsequently proposed a Polymath Project collaborative effort to improve Zhang's bound.[11]
One year after Zhang's announcement, the bound had been reduced to 246, where it remains.[12] These improved bounds were discovered independently by James Maynard and Terence Tao, using a different approach that was simpler than Zhang's. This second approach also gave bounds for the smallest f (m) needed to guarantee that infinitely many intervals of width f (m) contain at least m 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.[citation needed]
Other theorems weaker than the twin prime conjecture
[edit]In 1940, Paul Erdős showed that there is a constant c < 1 and infinitely many primes p such that p′ − p < c ln p where p′ denotes the next prime after p. What this means is that we can find infinitely many intervals that contain two primes (p, p′) 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 c < 0.25 can be used. In 2004 Daniel Goldston and Cem Yıldırım showed that the constant could be improved further to c = 0.085786... . In 2005, Goldston, Pintz, and Yıldırım established that c can be chosen to be arbitrarily small,[13][14] i.e.
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, c ln ln p .
By assuming the Elliott–Halberstam conjecture or a slightly weaker version, they were able to show that there are infinitely many n such that at least two of n, n + 2, n + 6, n + 8, n + 12, n + 18, or n + 20 are prime. Under a stronger hypothesis they showed that for infinitely many n, at least two of n, n + 2, n + 4, and n + 6 are prime.
The result of Yitang Zhang,
is a major improvement on the Goldston–Graham–Pintz–Yıldırım result. The Polymath Project improvement of Zhang's bound and the work of Maynard have reduced the bound: the limit inferior is at most 246.[15][16]
Conjectures
[edit]First Hardy–Littlewood conjecture
[edit]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 p ≤ x such that p + 2 is also prime. Define the twin prime constant C2 as[17] (Here the product extends over all prime numbers p ≥ 3.) Then a special case of the first Hardy-Littlewood conjecture is that in the sense that the quotient of the two expressions tends to 1 as x 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 k-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
[edit]This section needs additional citations for verification. (August 2020) |
Polignac's conjecture from 1849 states that for every positive even integer k, there are infinitely many consecutive prime pairs p and p′ such that p′ − p = k (i.e. there are infinitely many prime gaps of size k). The case k = 2 is the twin prime conjecture. The conjecture has not yet been proven or disproven for any specific value of k, but Zhang's result proves that it is true for at least one (currently unknown) value of k. Indeed, if such a k did not exist, then for any positive even natural number N there are at most finitely many n such that for all m < N and so for n large enough we have which would contradict Zhang's result.[8]
Large twin primes
[edit]Beginning in 2007, two distributed computing projects, Twin Prime Search and PrimeGrid, have produced several record-largest twin primes. As of January 2025[update], the current largest twin prime pair known is 2996863034895 × 21290000 ± 1 ,[18] with 388,342 decimal digits. It was discovered in September 2016.[19]
There are 808,675,888,577,436 twin prime pairs below 1018.[20][21]
An empirical analysis of all prime pairs up to 4.35 × 1015 shows that if the number of such pairs less than x is f (x) ·x /(log x)2 then f (x) is about 1.7 for small x and decreases towards about 1.3 as x tends to infinity. The limiting value of f (x) is conjectured to equal twice the twin prime constant (OEIS: A114907) (not to be confused with Brun's constant), according to the Hardy–Littlewood conjecture.
Other elementary properties
[edit]Every third odd number is divisible by 3, and therefore no three successive odd numbers can be prime unless one of them is 3. Therefore, 5 is the only prime that is part of two twin prime pairs. The lower member of a pair is by definition a Chen prime.
If m − 4 or m + 6 is also prime then the three primes are called a prime triplet.
It has been proven[22] that the pair (m, m + 2) is a twin prime if and only if
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 (OEIS: A002822). If n were to end in 1 or 6, 6n would end in 6, and 6n −1 would be a multiple of 5. This is not prime unless n = 1. Likewise, if n were to end in 4 or 9, 6n would end in 4, and 6n +1 would be a multiple of 5. The same rule applies modulo any prime p ≥ 5: If n ≡ ±6−1 (mod p), then one of the pair will be divisible by p and will not be a twin prime pair unless 6n = p ±1. p = 5 just happens to produce particularly simple patterns in base 10.
Isolated prime
[edit]An isolated prime (also known as a 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
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.
See also
[edit]References
[edit]- ^ Thomas, Kelly Devine (Summer 2014). "Yitang Zhang's spectacular mathematical journey". The Institute Letter. Princeton, NJ: Institute for Advanced Study – via ias.edu.
- ^ Tao, Terry, Ph.D. (presenter) (7 October 2014). Small and large gaps between the primes (video lecture). UCLA Department of Mathematics – via YouTube.
- ^ "The first 100,000 twin primes (only first member of pair)" (plain text). Lists. The Prime Pages (primes.utm.edu). Martin, TN: U.T. Martin.
- ^ Caldwell, Chris K. "Are all primes (past 2 and 3) of the forms 6n+1 and 6n−1?". The Prime Pages (primes.utm.edu). Martin, TN: U.T. Martin. Retrieved 2018-09-27.
- ^ Brun, V. (1915). "Über das Goldbachsche Gesetz und die Anzahl der Primzahlpaare" [On Goldbach's rule and the number of prime number pairs]. Archiv for Mathematik og Naturvidenskab (in German). 34 (8): 3–19. ISSN 0365-4524. JFM 45.0330.16.
- ^ a b Bateman, Paul T.; Diamond, Harold G. (2004). Analytic Number Theory. World Scientific. pp. 313 and 334–335. ISBN 981-256-080-7. Zbl 1074.11001.
- ^ Halberstam, Heini; Richert, Hans-Egon (2010). Sieve Methods. Dover Publications. p. 117.
- ^ a b
de Polignac, A. (1849). "Recherches nouvelles sur les nombres premiers" [New research on prime numbers]. Comptes rendus (in French). 29: 397–401.
[From p. 400] "1er Théorème. Tout nombre pair est égal à la différence de deux nombres premiers consécutifs d'une infinité de manières ..." (1st Theorem. Every even number is equal to the difference of two consecutive prime numbers in an infinite number of ways ...)
- ^ McKee, Maggie (14 May 2013). "First proof that infinitely many prime numbers come in pairs". Nature. doi:10.1038/nature.2013.12989. ISSN 0028-0836.
- ^ Zhang, Yitang (2014). "Bounded gaps between primes". Annals of Mathematics. 179 (3): 1121–1174. doi:10.4007/annals.2014.179.3.7. MR 3171761.
- ^ Tao, Terence (4 June 2013). "Polymath proposal: Bounded gaps between primes".
- ^ a b "Bounded gaps between primes". Polymath (michaelnielsen.org). Retrieved 2014-03-27.
- ^ Goldston, Daniel Alan; Motohashi, Yoichi; Pintz, János; Yıldırım, Cem Yalçın (2006). "Small gaps between primes exist". Japan Academy. Proceedings. Series A. Mathematical Sciences. 82 (4): 61–65. arXiv:math.NT/0505300. doi:10.3792/pjaa.82.61. MR 2222213. S2CID 18847478.
- ^ Goldston, D.A.; Graham, S.W.; Pintz, J.; Yıldırım, C.Y. (2009). "Small gaps between primes or almost primes". Transactions of the American Mathematical Society. 361 (10): 5285–5330. arXiv:math.NT/0506067. doi:10.1090/S0002-9947-09-04788-6. MR 2515812. S2CID 12127823.
- ^ Maynard, James (2015). "Small gaps between primes". Annals of Mathematics. Second Series. 181 (1): 383–413. arXiv:1311.4600. doi:10.4007/annals.2015.181.1.7. MR 3272929. S2CID 55175056.
- ^ Polymath, D.H.J. (2014). "Variants of the Selberg sieve, and bounded intervals containing many primes". Research in the Mathematical Sciences. 1. artc. 12, 83. arXiv:1407.4897. doi:10.1186/s40687-014-0012-7. MR 3373710.
- ^ Sloane, N. J. A. (ed.). "Sequence A005597 (Decimal expansion of the twin prime constant)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation. Retrieved 2019-11-01.
- ^ Caldwell, Chris K. " 2996863034895 × 21290000 − 1 ". The Prime Database. Martin, TN: UT Martin.
- ^ "World record twin primes found!". primegrid.com. 20 September 2016.
- ^ Sloane, N. J. A. (ed.). "Sequence A007508 (Number of twin prime pairs below 10n)". The On-Line Encyclopedia of Integer Sequences. OEIS Foundation. Retrieved 2019-11-01.
- ^ Oliveira e Silva, Tomás (7 April 2008). "Tables of values of π(x) and of π2(x)". Aveiro University. Retrieved 7 January 2011.
- ^ P. A. Clement (January 1949). "Congruences for sets of primes" (PDF). American Mathematical Monthly. 56 (1): 23–25. doi:10.2307/2305816. JSTOR 2305816.
Further reading
[edit]- Sloane, Neil; Plouffe, Simon (1995). The Encyclopedia of Integer Sequences. San Diego, CA: Academic Press. ISBN 0-12-558630-2.
External links
[edit]- "Twins", Encyclopedia of Mathematics, EMS Press, 2001 [1994]
- Top-20 Twin Primes at Chris Caldwell's Prime Pages
- Xavier Gourdon, Pascal Sebah: Introduction to Twin Primes and Brun's Constant
- "Official press release" of 58711-digit twin prime record
- Weisstein, Eric W. "Twin Primes". MathWorld.
- The 20 000 first twin primes
- Polymath: Bounded gaps between primes
- Sudden Progress on Prime Number Problem Has Mathematicians Buzzing
Twin prime
View on GrokipediaFundamentals
Definition and Examples
A twin prime is a prime number such that is also prime; equivalently, it refers to a pair of primes that differ by 2.[1] The term "twin prime" was coined by German mathematician Paul Stäckel in 1916, in his paper "Die Darstellung der geraden Zahlen als Summen von zwei Primzahlen," published in the Sitzungsberichte der Heidelberger Akademie der Wissenschaften.[4] The concept builds on the ancient study of prime numbers, which dates to the Greek mathematician Euclid around 300 BC in his Elements, where he proved the infinitude of primes.[5] The name "twin" reflects the close pairing of these primes, separated by the small even difference of 2, evoking two siblings in the sequence of primes.[1] The number 2, the only even prime, is excluded from twin prime pairs because is composite, not prime; thus, all twin primes consist of odd primes.[1] The first few twin prime pairs are (3, 5), (5, 7), (11, 13), (17, 19), (29, 31), (41, 43), (59, 61), and (71, 73).[1] For visualization, the first 10 twin prime pairs are presented in the table below:| Index | Pair |
|---|---|
| 1 | (3, 5) |
| 2 | (5, 7) |
| 3 | (11, 13) |
| 4 | (17, 19) |
| 5 | (29, 31) |
| 6 | (41, 43) |
| 7 | (59, 61) |
| 8 | (71, 73) |
| 9 | (101, 103) |
| 10 | (107, 109) |
Elementary Properties
Twin primes, except for the pair (3, 5), are always of the form and for some integer . This follows from the fact that all primes greater than 3 must be congruent to 1 or 5 modulo 6, avoiding divisibility by 2 or 3, and for a pair differing by 2, the only compatible residues are 5 modulo 6 for the smaller prime and 1 modulo 6 for the larger.[1] It is impossible for three primes greater than 3 to form an arithmetic progression with common difference 2, such as , , . In any such triplet of consecutive odd numbers, their residues modulo 3 are 0, 1, and 2 in some order, so one is divisible by 3; since the numbers exceed 3, that one is composite. The only exception is (3, 5, 7), where 3 is the divisor itself.[1] Twin primes greater than 5 cannot both be divisible by any prime up to 5, as they are themselves prime. This restricts them to specific residue classes modulo small primes; for example, modulo 5, possible pairs are those where neither is 0 modulo 5, such as (1,3), (2,4), or (4,1).[1] Simple counts reveal the distribution of twin prime pairs at small scales. The following table lists the number of such pairs with the smaller prime less than or equal to the given limit:| Limit | Number of Twin Prime Pairs |
|---|---|
| 100 | 8 |
| 1000 | 35 |
Analytic Properties
Brun's Theorem
Brun's theorem asserts that the sum , taken over all twin prime pairs where both and are prime, converges to a finite value known as Brun's constant .[8] This result was established by Norwegian mathematician Viggo Brun as part of his work from 1915 to 1919, during which he developed a novel sieve method to address problems in prime distribution, including the scarcity of twin primes.[9] The proof relies on Brun's sieve, a combinatorial technique that applies inclusion-exclusion principles over small primes to count the density of integers in short intervals (such as and ) that remain unsieved by those primes, thereby estimating the contribution to the prime sum.[10] By controlling the error terms arising from sieving by larger composite moduli and higher powers of primes, Brun demonstrated that the total sum is bounded above by a constant, hence , ensuring convergence without resolving whether the number of twin primes is infinite.[11] Computations of involve summing reciprocals over known twin primes, with approximations improving as larger ranges are enumerated; for instance, the partial sum over twin primes up to yields .[12] Earlier calculations, such as those using the first terms, provide .[8] The finite value of this sum implies that twin primes occur with a density low enough to make their reciprocal series converge, highlighting their rarity compared to the full set of primes, whose reciprocal sum diverges like .[8] This scarcity holds even if twin primes are infinite in number, as the theorem neither proves nor disproves infinitude.[10]Bounds on Twin Prime Counts
Classical sieve methods provide the foundational upper bounds on the number of twin prime pairs up to x, denoted π₂(x). Viggo Brun's sieve from 1919 yields demonstrating that twin primes are o(x / log x), sparser than the overall prime count.[3] Hoheisel's 1930 theorem on primes in short intervals contributed to early refinements for prime pairs with fixed small gaps, establishing upper bounds aligning with the expected order from heuristic arguments.[13] The Selberg sieve, introduced by Atle Selberg in 1949, sharpens these results to the optimal asymptotic form with explicit versions incorporating the twin prime constant and providing constants such as π₂(x) ≤ 8.2 x / (log x)^2 for x ≥ 2. This bound arises from applying the sieve to the set of integers n ≤ x such that both n and n+2 are unsifted by small primes, yielding a remainder term controlled by the product over primes p > 2 of \frac{(p-1)^2}{p(p-2)}.[14] Lower bounds on π₂(x) are limited theoretically, with the trivial bound π₂(x) ≥ 2 for x ≥ 5, reflecting known pairs like (3,5) and (5,7). Due to the unresolved twin prime conjecture, no non-trivial analytic lower bounds demonstrating the infinitude of twin primes exist. Ingham (1937) established non-trivial lower bounds for the number of primes in short intervals [x, x + x^θ] with θ < 1, implying the existence of infinitely many prime pairs with bounded gaps in general, but not specifically for the fixed gap of 2.[15] Recent computational verifications yield much stronger numerical lower bounds, such as π₂(10^{18}) > 10^{15}, but these are not analytic.[16] These bounds highlight the scarcity of twin primes relative to primes, with Brun's theorem on the convergence of the reciprocal sum \sum 1/p over twin primes p further supporting their limited density.Core Conjectures
Twin Prime Conjecture
The twin prime conjecture states that there are infinitely many prime numbers such that both and are prime.[2] This conjecture originates from the work of Alphonse de Polignac, who in 1849 proposed it as the special case of difference 2 in his broader hypothesis on pairs of primes separated by even integers.[17] Although Euclid demonstrated around 300 BCE that there are infinitely many primes, his proof does not guarantee the existence of infinitely many such closely spaced pairs.[18] The conjecture gained prominence in the early 20th century through the efforts of Viggo Brun, whose 1919 analytic investigations into the distribution of twin primes highlighted its significance despite the lack of a resolution.[19] In number theory, the twin prime conjecture holds a pivotal position as one of the most enduring unsolved problems, connecting elementary prime properties with sophisticated analytic tools like sieve methods and estimates of prime densities.[20] It remains unproven as of 2025.[21] Computational searches provide strong empirical support, identifying 808,675,888,577,436 twin prime pairs below , yet these finite results fall short of establishing infinitude.[22] Furthermore, the infinitude of twin primes would demonstrate that infinitely many even integers greater than 4 can be expressed as the sum of two primes differing by 2, offering a specific representation that aligns with aspects of the Goldbach conjecture.[23]Polignac's Conjecture
In 1849, French mathematician Alphonse de Polignac proposed a generalization of the twin prime conjecture, stating that for every positive integer , there are infinitely many pairs of consecutive prime numbers and .[17] This assertion, known as Polignac's conjecture, posits that every positive even integer occurs infinitely often as the difference (or gap) between successive primes.[24] The special case where reduces precisely to the twin prime conjecture, highlighting the conjecture's role as a broader framework encompassing twin primes as the foundational instance.[17] The conjecture distinguishes itself from the twin prime case by extending to larger even differences, such as 4 (cousin primes, e.g., the consecutive prime pairs (7, 11) and (13, 17)), 6 (sexy primes, e.g., (23, 29) and (47, 53)), and beyond, where the pairs must be consecutive primes with no intervening primes.[25] These examples illustrate how Polignac's conjecture captures a spectrum of prime gap patterns, predicting their infinite repetition for each fixed even separation. Despite its elegance, Polignac's conjecture remains unproven for any , with no analytical demonstration of infinitude available.[24] However, extensive computational efforts provide strong empirical support: every even integer up to at least has been observed as a prime gap at least once, with first occurrences established for all even gaps up to 1550 and first known occurrences documented for much larger values through sieving up to beyond .[26] Heuristics, including those derived from sieve methods, further bolster the expectation of infinitude across all , aligning with observed distributions in large-scale prime tabulations.[25]Hardy–Littlewood Conjecture
The Hardy–Littlewood conjecture on twin primes provides a precise asymptotic estimate for the distribution of these primes. Let denote the number of twin prime pairs with . The conjecture asserts that where is the twin prime constant, defined as This formula was proposed by G. H. Hardy and J. E. Littlewood in 1923 as a specific instance of their broader conjectures on the density of prime k-tuples.[27] The derivation relies on the Hardy–Littlewood circle method for estimating the number of primes in arithmetic progressions, combined with a probabilistic heuristic. Under this approach, the probability that a random odd integer near is prime is approximately , so the joint probability for two such integers differing by 2 is about . This is refined using sieving to correct for local constraints imposed by small primes , where the pair avoids residues modulo that would make either composite; the product over these primes yields the constant .[28] Numerical evidence strongly supports the conjecture. Extensive computations of twin primes up to demonstrate close agreement between and the predicted asymptotic value, with relative errors remaining below 1% in this range. For instance, at , the observed count aligns well with the integral approximation scaled by , validating the heuristic over vast scales.[29][30] This result forms part of the general Hardy–Littlewood k-tuple conjecture, which predicts the asymptotic density for any admissible set of k linear forms (with distinct ) simultaneously yielding primes, using a similar singular series in place of . The twin prime case corresponds to the 2-tuple with offsets .[31]Progress and Partial Results
Weaker Theorems on Infinitude
One of the earliest significant results related to the distribution of twin primes was obtained by Viggo Brun in 1919, who proved that the sum over all twin prime pairs (p, p+2) of 1/p + 1/(p+2) converges to a finite value known as Brun's constant, approximately 1.902160583. This convergence implies that twin primes, if finite in number, would be consistent with the result, but it does not resolve whether there are infinitely many; instead, it provides an upper bound on their density, suggesting they become rarer among primes. Subsequent advances in sieve theory shifted focus to "almost twin primes," where one member of the pair is prime and the other has a bounded number of prime factors. Early sieve methods, developed in the mid-20th century, established the infinitude of primes p such that p+2 is an almost prime with a small but larger number of prime factors, demonstrating that pairs with small gaps abound in a weakened sense. These results, building on combinatorial sieves, showed that while the full twin prime conjecture remains open, there are infinitely many primes near numbers with limited primality defects. (Halberstam and Richert, 1974, Sieve Methods, discussing foundational sieve applications to almost primes in short intervals) The landmark weaker theorem in this area is due to Jingrun Chen, who in 1973 proved that there are infinitely many primes p such that p+2 is either prime or the product of two primes (a semiprime). This result, often called Chen's theorem in the context of Polignac's conjecture for h=2, uses advanced analytic sieve techniques to bound the number of prime factors of p+2 by 2, marking a major step toward the twin prime conjecture by confirming the infinitude of such near-twin pairs. Chen's proof applies more broadly to even differences h, establishing infinitely many primes p where p+h has at most two prime factors. These weaker theorems highlight the challenges in sieving for exact primality while underscoring the abundance of primes in close proximity, providing foundational insights that influenced later progress in bounded gaps and prime tuple distributions.Bounded Gaps Between Primes
In 2013, Yitang Zhang achieved a major breakthrough by proving that there are infinitely many pairs of consecutive primes and such that .[32] This result established the first finite upper bound on the lim inf of prime gaps, marking a significant step toward understanding small differences between primes. Zhang's proof relied on a refined version of the Goldston-Pintz-Yıldırım (GPY) sieve method, combined with extensions of the Bombieri-Vinogradov theorem to demonstrate the equidistribution of primes in arithmetic progressions.[32] Following Zhang's announcement, the Polymath8 collaborative project rapidly optimized these techniques, reducing the bound to 246 by 2014.[33] The project employed sieve optimizations, including improved weight functions and asymptotic analysis of prime tuples, to show that infinitely many prime pairs differ by at most 246. This work built directly on the GPY framework, incorporating multidimensional sieve theory to handle larger constellations of potential primes while maintaining control over error terms from arithmetic progression distributions.[33] Independently in 2013, James Maynard developed a novel refinement of the GPY sieve that proved bounded gaps for any admissible k-tuple of linear forms, implying infinitely many intervals of length 600 containing at least two primes.[34] Maynard's approach used a higher-dimensional Selberg sieve to construct weights that favor intervals with multiple prime factors, avoiding reliance on strong forms of the Elliott-Halberstam conjecture for the core result.[35] This method generalized Zhang's ideas, enabling applications to more complex prime configurations. As of 2025, the unconditional bound remains 246 for infinitely many prime pairs with bounded gaps, with no proven smaller limit specifically resolving the twin prime difference of 2.[36] Under the Elliott-Halberstam conjecture, Maynard's techniques yield gaps as small as 12, and a stronger variant allows for 6 in certain prime constellations, though these remain conditional.[34] These results align with heuristics from the Hardy-Littlewood conjecture, which predict infinitely many small gaps including twins.Known and Large Twin Primes
Largest Known Twin Primes
The search for the largest known twin prime pairs has relied on extensive computational efforts, focusing on numbers of the form , where the pair differs by 2. This structure is advantageous because it permits efficient primality testing via the Lucas-Lehmer-Riesel (LLR) algorithm, a probabilistic method adapted from the Lucas-Lehmer test for Mersenne primes, allowing rapid evaluation of candidates with large exponents for small fixed .[37] As of November 2025, the largest known twin prime pair remains and , each with 388,342 decimal digits. Discovered on September 14, 2016, by Tom Greer as part of PrimeGrid's distributed computing project, this pair surpassed previous records and was verified as prime using the Elliptic Curve Primality Proving (ECPP) method, which provides a deterministic certificate of primality for numbers of this size.[38][39] Earlier milestones in the computational discovery of large twin primes illustrate the rapid growth enabled by advancing hardware and algorithms. In August 2009, a pair of the form , with 100,355 digits each, was identified through collaborative efforts including the Seventeen or Bust project and others, marking a significant leap at the time.[40] This was eclipsed in late 2011 by PrimeGrid's discovery of , a pair with 200,700 digits, confirmed via multiple probable prime tests followed by ECPP verification.[37] These records highlight the role of distributed computing platforms like BOINC, which coordinate volunteers' resources to sieve and test vast ranges of candidates, often using software such as Prime95 for LLR implementations.[37] Modern searches build on the Cunningham Project's early 20th-century manual computations of small prime chains, transitioning to automated distributed systems in the 1990s and 2000s. For instance, probable primality is initially established with strong Lucas pseudoprime tests and Miller-Rabin witnesses tailored to the number's size, followed by rigorous proofs for record candidates. While heuristics from the Hardy-Littlewood conjecture suggest such large pairs should exist, their discovery underscores the practical limits and successes of computational number theory.Heuristic Distribution
The heuristic model for the distribution of twin primes relies on probabilistic assumptions derived from the prime number theorem. The probability that a random integer near is prime is approximately . For twin primes, the events that both and are prime near are treated as nearly independent, yielding a probability of roughly . Integrating this over the interval from 2 to suggests that the expected number of twin prime pairs up to , denoted , is asymptotically on the order of .[41] Empirical computations validate this model remarkably well at large scales. Counts of twin primes up to show , which aligns with the Hardy-Littlewood heuristic prediction to within approximately 0.00000002% relative error (or better than 1 part in ) for such magnitudes.[1] Similar close fits hold for smaller powers of 10, demonstrating the heuristic's predictive power despite the lack of a rigorous proof.[6] The following table summarizes computational values of for to , illustrating the slowing growth rate consistent with the form:| 3 | 35 |
| 4 | 205 |
| 5 | 1{,}224 |
| 6 | 8{,}169 |
| 7 | 58{,}980 |
| 8 | 440{,}312 |
| 9 | 3{,}424{,}506 |
| 10 | 27{,}412{,}679 |
| 11 | 224{,}376{,}048 |
| 12 | 1{,}870{,}585{,}220 |
| 13 | 15{,}834{,}664{,}872 |
| 14 | 135{,}780{,}321{,}665 |
| 15 | 1{,}177{,}209{,}242{,}304 |
| 16 | 10{,}304{,}195{,}697{,}298 |
| 17 | 90{,}948{,}839{,}353{,}159 |
| 18 | 808{,}675{,}888{,}577{,}436 |
Related Concepts
Isolated Primes
An isolated prime is defined as a prime number such that neither nor is prime.[42] For example, 23 is an isolated prime because both 21 and 25 are composite.[42] The first few isolated primes are 2, 23, 37, 47, 53, and 67.[42] These primes contrast with those forming twin pairs, where both and (or and ) are prime. Heuristically, the density of twin primes decreases relative to all primes, implying that most primes are isolated. Computations show that approximately two-thirds of primes up to 10,000 are isolated. Isolated primes are often surrounded by composites at distance 2, corresponding to local prime gaps greater than 2. The count of isolated primes up to , denoted , satisfies , where is the prime-counting function and counts twin prime pairs with smaller member at most .[42] This approximation holds well for moderate , accounting for rare overlaps in small cases.| 10 | 4 | 2 | 1 |
| 100 | 25 | 8 | 10 |
| 1000 | 168 | 35 | 99 |
