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 A143738 #8 Sep 08 2022 08:45:37 %S A143738 0,1,2,2,3,3,4,5,6,6,8,8,9,11,12,14,16,16,17,17,19,20,21,22,24,26,26, %T A143738 26,29,30,30,31,34,36,36,39,41,42,45,45,48,49,50,53,55,59,61,63,66,66, %U A143738 68,70,74,74,76,77,78,83,87,90,91,93,96,100 %N A143738 Number of twin primes between n and n^2. Only smaller of twins (terms of A001359) are counted. %H A143738 Amiram Eldar, <a href="/A143738/b143738.txt">Table of n, a(n) for n = 1..10000</a> %e A143738 For n = 6, between 6 and 36 the smaller of twin pairs are {11, 17, 29}, so a(6) = 3. %t A143738 Table[Count[Table[PrimeQ[j] && PrimeQ[j + 2], {j, n, n*n}], True], {n, 1, 100}] %o A143738 (Magma) [#[p:p in PrimesInInterval(n,n^2)|IsPrime(p+2)]:n in [1..80]]; // _Marius A. Burtea_, Dec 20 2019 %Y A143738 Cf. A001359, A080356. %K A143738 nonn %O A143738 1,3 %A A143738 Alen Skugor (askugor(AT)gmail.com), Aug 30 2008