OFFSET
1,3
COMMENTS
a(n) + n = prime(2*pi(n)).
EXAMPLE
a(11) = 18 as pi(11) = 5 and pi(11+18) = pi(29) = 10.
MAPLE
with(numtheory): a:=n->ithprime(2*pi(n))-n: 0, seq(a(n), n=2..80); # Emeric Deutsch, Jul 20 2005
CROSSREFS
KEYWORD
nonn
AUTHOR
Amarnath Murthy, Nov 08 2003
EXTENSIONS
More terms from Emeric Deutsch, Jul 20 2005
STATUS
approved