HOME

TheInfoList



OR:

A prime gap is the difference between two successive
prime number A prime number (or a prime) is a natural number greater than 1 that is not a Product (mathematics), product of two smaller natural numbers. A natural number greater than 1 that is not prime is called a composite number. For example, 5 is prime ...
s. The ''n''-th prime gap, denoted ''g''''n'' or ''g''(''p''''n'') is the difference between the (''n'' + 1)-th and the ''n''-th prime numbers, i.e. :g_n = p_ - p_n.\ We have ''g''1 = 1, ''g''2 = ''g''3 = 2, and ''g''4 = 4. The
sequence In mathematics, a sequence is an enumerated collection of objects in which repetitions are allowed and order matters. Like a set, it contains members (also called ''elements'', or ''terms''). The number of elements (possibly infinite) is called ...
(''g''''n'') of prime gaps has been extensively studied; however, many questions and conjectures remain unanswered. The first 60 prime gaps are: :1, 2, 2, 4, 2, 4, 2, 4, 6, 2, 6, 4, 2, 4, 6, 6, 2, 6, 4, 2, 6, 4, 6, 8, 4, 2, 4, 2, 4, 14, 4, 6, 2, 10, 2, 6, 6, 4, 6, 6, 2, 10, 2, 4, 2, 12, 12, 4, 2, 4, 6, 2, 10, 6, 6, 6, 2, 6, 4, 2, ... . By the definition of ''g''''n'' every prime can be written as :p_ = 2 + \sum_^n g_i.


Simple observations

The first, smallest, and only odd prime gap is the gap of size 1 between 2, the only even prime number, and 3, the first odd prime. All other prime gaps are even. There is only one pair of consecutive gaps having length 2: the gaps ''g''2 and ''g''3 between the primes 3, 5, and 7. For any integer ''n'', the
factorial In mathematics, the factorial of a non-negative denoted is the product of all positive integers less than or equal The factorial also equals the product of n with the next smaller factorial: \begin n! &= n \times (n-1) \times (n-2) \ ...
''n''! is the
product Product may refer to: Business * Product (business), an item that serves as a solution to a specific consumer problem. * Product (project management), a deliverable or set of deliverables that contribute to a business solution Mathematics * Produ ...
of all positive integers up to and including ''n''. Then in the sequence : n!+2, n!+3,\ldots,n!+n the first term is divisible by 2, the second term is divisible by 3, and so on. Thus, this is a sequence of consecutive composite integers, and it must belong to a gap between primes having length at least ''n''. It follows that there are gaps between primes that are arbitrarily large, that is, for any integer ''N'', there is an integer ''m'' with . However, prime gaps of ''n'' numbers can occur at numbers much smaller than ''n''!. For instance, the first prime gap of size larger than 14 occurs between the primes 523 and 541, while 15! is the vastly larger number 1307674368000. The average gap between primes increases as the
natural logarithm The natural logarithm of a number is its logarithm to the base of the mathematical constant , which is an irrational and transcendental number approximately equal to . The natural logarithm of is generally written as , , or sometimes, if ...
of these primes, and therefore the ratio of the prime gap to the primes involved decreases (and is asymptotically zero). This is a consequence of the
prime number theorem In mathematics, the prime number theorem (PNT) describes the asymptotic distribution of the prime numbers among the positive integers. It formalizes the intuitive idea that primes become less common as they become larger by precisely quantifying t ...
. From a heuristic view, we expect the probability that the ratio of the length of the gap to the natural logarithm is greater than or equal to a fixed positive number ''k'' to be ; consequently the ratio can be arbitrarily large. Indeed, the ratio of the gap to the number of digits of the integers involved does increase without bound. This is a consequence of a result by Westzynthius.. In the opposite direction, the twin prime conjecture posits that for infinitely many integers ''n''.


Numerical results

Usually the
ratio In mathematics, a ratio shows how many times one number contains another. For example, if there are eight oranges and six lemons in a bowl of fruit, then the ratio of oranges to lemons is eight to six (that is, 8:6, which is equivalent to the ...
of \frac is called the ''merit'' of the gap ''g''''n'' . , the largest known prime gap with identified probable prime gap ends has length 7186572, with 208095-digit probable primes and merit ''M'' = 14.9985, found by Michiel Jansen using a sieve program developed by J. K. Andersen. The largest known prime gap with identified proven primes as gap ends has length 1113106 and merit 25.90, with 18662-digit primes found by P. Cami, M. Jansen and J. K. Andersen. , the largest known merit value and first with merit over 40, as discovered by the Gapcoin network, is 41.93878373 with the 87-digit prime 293703234068022590158723766104419463425709075574811762098588798217895728858676728143227. The prime gap between it and the next prime is 8350. The Cramér–Shanks–Granville ratio is the ratio of ''g''''n'' / (ln(''p''''n''))2. If we discard anomalously high values of the ratio for the primes 2, 3, 7, then the greatest known value of this ratio is 0.9206386 for the prime 1693182318746371. Other record terms can be found at . We say that ''g''''n'' is a ''maximal gap'', if ''g''''m'' < ''g''''n'' for all ''m'' < ''n''. the largest known maximal prime gap has length 1550, found by Bertil Nyman. It is the 80th maximal gap, and it occurs after the prime 18361375334787046697. Other record (maximal) gap sizes can be found in , with the corresponding primes ''p''''n'' in , and the values of ''n'' in . The sequence of maximal gaps up to the ''n''th prime is conjectured to have about 2\ln n terms (see table below).


Further results


Upper bounds

Bertrand's postulate In number theory, Bertrand's postulate is a theorem stating that for any integer n > 3, there always exists at least one prime number p with :n < p < 2n - 2. A less restrictive formulation is: for every n > 1, there is alw ...
, proven in 1852, states that there is always a prime number between ''k'' and 2''k'', so in particular ''p''''n''+1 < 2''p''''n'', which means ''g''''n'' < ''p''''n''. The
prime number theorem In mathematics, the prime number theorem (PNT) describes the asymptotic distribution of the prime numbers among the positive integers. It formalizes the intuitive idea that primes become less common as they become larger by precisely quantifying t ...
, proven in 1896, says that the average length of the gap between a prime ''p'' and the next prime will asymptotically approach ln(''p''), the natural logarithm of ''p'', for sufficiently large primes. The actual length of the gap might be much more or less than this. However, one can deduce from the prime number theorem an upper bound on the length of prime gaps: For every \epsilon > 0, there is a number N such that for all n > N :g_n < p_n\epsilon. One can also deduce that the gaps get arbitrarily smaller in proportion to the primes: the quotient :\lim_\frac=0. Hoheisel (1930) was the first to show that there exists a constant θ < 1 such that :\pi(x + x^\theta) - \pi(x) \sim \frac \text x \to \infty, hence showing that :g_n for sufficiently large ''n''. Hoheisel obtained the possible value 32999/33000 for θ. This was improved to 249/250 by
Heilbronn Heilbronn () is a city in northern Baden-Württemberg, Germany, surrounded by Heilbronn District. With over 126,000 residents, it is the sixth-largest city in the state. From the late Middle Ages, it developed into an important trading centre. A ...
, and to θ = 3/4 + ε, for any ε > 0, by Chudakov. A major improvement is due to Ingham, who showed that for some positive constant ''c'', if :\zeta(1/2 + it)=O(t^c)\, then \pi(x + x^\theta) - \pi(x) \sim \frac for any \theta > (1 + 4c)/(2 + 4c). Here, ''O'' refers to the
big O notation Big ''O'' notation is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular value or infinity. Big O is a member of a family of notations invented by Paul Bachmann, Edmund L ...
, ζ denotes the
Riemann zeta function The Riemann zeta function or Euler–Riemann zeta function, denoted by the Greek letter (zeta), is a mathematical function of a complex variable defined as \zeta(s) = \sum_^\infty \frac = \frac + \frac + \frac + \cdots for \operatorname(s) > ...
and π the
prime-counting function In mathematics, the prime-counting function is the function counting the number of prime numbers less than or equal to some real number ''x''. It is denoted by (''x'') (unrelated to the number ). History Of great interest in number theory is ...
. Knowing that any ''c'' > 1/6 is admissible, one obtains that θ may be any number greater than 5/8. An immediate consequence of Ingham's result is that there is always a prime number between ''n''3 and (''n'' + 1)3, if ''n'' is sufficiently large. The Lindelöf hypothesis would imply that Ingham's formula holds for ''c'' any positive number: but even this would not be enough to imply that there is a prime number between ''n''2 and (''n'' + 1)2 for ''n'' sufficiently large (see
Legendre's conjecture Legendre's conjecture, proposed by Adrien-Marie Legendre, states that there is a prime number between n^2 and (n+1)^2 for every positive integer n. The conjecture is one of Landau's problems (1912) on prime numbers; , the conjecture has neither ...
). To verify this, a stronger result such as
Cramér's conjecture In number theory, Cramér's conjecture, formulated by the Swedish mathematician Harald Cramér in 1936, is an estimate for the size of gaps between consecutive prime numbers: intuitively, that gaps between consecutive primes are always small, and t ...
would be needed. Huxley in 1972 showed that one may choose θ = 7/12 = 0.58(3). A result, due to Baker, Harman and Pintz in 2001, shows that θ may be taken to be 0.525. In 2005,
Daniel Goldston Daniel Alan Goldston (born January 4, 1954 in Oakland, California) is an American mathematician who specializes in number theory. He is currently a professor of mathematics at San Jose State University. Early life and education Daniel Alan Gol ...
,
János Pintz János Pintz (born 20 December 1950 in Budapest) is a Hungarian mathematician working in analytic number theory. He is a fellow of the Rényi Mathematical Institute and is also a member of the Hungarian Academy of Sciences. In 2014, he receiv ...
and
Cem Yıldırım Cem Yalçın Yıldırım (born 8 July 1961) is a Turkish mathematician who specializes in number theory. He obtained his B.Sc from Middle East Technical University in Ankara, Turkey and his PhD from the University of Toronto in 1990. His adviso ...
proved that :\liminf_\frac=0 and 2 years later improved this to :\liminf_\frac<\infty. In 2013, Yitang Zhang proved that :\liminf_ g_n < 7\cdot 10^7, meaning that there are infinitely many gaps that do not exceed 70 million. A Polymath Project collaborative effort to optimize Zhang's bound managed to lower the bound to 4680 on July 20, 2013. In November 2013, James Maynard introduced a new refinement of the GPY sieve, allowing him to reduce the bound to 600 and show that for any ''m'' there exists a bounded interval with an infinite number of translations each of which containing ''m'' prime numbers. Using Maynard's ideas, the Polymath project improved the bound to 246; assuming the
Elliott–Halberstam conjecture In number theory, the Elliott–Halberstam conjecture is a conjecture about the distribution of prime numbers in arithmetic progressions. It has many applications in sieve theory. It is named for Peter D. T. A. Elliott and Heini Halberstam, who ...
and its generalized form, N has been reduced to 12 and 6, respectively.


Lower bounds

In 1931, Erik Westzynthius proved that maximal prime gaps grow more than logarithmically. That is, :\limsup_\frac=\infty. In 1938, Robert Rankin proved the existence of a constant ''c'' > 0 such that the inequality :g_n > \frac holds for infinitely many values ''n'', improving the results of Westzynthius and
Paul Erdős Paul Erdős ( hu, Erdős Pál ; 26 March 1913 – 20 September 1996) was a Hungarian mathematician. He was one of the most prolific mathematicians and producers of mathematical conjectures of the 20th century. pursued and proposed problems in ...
. He later showed that one can take any constant ''c'' < ''e''γ, where γ is the
Euler–Mascheroni constant Euler's constant (sometimes also called the Euler–Mascheroni constant) is a mathematical constant usually denoted by the lowercase Greek letter gamma (). It is defined as the limiting difference between the harmonic series and the natural l ...
. The value of the constant ''c'' was improved in 1997 to any value less than 2''e''γ. Paul Erdős offered a $10,000 prize for a proof or disproof that the constant ''c'' in the above inequality may be taken arbitrarily large. This was proved to be correct in 2014 by Ford–Green–Konyagin–Tao and, independently, James Maynard. The result was further improved to :g_n > \frac for infinitely many values of ''n'' by Ford–Green–Konyagin–Maynard–Tao. In the spirit of Erdős' original prize,
Terence Tao Terence Chi-Shen Tao (; born 17 July 1975) is an Australian-American mathematician. He is a professor of mathematics at the University of California, Los Angeles (UCLA), where he holds the James and Carol Collins chair. His research includes ...
offered US$10,000 for a proof that ''c'' may be taken arbitrarily large in this inequality. Lower bounds for chains of primes have also been determined.


Conjectures about gaps between primes

Even better results are possible under the
Riemann hypothesis In mathematics, the Riemann hypothesis is the conjecture that the Riemann zeta function has its zeros only at the negative even integers and complex numbers with real part . Many consider it to be the most important unsolved problem in p ...
.
Harald Cramér Harald Cramér (; 25 September 1893 – 5 October 1985) was a Swedish mathematician, actuary, and statistician, specializing in mathematical statistics and probabilistic number theory. John Kingman described him as "one of the giants of stat ...
proved that the Riemann hypothesis implies the gap ''g''''n'' satisfies : g_n = O(\sqrt \log p_n), using the
big O notation Big ''O'' notation is a mathematical notation that describes the limiting behavior of a function when the argument tends towards a particular value or infinity. Big O is a member of a family of notations invented by Paul Bachmann, Edmund L ...
. (In fact this result needs only the weaker Lindelöf hypothesis, if one can tolerate an infinitesimally larger exponent.) Later, he conjectured that the gaps are even smaller. Roughly speaking,
Cramér's conjecture In number theory, Cramér's conjecture, formulated by the Swedish mathematician Harald Cramér in 1936, is an estimate for the size of gaps between consecutive prime numbers: intuitively, that gaps between consecutive primes are always small, and t ...
states that : g_n = O\!\left((\log p_n)^2\right). Firoozbakht's conjecture states that p_^ (where p_n is the ''n''th prime) is a strictly decreasing function of ''n'', i.e., :p_^ < p_n^ \text n \ge 1. If this conjecture is true, then the function g_n = p_ - p_n satisfies g_n < (\log p_n)^2 - \log p_n \text n > 4. It implies a strong form of Cramér's conjecture but is inconsistent with the heuristics of Granville and Pintz. which suggest that g_n > \frac(\log p_n)^2 infinitely often for any \varepsilon>0, where \gamma denotes the
Euler–Mascheroni constant Euler's constant (sometimes also called the Euler–Mascheroni constant) is a mathematical constant usually denoted by the lowercase Greek letter gamma (). It is defined as the limiting difference between the harmonic series and the natural l ...
. Meanwhile, Oppermann's conjecture is weaker than Cramér's conjecture. The expected gap size with Oppermann's conjecture is on the order of : g_n < \sqrt. As a result, under Oppermann's conjecture – there exists m (probably m=30) for which every natural n>m satisfies g_n < \sqrt.
Andrica's conjecture Andrica's conjecture (named afteDorin Andrica is a conjecture regarding the gaps between prime numbers. The conjecture states that the inequality :\sqrt - \sqrt < 1 holds for all n, where p_n is the ''n''th prime ...
, which is a weaker conjecture than Oppermann's, states thatGuy (2004) §A8 : g_n < 2\sqrt + 1. This is a slight strengthening of
Legendre's conjecture Legendre's conjecture, proposed by Adrien-Marie Legendre, states that there is a prime number between n^2 and (n+1)^2 for every positive integer n. The conjecture is one of Landau's problems (1912) on prime numbers; , the conjecture has neither ...
that between successive square numbers there is always a prime.
Polignac's conjecture In number theory, Polignac's conjecture was made by Alphonse de Polignac in 1849 and states: :For any positive even number ''n'', there are infinitely many prime gaps of size ''n''. In other words: There are infinitely many cases of two consecutive ...
states that every positive even number ''k'' occurs as a prime gap infinitely often. 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 Yitang Zhang may refer to: Chinese culture, etc. * Zhang (surname) (張/张), common Chinese surname ** Zhang (surname 章), a rarer Chinese surname * Zhang County (漳县), of Dingxi, Gansu * Zhang River (漳河), a river flowing mainly in Henan * ''Zh ...
's result proves that it is true for at least one (currently unknown) value of ''k'' which is smaller than 70,000,000; as discussed above, this upper bound has been improved to 246.


As an arithmetic function

The gap ''g''''n'' between the ''n''th and (''n'' + 1)st prime numbers is an example of an arithmetic function. In this context it is usually denoted ''d''''n'' and called the prime difference function. The function is neither multiplicative nor additive.


See also

* Bonse's inequality *
Gaussian moat In number theory, the Gaussian moat problem asks whether it is possible to find an infinite sequence of distinct Gaussian prime numbers such that the difference between consecutive numbers in the sequence is bounded. More colorfully, if one imagin ...
*
Twin prime 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 (41, 43). In other words, a twin prime is a prime that has a prime gap of two. Sometimes the term ''twin p ...


References

*


Further reading

* *


External links

* Thomas R. Nicely
Some Results of Computational Research in Prime Numbers -- Computational Number Theory
This reference web site includes a list of all first known occurrence prime gaps. * * * Armin Shams
Re-extending Chebyshev's theorem about Bertrand's conjecture
does not involve an 'arbitrarily big' constant as some other reported results. * Chris Caldwell
''Gaps Between Primes''
an elementary introduction * Andrew Granville
''Primes in Intervals of Bounded Length''
overview of the results obtained so far up to and including James Maynard's work of November 2013. {{Prime number classes Arithmetic functions Prime numbers