login
Indices k where A352245(k) = 0.
2

%I #12 Mar 18 2022 12:28:29

%S 2,4,7,8,9,11,12,14,15,16,18,19,22,23,24,25,27,28,29,30,31,33,35,36,

%T 37,38,39,41,43,44,45,46,47,48,49,51,54,55,57,58,59,60,61,62,63,66,70,

%U 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

%N Indices k where A352245(k) = 0.

%C See A352245 for further details and examples.

%H Scott R. Shannon, <a href="/A352246/a352246.png">Image of the zero indices for the first 100000 terms of A352245</a>.

%o (Python)

%o from itertools import count, islice

%o def agen():

%o b = "1"

%o for k in count(1):

%o bk = bin(k)[2:]

%o idx = b.find(bk) + 1

%o if idx == 0: yield k

%o b += bin(idx)[2:]

%o print(list(islice(agen(), 73))) # _Michael S. Branicky_, Mar 18 2022

%Y Cf. A352245, A342303, A351753, A341766.

%K nonn

%O 0,1

%A _Scott R. Shannon_, Mar 09 2022