|
|
A035138
|
|
Integers that are equal to the sum of ascending numbers raised to their digits powers.
|
|
5
|
|
|
|
OFFSET
|
1,2
|
|
LINKS
|
|
|
EXAMPLE
|
594: 1^5 + 2^9 + 3^4 = 1 + 512 + 81 = 594.
|
|
MATHEMATICA
|
|
|
PROG
|
(PARI) isok(n) = my(d=digits(n)); sum(k=1, #d, k^d[k]) == n; \\ Michel Marcus, Feb 24 2017
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn,fini,base,full
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|