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!)
A352246 Indices k where A352245(k) = 0. 2
2, 4, 7, 8, 9, 11, 12, 14, 15, 16, 18, 19, 22, 23, 24, 25, 27, 28, 29, 30, 31, 33, 35, 36, 37, 38, 39, 41, 43, 44, 45, 46, 47, 48, 49, 51, 54, 55, 57, 58, 59, 60, 61, 62, 63, 66, 70, 73, 74, 75, 76, 77, 78, 79, 86, 87, 88, 89, 90, 91, 96, 99, 101, 103, 107, 117, 118, 123, 126, 127, 140, 147, 151 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
See A352245 for further details and examples.
LINKS
PROG
(Python)
from itertools import count, islice
def agen():
b = "1"
for k in count(1):
bk = bin(k)[2:]
idx = b.find(bk) + 1
if idx == 0: yield k
b += bin(idx)[2:]
print(list(islice(agen(), 73))) # Michael S. Branicky, Mar 18 2022
CROSSREFS
Sequence in context: A167500 A010377 A194465 * A359585 A035261 A047351
KEYWORD
nonn
AUTHOR
Scott R. Shannon, Mar 09 2022
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 March 28 18:04 EDT 2024. Contains 371254 sequences. (Running on oeis4.)