login
A329159
2*a(n) are the lengths of record prime gaps immediately preceding twin primes.
8
1, 2, 3, 5, 6, 11, 14, 15, 17, 20, 24, 26, 30, 35, 39, 42, 45, 50, 66, 68, 74, 75, 89, 98, 104, 107, 117, 123, 144, 159, 165, 180, 183, 192, 195
OFFSET
1,2
COMMENTS
The corresponding locations are provided in A329158. The gap 2 -> 3 before the pair 3, 5 is excluded.
PROG
(PARI) p1=3; p2=5; r=0; forprime(p3=7, 1e9, if(p3-p2==2, d=p2-p1; if(d>r, r=d; print1(d/2, ", "))); p1=p2; p2=p3)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Hugo Pfoertner, Nov 06 2019
EXTENSIONS
a(31)-a(34) from Jinyuan Wang, Mar 01 2020
a(35) from David Trimas, Jul 26 2023
STATUS
approved