OFFSET
1,1
EXAMPLE
a(4)=7 because between 4*p(4)=4*7=28 and 5*p(5)=5*11=55 one has 7 primes (29,31,37,41,43,47 and 53).
MAPLE
with(numtheory): seq(pi((n+1)*ithprime(n+1))-pi(n*ithprime(n)), n=1..74); # Emeric Deutsch, Aug 16 2008
CROSSREFS
KEYWORD
nonn
AUTHOR
Juri-Stepan Gerasimov, Aug 04 2008
EXTENSIONS
Corrected and extended by Emeric Deutsch, Aug 16 2008
STATUS
approved