Hubbry Logo
Twin primeTwin primeMain
Open search
Twin prime
Community hub
Twin prime
logo
7 pages, 0 posts
0 subscribers
Be the first to start a discussion here.
Be the first to start a discussion here.
Twin prime
Twin prime
from Wikipedia

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 (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]

Unsolved problem in mathematics
Are there infinitely many twin primes?

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), ... OEISA077800.

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 px 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]

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, 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 (OEISA114907) (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 (mm + 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 (OEISA002822). 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

2, 23, 37, 47, 53, 67, 79, 83, 89, 97, ... OEISA007510.

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]

Further reading

[edit]
[edit]
Revisions and contributorsEdit on WikipediaRead on Wikipedia
from Grokipedia
A twin prime is a that differs from another by exactly 2, such as the pairs (3, 5), (5, 7), (11, 13), and (17, 19). These pairs are the smallest possible prime gaps greater than 1, since all even numbers greater than 2 are composite. The twin prime , one of the most famous unsolved problems in , asserts that there are infinitely many such twin prime pairs. First explicitly formulated by Alphonse de Polignac in 1849, building on Euclid's proof of the infinitude of primes, the remains unproven despite extensive study. In 1919, Norwegian mathematician Viggo Brun made the first significant progress by showing that the sum of the reciprocals of twin primes converges to a finite value known as Brun's constant, approximately 1.90216, which implies that twin primes are sparser than ordinary primes. Notable advances toward the conjecture occurred in the . In 2013, established that there are infinitely many pairs of primes differing by at most 70 million, marking the first proof of infinitely many bounded prime gaps. Subsequent work by mathematicians including James Maynard, , and others rapidly improved this bound; by 2014, Maynard reduced it to 246, and further refinements have pushed it down to 12 under certain assumptions, though the exact gap of 2 for infinitely many pairs is still open. The Hardy-Littlewood conjecture provides an asymptotic formula for the density of twin primes, predicting approximately 1.32032xdt(lnt)21.3203 \int_2^x \frac{dt}{(\ln t)^2} such pairs up to xx.

Fundamentals

Definition and Examples

A is a pp such that p+2p + 2 is also prime; equivalently, it refers to a pair of primes that differ by 2. 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 ," published in the Sitzungsberichte der Heidelberger Akademie der Wissenschaften. The concept builds on the ancient study of , which dates to the Greek mathematician around 300 BC in his Elements, where he proved the infinitude of primes. 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. The number 2, the only even prime, is excluded from twin prime pairs because 2+2=42 + 2 = 4 is composite, not prime; thus, all twin primes consist of odd primes. The first few twin prime pairs are (3, 5), (5, 7), (11, 13), (17, 19), (29, 31), (41, 43), (59, 61), and (71, 73). For visualization, the first 10 twin prime pairs are presented in the table below:
IndexPair
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 6k16k - 1 and 6k+16k + 1 for some k1k \geq 1. This follows from the fact that all primes greater than 3 must be congruent to 1 or 5 6, avoiding divisibility by 2 or 3, and for a pair differing by 2, the only compatible residues are 5 6 for the smaller prime and 1 6 for the larger. It is impossible for three primes greater than 3 to form an with common difference 2, such as p2p-2, pp, p+2p+2. In any such triplet of consecutive odd numbers, their residues 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 itself. 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 small primes; for example, 5, possible pairs are those where neither is 0 5, such as (1,3), (2,4), or (4,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:
LimitNumber of Twin Prime Pairs
1008
100035
These counts are computed exhaustively for small values. As an example of related prime constellations, the smaller prime in a twin pair (p,p+2)(p, p+2) forms a prime if 2p+12p + 1 is also prime, creating a (p,p+2,2p+1)(p, p+2, 2p+1).

Analytic Properties

Brun's Theorem

Brun's theorem asserts that the sum (1/p+1/(p+2))\sum (1/p + 1/(p+2)), taken over all twin prime pairs (p,p+2)(p, p+2) where both pp and p+2p+2 are prime, converges to a finite value known as Brun's constant B21.902160583104B_2 \approx 1.902160583104. 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. 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 nn and n+2n+2) that remain unsieved by those primes, thereby estimating the contribution to the prime sum. 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 O(1)O(1), ensuring convergence without resolving whether the number of twin primes is infinite. Computations of B2B_2 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 101410^{14} yields B21.9021605778B_2 \approx 1.9021605778. Earlier calculations, such as those using the first 10610^6 terms, provide B21.90216054B_2 \approx 1.90216054. The finite value of this sum implies that twin primes occur with a low enough to make their reciprocal series converge, highlighting their rarity compared to the full set of primes, whose reciprocal sum diverges like loglogx\log \log x. This scarcity holds even if twin primes are infinite in number, as the theorem neither proves nor disproves infinitude.

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). from yields π2(x)=O(x(loglogx)2(logx)2),\pi_2(x) = O\left( \frac{x (\log \log x)^2}{ (\log x)^2 } \right), demonstrating that twin primes are o(x / log x), sparser than the overall prime count. 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 arguments. The Selberg sieve, introduced by in 1949, sharpens these results to the optimal asymptotic form π2(x)x(logx)2,\pi_2(x) \ll \frac{x}{ (\log x)^2 }, 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 term controlled by the product over primes p > 2 of \frac{(p-1)^2}{p(p-2)}. 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. Recent computational verifications yield much stronger numerical lower bounds, such as π₂(10^{18}) > 10^{15}, but these are not analytic. These bounds highlight the of twin primes relative to primes, with Brun's on the convergence of the reciprocal 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 pp such that both pp and p+2p + 2 are prime. This 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. Although demonstrated around 300 BCE that there are infinitely many primes, his proof does not guarantee the existence of infinitely many such closely spaced pairs. The gained prominence in the early 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. In , 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 methods and estimates of prime densities. It remains unproven as of 2025. Computational searches provide strong empirical support, identifying 808,675,888,577,436 twin prime pairs below 101810^{18}, yet these finite results fall short of establishing infinitude. 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.

Polignac's Conjecture

In 1849, French mathematician Alphonse de Polignac proposed a generalization of the twin prime conjecture, stating that for every positive integer kk, there are infinitely many pairs of consecutive prime numbers pp and p+2kp + 2k. This assertion, known as Polignac's conjecture, posits that every positive even integer 2k2k occurs infinitely often as the difference (or gap) between successive primes. The special case where k=1k = 1 reduces precisely to the twin prime conjecture, highlighting the conjecture's role as a broader framework encompassing twin primes as the foundational instance. The distinguishes itself from the twin prime case by extending to larger even differences, such as 4 ( 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. These examples illustrate how Polignac's captures a of patterns, predicting their infinite repetition for each fixed even separation. Despite its elegance, Polignac's conjecture remains unproven for any k1k \geq 1, with no analytical demonstration of infinitude available. However, extensive computational efforts provide strong empirical support: every even integer up to at least 2×1062 \times 10^6 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 101810^{18}. Heuristics, including those derived from sieve methods, further bolster the expectation of infinitude across all kk, aligning with observed distributions in large-scale prime tabulations.

Hardy–Littlewood Conjecture

The Hardy–Littlewood conjecture on twin primes provides a precise asymptotic estimate for the distribution of these primes. Let π2(x)\pi_2(x) denote the number of twin prime pairs (p,p+2)(p, p+2) with pxp \leq x. The conjecture asserts that π2(x)2C22xdt(lnt)2,\pi_2(x) \sim 2 C_2 \int_2^x \frac{dt}{(\ln t)^2}, where C2C_2 is the twin prime constant, defined as C2=p>211(p1)2(11p)20.6601618158.C_2 = \prod_{p > 2} \frac{1 - \frac{1}{(p-1)^2}}{\left(1 - \frac{1}{p}\right)^2} \approx 0.6601618158. This formula was proposed by and J. E. Littlewood in as a specific instance of their broader conjectures on the density of prime k-tuples. The derivation relies on the Hardy–Littlewood circle method for estimating the number of primes in arithmetic progressions, combined with a probabilistic . Under this approach, the probability that a random odd integer near xx is prime is approximately 1/lnx1 / \ln x, so the joint probability for two such integers differing by 2 is about 1/(lnx)21 / (\ln x)^2. This is refined using sieving to correct for local constraints imposed by small primes p>2p > 2, where the pair (n,n+2)(n, n+2) avoids residues pp that would make either composite; the product over these primes yields the constant C2C_2. Numerical evidence strongly supports the . Extensive computations of twin primes up to x=1016x = 10^{16} demonstrate close agreement between π2(x)\pi_2(x) and the predicted asymptotic value, with relative errors remaining below 1% in this range. For instance, at x=1016x = 10^{16}, the observed count aligns well with the integral approximation scaled by 2C22 C_2, validating the over vast scales. 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 n+hin + h_i (with distinct hih_i) simultaneously yielding primes, using a similar singular series in place of 2C22 C_2. The twin prime case corresponds to the 2-tuple with offsets {0,2}\{0, 2\}.

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 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 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 , showed that while the full remains open, there are infinitely many primes near numbers with limited primality defects. (Halberstam and Richert, 1974, , 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 pnp_n and pn+1p_{n+1} such that pn+1pn70,000,000p_{n+1} - p_n \leq 70,000,000. 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) , combined with extensions of the Bombieri-Vinogradov to demonstrate the equidistribution of primes in arithmetic progressions. Following Zhang's announcement, the Polymath8 collaborative project rapidly optimized these techniques, reducing the bound to 246 by 2014. The project employed optimizations, including improved weight functions and of prime tuples, to show that infinitely many prime pairs differ by at most 246. This work built directly on the GPY framework, incorporating to handle larger constellations of potential primes while maintaining control over error terms from distributions. Independently in , James Maynard developed a novel refinement of the GPY that proved bounded gaps for any admissible k-tuple of linear forms, implying infinitely many intervals of length 600 containing at least two primes. Maynard's approach used a higher-dimensional Selberg to construct weights that favor intervals with multiple prime factors, avoiding reliance on strong forms of the Elliott-Halberstam for the core result. 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. Under the Elliott-Halberstam , Maynard's techniques yield gaps as small as 12, and a stronger variant allows for 6 in certain prime constellations, though these remain conditional. These results align with heuristics from the Hardy-Littlewood , 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 k×2n±1k \times 2^n \pm 1, where the pair differs by 2. This structure is advantageous because it permits efficient primality testing via the Lucas-Lehmer-Riesel (LLR) algorithm, a adapted from the Lucas-Lehmer test for Mersenne primes, allowing rapid evaluation of candidates with large exponents nn for small fixed kk. As of November 2025, the largest known twin prime pair remains 2996863034895×2129000012996863034895 \times 2^{1290000} - 1 and 2996863034895×21290000+12996863034895 \times 2^{1290000} + 1, each with 388,342 decimal digits. Discovered on September 14, 2016, by Tom Greer as part of PrimeGrid's project, this pair surpassed previous records and was verified as prime using the Primality Proving (ECPP) method, which provides a deterministic certificate of primality for numbers of this size. 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 65516468355×2333333±165516468355 \times 2^{333333} \pm 1, with 100,355 digits each, was through collaborative efforts including the Seventeen or Bust and others, marking a significant leap at the time. eclipsed in late 2011 by PrimeGrid's discovery of 3756801695685×2666669±13756801695685 \times 2^{666669} \pm 1, a pair with 200,700 digits, confirmed via multiple probable prime tests followed by ECPP verification. 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. Modern searches build on the Cunningham Project's early 20th-century manual computations of small prime chains, transitioning to automated distributed systems in the 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 .

Heuristic Distribution

The heuristic model for the distribution of twin primes relies on probabilistic assumptions derived from the . The probability that a random near xx is prime is approximately 1lnx\frac{1}{\ln x}. For twin primes, the events that both nn and n+2n+2 are prime near xx are treated as nearly independent, yielding a probability of roughly (1lnx)2\left(\frac{1}{\ln x}\right)^2. Integrating this over the interval from 2 to xx suggests that the expected number of twin prime pairs up to xx, denoted π2(x)\pi_2(x), is asymptotically on the order of x(lnx)2\frac{x}{(\ln x)^2}. Empirical computations validate this model remarkably well at large scales. Counts of twin primes up to 101810^{18} show π2(1018)=808,675,888,577,436\pi_2(10^{18}) = 808{,}675{,}888{,}577{,}436, which aligns with the prediction to within approximately 0.00000002% relative error (or better than 1 part in 10910^9) for such magnitudes. Similar close fits hold for smaller powers of 10, demonstrating the 's predictive power despite the lack of a rigorous proof. The following table summarizes computational values of π2(10n)\pi_2(10^n) for n=3n = 3 to 1818, illustrating the slowing growth rate consistent with the x(lnx)2\frac{x}{(\ln x)^2} form:
nnπ2(10n)\pi_2(10^n)
335
4205
51{,}224
68{,}169
758{,}980
8440{,}312
93{,}424{,}506
1027{,}412{,}679
11224{,}376{,}048
121{,}870{,}585{,}220
1315{,}834{,}664{,}872
14135{,}780{,}321{,}665
151{,}177{,}209{,}242{,}304
1610{,}304{,}195{,}697{,}298
1790{,}948{,}839{,}353{,}159
18808{,}675{,}888{,}577{,}436
These values, computed via exhaustive sieving, highlight how the increment in π2(x)\pi_2(x) diminishes as xx grows, reflecting the increasing rarity of twin primes. Patterns in twin prime distribution reveal additional structure beyond the basic count. "Twin prime races" describe oscillatory biases in the relative frequencies of twin primes within different arithmetic progressions or compared to other prime constellations, such as , often analyzed through probabilistic models of primes. Twin primes also exhibit a well-defined , which weights their occurrences by 1/lnx1/\ln x and provides a refined measure of their asymptotic scarcity, converging to a positive value under heuristic assumptions. Regarding gaps between consecutive twin prime pairs near xx, the heuristic predicts an average separation of approximately (lnx)2(\ln x)^2, arising inversely from the local density 1(lnx)2\frac{1}{(\ln x)^2}. In practice, these gaps display substantial fluctuations, with some much smaller than the average and others significantly larger, underscoring the irregular nature of prime distributions even under probabilistic modeling.

Isolated Primes

An isolated prime is defined as a pp such that neither p2p-2 nor p+2p+2 is prime. For example, 23 is an isolated prime because both 21 and 25 are composite. The first few isolated primes are 2, 23, 37, 47, 53, and 67. These primes contrast with those forming twin pairs, where both pp and p+2p+2 (or p2p-2 and pp) are prime. Heuristically, the of twin primes decreases relative to all primes, implying that most primes are isolated. Computations show that approximately two-thirds of primes up to 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 xx, denoted πiso(x)\pi_{\text{iso}}(x), satisfies πiso(x)π(x)2π2(x)\pi_{\text{iso}}(x) \approx \pi(x) - 2 \pi_2(x), where π(x)\pi(x) is the and π2(x)\pi_2(x) counts twin prime pairs with smaller member at most xx. This approximation holds well for moderate xx, accounting for rare overlaps in small cases.
xxπ(x)\pi(x)π2(x)\pi_2(x)πiso(x)\pi_{\text{iso}}(x)
10421
10025810
10001683599

Prime k-Tuples

A , also known as a prime constellation, is a consisting of k linear forms n + h1, ..., n + hk, where the hi are fixed nonnegative integers, such that there are infinitely many n for which all k values are prime, under certain conjectures. Twin primes represent the simplest case of a prime 2-tuple with the pattern {0, 2}. For a to permit infinitely many prime realizations, it must be admissible, meaning that for every prime p, the set of residues {h1, ..., hk} modulo p does not cover all residue classes p; otherwise, one of the forms would be divisible by p for every sufficiently large n. This condition ensures the pattern avoids systematic obstructions from small primes. For example, the pattern {0, 2} is admissible because modulo 3, the residues are 0 and 2, leaving 1 uncovered. Examples of admissible prime k-tuples include prime triplets of the form {0, 2, 6}, such as (5, 7, 11), and prime quadruplets of the form {0, 2, 6, 8}, such as (5, 7, 11, 13). These patterns are the densest possible for their size, minimizing the span from the first to the last element while remaining admissible. Higher-k tuples follow similar constructions, with patterns designed to evade coverage of residues small primes. The Hardy–Littlewood k-tuple extends the twin prime by positing that every admissible k-tuple occurs infinitely often, with an asymptotic given by a product over primes of a singular series that accounts for local densities. This , formulated in , predicts the distribution of such tuples and implies the infinitude of primes in admissible patterns. Relatedly, Dickson's conjecture asserts that for any admissible set of k linear polynomials with positive leading coefficients and integer coefficients, there are infinitely many integers n such that all polynomials evaluate to primes at n. As of 2025, the largest known has 10,132 digits and was discovered by Peter Kaiser in February 2019, starting with the prime 667,674,063,382,677 × 233,608 − 1. Computational searches continue to identify larger instances, supporting heuristic expectations from the conjectures, though proving infinitude remains open.

References

Add your contribution
Related Hubs
User Avatar
No comments yet.