login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A062773 Index of the smallest prime which follows square of n-th prime. 1
3, 5, 10, 16, 31, 40, 62, 73, 100, 147, 163, 220, 264, 284, 330, 410, 488, 520, 610, 676, 706, 812, 887, 1001, 1164, 1253, 1295, 1382, 1424, 1524, 1878, 1977, 2142, 2191, 2490, 2548, 2730, 2916, 3044, 3242, 3437, 3513, 3869, 3946, 4090, 4165, 4628 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
FORMULA
a(n) = PrimePi( nextprime( prime(n)^2 ) ).
a(n) = A000720(A062772(n)). - Michel Marcus, Jun 24 2014
EXAMPLE
100th prime, 541 immediately follows 529, square of 9th prime, a(9)=100.
MATHEMATICA
PrimePi[NextPrime[#]]&/@(Prime[Range[50]]^2) (* Harvey P. Dale, Apr 12 2023 *)
PROG
(PARI) { default(primelimit, 64000000); for (n=1, 1000, write("b062773.txt", n, " ", primepi(nextprime(prime(n)^2))) ) } \\ Harry J. Smith, Aug 10 2009
CROSSREFS
Sequence in context: A320788 A000990 A129361 * A319130 A329467 A293818
KEYWORD
nonn
AUTHOR
Labos Elemer, Jul 18 2001
EXTENSIONS
OFFSET changed from 0 to 1 by Harry J. Smith, Aug 10 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 27 03:11 EDT 2024. Contains 375462 sequences. (Running on oeis4.)