OFFSET
1,3
COMMENTS
Seven pairs of consecutive numbers: 27150160 and 27150161; 28888885 and 28888886; 29372382 and 29372383; 35555551 and 35555552; 37777774 and 37777775; 40483492 and 40483493; 41111107 and 41111108.
Two sets of three consecutive numbers: 34444440, 34444441 and 34444442; 39999995, 39999996 and 39999997.
LINKS
Paolo P. Lava, Table of n, a(n) for n = 1..63
EXAMPLE
11111110^7 = 20907501177620218737880174500399224623868710000000 and
2 + 0907501 + 1776202 + 1873788 + 0174500 + 3992246 + 2386871 + 0000000 = 11111110.
MAPLE
P:=proc(q, h) local a, b, n;
for n from 0 to q do a:=n^h; b:=0; while a>0 do b:=b+(a mod 10^h); a:=trunc(a/10^h); od;
if n=b then print(n); fi; od; end: P(10^6, 7);
CROSSREFS
KEYWORD
nonn,base,fini,full
AUTHOR
Paolo P. Lava, Jul 08 2016
STATUS
approved