login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A046298 Numbers k such that 2^k contains 2^12=4096 as its largest proper substring of the form 2^m. 0
104, 268, 346, 405, 455, 462, 504, 512, 658, 726, 820, 884, 923, 947, 974, 992, 994, 1012, 1122, 1123, 1132, 1198, 1251, 1278, 1280, 1329, 1356, 1361, 1379, 1411, 1433, 1435, 1446, 1453, 1479, 1498, 1502, 1512, 1543, 1544, 1552, 1572, 1585, 1628, 1665 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
2^104 = 20282{4096}03651670423947251286016.
MATHEMATICA
sub2[n_] := Block[{s = ToString[2^n], k = n-1}, While[k >= 0 && ! StringContainsQ[s, ToString[2^k]], k--]; k]; Select[Range[1665], sub2[#] == 12 &] (* Giovanni Resta, Oct 14 2019 *)
CROSSREFS
Cf. A033921.
Sequence in context: A121962 A235011 A271745 * A298325 A258556 A299218
KEYWORD
nonn,base
AUTHOR
Patrick De Geest, Jun 15 1998
EXTENSIONS
Definition reworded and offset changed to 1 by M. F. Hasler, Oct 11 2019
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 18:17 EDT 2024. Contains 371962 sequences. (Running on oeis4.)