cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A329159 2*a(n) are the lengths of record prime gaps immediately preceding twin primes.

This page as a plain text file.
%I A329159 #15 Oct 01 2023 17:40:11
%S A329159 1,2,3,5,6,11,14,15,17,20,24,26,30,35,39,42,45,50,66,68,74,75,89,98,
%T A329159 104,107,117,123,144,159,165,180,183,192,195
%N A329159 2*a(n) are the lengths of record prime gaps immediately preceding twin primes.
%C A329159 The corresponding locations are provided in A329158. The gap 2 -> 3 before the pair 3, 5 is excluded.
%o A329159 (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)
%Y A329159 Cf. A329158, A329160, A329161, A329164, A329165.
%K A329159 nonn,more
%O A329159 1,2
%A A329159 _Hugo Pfoertner_, Nov 06 2019
%E A329159 a(31)-a(34) from _Jinyuan Wang_, Mar 01 2020
%E A329159 a(35) from _David Trimas_, Jul 26 2023