EconPapers    
Economics at your fingertips  
 

Predicting Maximal Gaps in Sets of Primes

Alexei Kourbatov and Marek Wolf
Additional contact information
Alexei Kourbatov: JavaScripter.net, 15127 NE 24th St., #578, Redmond, WA 98052, USA
Marek Wolf: Faculty of Mathematics and Natural Sciences, Cardinal Stefan Wyszynski University, Wóycickiego 1/3, Bldg. 21, PL-01-938 Warsaw, Poland

Mathematics, 2019, vol. 7, issue 5, 1-28

Abstract: Let q > r ≥ 1 be coprime integers. Let P c = P c ( q , r , H ) be an increasing sequence of primes p satisfying two conditions: (i) p ≡ r (mod q ) and (ii) p starts a prime k -tuple with a given pattern H . Let π c ( x ) be the number of primes in P c not exceeding x . We heuristically derive formulas predicting the growth trend of the maximal gap G c ( x ) = max p ′ ≤ x ( p ′ − p ) between successive primes p , p ′ ∈ P c . Extensive computations for primes up to 10 14 show that a simple trend formula G c ( x ) ∼ x π c ( x ) · ( log π c ( x ) + O k ( 1 ) ) works well for maximal gaps between initial primes of k -tuples with k ≥ 2 (e.g., twin primes, prime triplets, etc.) in residue class r (mod q ). For k = 1 , however, a more sophisticated formula G c ( x ) ∼ x π c ( x ) · log π c 2 ( x ) x + O ( log q ) gives a better prediction of maximal gap sizes. The latter includes the important special case of maximal gaps in the sequence of all primes ( k = 1 , q = 2 , r = 1 ). The distribution of appropriately rescaled maximal gaps G c ( x ) is close to the Gumbel extreme value distribution. Computations suggest that almost all maximal gaps satisfy a generalized strong form of Cramér’s conjecture. We also conjecture that the number of maximal gaps between primes in P c below x is O k ( log x ) .

Keywords: Cramér conjecture; Gumbel distribution; prime gap; prime k -tuple; residue class; Shanks conjecture; totient (search for similar items in EconPapers)
JEL-codes: C (search for similar items in EconPapers)
Date: 2019
References: View references in EconPapers View complete reference list from CitEc
Citations: View citations in EconPapers (1)

Downloads: (external link)
https://www.mdpi.com/2227-7390/7/5/400/pdf (application/pdf)
https://www.mdpi.com/2227-7390/7/5/400/ (text/html)

Related works:
This item may be available elsewhere in EconPapers: Search for items with the same title.

Export reference: BibTeX RIS (EndNote, ProCite, RefMan) HTML/Text

Persistent link: https://EconPapers.repec.org/RePEc:gam:jmathe:v:7:y:2019:i:5:p:400-:d:228238

Access Statistics for this article

Mathematics is currently edited by Ms. Emma He

More articles in Mathematics from MDPI
Bibliographic data for series maintained by MDPI Indexing Manager ().

 
Page updated 2025-03-19
Handle: RePEc:gam:jmathe:v:7:y:2019:i:5:p:400-:d:228238