login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A329160
Let P1>=5, P2, P3 be consecutive primes, with P2-P1=2. a(n)=(P1+P2)/12 when P3-P2 sets a record.
8
1, 5, 23, 33, 87, 278, 495, 1293, 2027, 2690, 4245, 6773, 13283, 24938, 28893, 44270, 67475, 139708, 224922, 315893, 971000, 1723960, 3319792, 6228255, 7013717, 13194622, 25321985, 31864375, 32163975, 65155398, 86090027, 381175405, 452803425
OFFSET
1,2
COMMENTS
6*a(n)-1, 6*a(n)+1 are twin primes such that the prime gap immediately following 6*a(n)+1 sets a record. The corresponding gap lengths are provided in A329161.
EXAMPLE
See A329161.
PROG
(PARI) p1=5; p2=7; r=0; forprime(p3=11, 1e9, if(p2-p1==2, d=p3-p2; if(d>r, r=d; print1((p1+p2)/12, ", "))); p1=p2; p2=p3)
KEYWORD
nonn
AUTHOR
Hugo Pfoertner, Nov 08 2019
STATUS
approved