OFFSET
2,1
LINKS
Antti Karttunen, Table of n, a(n) for n = 2..16384
MATHEMATICA
Table[Prime[1+PrimePi[EulerPhi[w]]], {w, 2, 128}] (* or *)
NextPrime[EulerPhi[#]] & /@ Range[2, 80] (* Harvey P. Dale, Jan 30 2011 *)
PROG
(PARI) a(n)=nextprime(eulerphi(n)+1) \\ Charles R Greathouse IV, Oct 31 2011
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Labos Elemer, May 08 2002
STATUS
approved