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 A118140 #14 Sep 06 2024 08:06:33 %S A118140 13,14,15,16,18,20,23,25,30,32,36,40,45,48,54,60,65,69,76,82,89,96, %T A118140 101,108,116,125,132,139,147,156,164,174,184,192,202,212,220,229,241, %U A118140 252,283,295,318,328,342,356,377,392,407,420,432,445,472,485,501,517,531 %N A118140 Index of A005846(n) in the primes. %H A118140 Amiram Eldar, <a href="/A118140/b118140.txt">Table of n, a(n) for n = 1..10000</a> %F A118140 a(n) = PrimePi(A005846(n)) = A000720(A005846(n)). %t A118140 a = Table[PrimePi[n^2 + n + 41], {n, 0, 39}] (* correct only up to 39 *) %t A118140 PrimePi[Select[Table[n^2 + n + 41, {n, 0, 100}], PrimeQ]] (* _Amiram Eldar_, Sep 06 2024 *) %Y A118140 Cf. A000720, A005846. %K A118140 nonn %O A118140 1,1 %A A118140 _Roger L. Bagula_, May 11 2006 %E A118140 Offset corrected by Assoc. Eds. of the OEIS, Jun 15 2010