OFFSET
1,1
COMMENTS
No other term up to 3*10^12. - Giovanni Resta, Apr 12 2018
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..22
EXAMPLE
(10 - 5) = 5 and 5^1 = 5;
(10 - 8) = 2 and 2^3 = 8;
(100 - 14) = 86 and 8^1 + 6^1 = 14;
(10000 - 3953) = 6047 and 6^4 + 0^4 + 4^4 + 7^4 = 3953;
(100000 - 33626) = 66374 and 6^5 + 6^5 + 3^5 + 7^5 + 4^5 = 33626;
(100000000 - 89843301) = 10156699 and 1^8 + 0^8 + 1^8 + 5^8 + 6^8 + 6^8 + 9^8 + 9^8 = 89843301.
MAPLE
with(numtheory): P:=proc(q) local a, b, i, j, k, n;
for n from 1 to q do a:=convert(10^(ilog10(n)+1)-n, base, 10);
b:=convert(a, `+`); j:=1; i:=0; while n>b do
if i=b then break; else i:=b; j:=j+1; b:=add(a[k]^j, k=1..nops(a)); fi; od;
if n=b then print(n); fi; od; end: P(10^9);
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Paolo P. Lava, Apr 11 2018
EXTENSIONS
a(7)-a(16) from Chai Wah Wu, Jun 06 2018
STATUS
approved