|
|
A066233
|
|
Numbers k such that the sum of digits of k^k is a prime.
|
|
1
|
|
|
4, 5, 8, 11, 19, 20, 25, 28, 29, 37, 43, 50, 64, 74, 82, 89, 95, 97, 98, 104, 113, 116, 124, 139, 152, 161, 164, 170, 196, 203, 206, 208, 214, 215, 217, 221, 235, 266, 269, 280, 287, 289, 296, 301, 304, 311, 325, 337, 344, 359, 367, 370, 388, 391, 407, 418, 422
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,1
|
|
LINKS
|
|
|
PROG
|
(PARI) SumD(x)= { local(s=0); while (x>9, s+=x%10; x\=10); return(s + x) } { n=0; for (m=1, 10^9, if (isprime(SumD(m^m)), write("b066233.txt", n++, " ", m); if (n==1000, return)) ) } \\ Harry J. Smith, Feb 07 2010
|
|
CROSSREFS
|
|
|
KEYWORD
|
base,nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|