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”).

A046290
Numbers k such that 2^k contains 2^4=16 as its largest proper substring of the form 2^m (probably finite).
0
14, 24, 40, 44, 62, 64, 70, 75, 81, 84, 98, 99, 114, 117, 122, 127, 133, 134, 140, 159, 167, 175, 184, 188, 189, 190, 200, 212, 215, 232, 234, 273, 274, 282, 292, 300, 318, 348, 377, 440, 516, 527, 620
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
Cf. A033921.
Sequence in context: A106699 A111455 A171124 * A111743 A164399 A164404
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jun 15 1998
STATUS
approved