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 A342870 #19 Apr 24 2021 22:00:30 %S A342870 1,1,0,0,1,2,2,1,2,2,0,2,4,1,1,1,5,1,3,4,2,5,4,2,4,3,6,6,3,5,6,6,4,6, %T A342870 4,7,9,6,8,9,6,8,10,6,11,9,13,8,12,6,14,4,7,11,11,15,9,10,12,11,10,12, %U A342870 13,8,15,14,11,12,9,11,15,14,18,16,11,18,10 %N A342870 a(n) is the number of twin primes between A001359(n)^2 and A001359(n)*(A001359(n)+1). %o A342870 (PARI) {for(k=1, 400, if(prime(k+1)-prime(k)==2, my(c=0); forprime(m=prime(k)^2, prime(k)*(prime(k)+1), c+=isprime(m+2)); print1(c, ", ")))} %Y A342870 Cf. A171727, A342552, A001359, A037074, A006094. %K A342870 nonn %O A342870 1,6 %A A342870 _Zhandos Mambetaliyev_, Mar 28 2021