|
|
A364601
|
|
Numbers m such that, if k is the number of digits of m, then for some r > 1, the sum of the k-th powers of the digits of m^r is equal to m.
|
|
0
|
|
|
1, 7, 8, 9, 180, 205, 38998, 45994, 89080, 726191, 5540343, 7491889, 8690141, 167535050, 749387107, 9945245922
(list;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
Corresponding r's: any, 4, 3, 2, 6, 2, 2, 2, 2, 2, 3, 2, 3, 3, 4, 3.
|
|
LINKS
|
|
|
EXAMPLE
|
180 with r=6 satisfies: 180^6 = 34012224000000, 3^3 + 4^3 + 1 + 2^3 + 2^3 + 2^3 + 4^3 = 180.
|
|
PROG
|
(PARI) SomP(n, p)={resu=0; for(i=1, #digits(n), resu+=(digits(n)[i])^p); resu}
Ppdi(k, r)={for(n=10^(k-1), 10^k, if(SomP(n^r, k)==n, print1(n, "; ")))}
|
|
CROSSREFS
|
Cf. A005188 (Armstrong's numbers, case r=1 in our terminology).
|
|
KEYWORD
|
nonn,base,fini,more
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|