login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A268984 Record (maximal) gaps between primes of the form 10k + 1. 2
20, 30, 70, 100, 110, 120, 180, 190, 240, 280, 330, 340, 400, 410, 450, 480, 500, 540, 570, 590, 620, 640, 670, 720, 740, 770, 990, 1110, 1240, 1260, 1380, 1480, 1650, 1780, 1800, 1890, 1900, 1910, 2070 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Dirichlet's theorem on arithmetic progressions suggests that average gaps between primes of the form 10k + 1 below x are about phi(10)*log(x). This sequence shows that the record gap ending at p grows almost as fast as phi(10)*log^2(p). Here phi(n) is A000010, Euler's totient function; phi(10)=4.
Conjecture: a(n) < phi(10)*log^2(A268986(n)) almost always.
A268985 lists the primes preceding the maximal gaps.
A268986 lists the corresponding primes at the end of the maximal gaps.
LINKS
Alexei Kourbatov, On the distribution of maximal gaps between primes in residue classes, arXiv:1610.03340 [math.NT], 2016.
Alexei Kourbatov and Marek Wolf, Predicting maximal gaps in sets of primes, arXiv preprint arXiv:1901.03785 [math.NT], 2019.
EXAMPLE
The first two primes of the form 10k + 1 are 11 and 31, so a(1)=31-11=20. The next primes of this form are 41, 61, 71; the gaps 41-31, 61-41, 71-61 are not records so nothing is added to the sequence. The next prime of this form is 101 and the gap 101-71=30 is a new record, so a(2)=30.
PROG
(PARI) re=0; s=11; forprime(p=31, 1e8, if(p%10!=1, next); g=p-s; if(g>re, re=g; print1(g", ")); s=p)
CROSSREFS
Sequence in context: A256227 A142342 A008444 * A359002 A066214 A285494
KEYWORD
nonn
AUTHOR
Alexei Kourbatov, Feb 16 2016
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 15 07:05 EDT 2024. Contains 375172 sequences. (Running on oeis4.)