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 A062773 #25 Dec 13 2024 06:30:07 %S A062773 3,5,10,16,31,40,62,73,100,147,163,220,264,284,330,410,488,520,610, %T A062773 676,706,812,887,1001,1164,1253,1295,1382,1424,1524,1878,1977,2142, %U A062773 2191,2490,2548,2730,2916,3044,3242,3437,3513,3869,3946,4090,4165,4628 %N A062773 Index of the smallest prime which follows square of n-th prime. %H A062773 Harry J. Smith, <a href="/A062773/b062773.txt">Table of n, a(n) for n=1..1000</a> %F A062773 a(n) = pi( nextprime( prime(n)^2 ) ). %F A062773 a(n) = A000720(A062772(n)). - _Michel Marcus_, Jun 24 2014 %e A062773 100th prime, 541 immediately follows 529, square of 9th prime, a(9)=100. %t A062773 PrimePi[NextPrime[#]]&/@(Prime[Range[50]]^2) (* _Harvey P. Dale_, Apr 12 2023 *) %o A062773 (PARI) a(n) = { primepi(prime(n)^2) + 1 } \\ _Harry J. Smith_, Aug 10 2009 %Y A062773 Cf. A054270, A054271, A000879. %K A062773 nonn %O A062773 1,1 %A A062773 _Labos Elemer_, Jul 18 2001 %E A062773 Offset changed from 0 to 1 by _Harry J. Smith_, Aug 10 2009