|
|
A135554
|
|
Numbers n such that n is the fourth power of an integer and the sum of digits of n is prime.
|
|
2
|
|
|
16, 256, 625, 2401, 4096, 83521, 160000, 279841, 456976, 1048576, 1500625, 2560000, 2825761, 3748096, 4477456, 4879681, 5764801, 6250000, 7890481, 9834496, 11316496, 14776336, 16777216, 20151121, 21381376, 24010000, 28398241
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
COMMENTS
|
|
|
LINKS
|
|
|
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
|
|
|
EXTENSIONS
|
|
|
STATUS
|
approved
|
|
|
|