OFFSET
1,2
EXAMPLE
7496 is in the sequence because 7 + 4^2 + 9^3 + 6^4 = 2048 = 2^11.
MAPLE
with(numtheory):for n from 1 to 10000 do:l:=length(n):n0:=n:s:=0:for m from
1 to l do:q:=n0:u:=irem(q, 10):v:=iquo(q, 10):n0:=v :s:=s+u^(l-m+1):od: x:=evalf(log[2](s)):if
x=floor(x) then printf(`%d, `, n):else fi:od:
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Michel Lagneau, Dec 21 2010
STATUS
approved