OFFSET
1,2
EXAMPLE
a(2)=pi(2)[prime(3)-prime(2)]=1*(5-3)=2.
MAPLE
with(numtheory): a:=n->pi(n)*(ithprime(n+1)-ithprime(n)): seq(a(n), n=1..70);
MATHEMATICA
a = Table[(Prime[n + 1] - Prime[n])*PrimePi[n], {n, 1, 200}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Roger L. Bagula, Jun 27 2005
STATUS
approved