OFFSET
1,1
EXAMPLE
2^14 = {16}384;
2^24 = {16}7772{16};
2^40 = 109951{16}27776.
MATHEMATICA
sub2[n_] := Block[{s = ToString[2^n], k = n - 1}, While[k >= 0 && ! StringContainsQ[s, ToString[2^k]], k--]; k]; Select[Range[2000], sub2[#] == 4 &] (* Giovanni Resta, Oct 14 2019 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jun 15 1998
STATUS
approved