OFFSET
1,1
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1090
EXAMPLE
a(1)=16 because 2^4=16 and 1+6=7, prime.
MATHEMATICA
Select[Range[80]^4, PrimeQ[Total[IntegerDigits[#]]]&] (* Harvey P. Dale, Dec. 13, 2010 *)
PROG
(PARI) isok(n) = ispower(n, 4) && isprime(sumdigits(n)); \\ Michel Marcus, Oct 19 2016
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Enoch Haga, Nov 25 2007
EXTENSIONS
Description corrected by Harvey P. Dale, Dec 13 2010
STATUS
approved