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.
%I A329158 #7 Nov 08 2019 18:17:55 %S A329158 1,2,5,25,87,192,500,1158,1668,4217,4713,5955,17127,28905,61838,76967, %T A329158 96147,139725,260342,1061923,1205080,4663498,8871842,11732765, %U A329158 32534740,42313103,77638122,92523718,282054523,728833340,2940948542,3344803093,11810906035 %N A329158 Let P1>=3, P2, P3 be consecutive primes, with P3-P2=2. a(n)=(P2+P3)/12 when P2-P1 sets a record. %C A329158 6*a(n)-1, 6*a(n)+1 are twin primes such that the prime gap immediately preceding 6*a(n)-1 sets a record. The corresponding gap lengths are provided in A329159. %o A329158 (PARI) p1=3;p2=5;r=0;forprime(p3=7,1e9,if(p3-p2==2,d=p2-p1;if(d>r,r=d;print1((p2+p3)/12,", ")));p1=p2;p2=p3) %Y A329158 Cf. A002822, A084105, A329159, A329160, A329161, A329164, A329165. %K A329158 nonn %O A329158 1,2 %A A329158 _Hugo Pfoertner_, Nov 06 2019