OFFSET
1,2
LINKS
Ivan Neretin, Table of n, a(n) for n = 1..1000
EXAMPLE
n=10: a(10) = prime(10+pi(10)) - prime(10) = prime(10+4)-29 = 43-29 = 14.
MATHEMATICA
Table[Prime[n+PrimePi[n]]-Prime[n], {n, 1, 128}]
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, Apr 23 2003
EXTENSIONS
Offset changed by Georg Fischer, Oct 29 2023
STATUS
approved