cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A352246 Indices k where A352245(k) = 0.

This page as a plain text file.
%I A352246 #12 Mar 18 2022 12:28:29
%S A352246 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 A352246 37,38,39,41,43,44,45,46,47,48,49,51,54,55,57,58,59,60,61,62,63,66,70,
%U A352246 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 A352246 Indices k where A352245(k) = 0.
%C A352246 See A352245 for further details and examples.
%H A352246 Scott R. Shannon, <a href="/A352246/a352246.png">Image of the zero indices for the first 100000 terms of A352245</a>.
%o A352246 (Python)
%o A352246 from itertools import count, islice
%o A352246 def agen():
%o A352246     b = "1"
%o A352246     for k in count(1):
%o A352246         bk = bin(k)[2:]
%o A352246         idx = b.find(bk) + 1
%o A352246         if idx == 0: yield k
%o A352246         b += bin(idx)[2:]
%o A352246 print(list(islice(agen(), 73))) # _Michael S. Branicky_, Mar 18 2022
%Y A352246 Cf. A352245, A342303, A351753, A341766.
%K A352246 nonn
%O A352246 0,1
%A A352246 _Scott R. Shannon_, Mar 09 2022