login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A277397
Like 4-white numbers but with blocks of 4 starting at left.
3
0, 1, 1000, 11110, 14638, 15628, 17170, 18217, 19305, 19999, 21649, 22320, 25234, 29041, 30195, 31428
OFFSET
1,3
EXAMPLE
14638^4 = 45912080296849936 and 4591 + 2080+ 2968 + 4993 + 6 = 14638.
MAPLE
P:=proc(q, h) local a, b, c, d, n; print(0); for n from 1 to q do
a:=n^h; d:=ilog10(n^h)+1; c:=d-h*trunc(d/h); b:=0;
while a>0 do b:=b+(a mod 10^c); a:=trunc(a/10^c); c:=h; od;
if n=b then print(n); fi; od; end: P(10^15, 4);
KEYWORD
nonn,base,easy,fini,full
AUTHOR
Paolo P. Lava, Oct 13 2016
STATUS
approved