OFFSET
1,2
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..1000
MATHEMATICA
Table[Prime[n^2] - Prime[n], {n, 40}]
PROG
(Magma) [NthPrime(n^2)-NthPrime(n): n in [1..40]];
(PARI) a(n)=prime(n^2)-prime(n) \\ Charles R Greathouse IV, Mar 21 2014
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vincenzo Librandi, Mar 06 2013
STATUS
approved