OFFSET
1,3
FORMULA
a(n) = A007920(n^4). - Michel Marcus, Jun 06 2014
EXAMPLE
a(5)=6 because n^4=625 and next prime is 631; 631-625=6.
MATHEMATICA
Table[NextPrime[n^4]-n^4, {n, 90}] (* Harvey P. Dale, Aug 27 2017 *)
PROG
(PARI) a(n) = nextprime(n^4) - n^4; \\ Michel Marcus, Jun 06 2014
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Enoch Haga, Mar 26 2000
STATUS
approved