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.
%I A277008 #16 Aug 21 2025 18:50:41 %S A277008 0,1,2,4,5,6,8,9,10,12,13,16,17,18,20,21,22,24,25,26,28,32,33,34,36, %T A277008 37,38,40,41,42,44,45,48,49,50,52,53,54,56,57,58,64,65,66,68,69,70,72, %U A277008 73,74,76,77,80,81,82,84,85,86,88,89,90,92,96,97,98,100,101,102,104,105,106,108,109,112,113,114,116,117,118,120,128 %N A277008 Numbers k such that in the binary expansion of k no run of 1-bits is longer than 1 + the total number of 0-bits anywhere to the right of that run. %C A277008 Numbers k for which A277007(k) = 0. %C A277008 Indexing starts from zero as a(0) = 0 is a special case in this sequence. %H A277008 Antti Karttunen, <a href="/A277008/b277008.txt">Table of n, a(n) for n = 0..10000</a> %H A277008 <a href="/index/Bi#binary">Index entries for sequences related to binary expansion of n</a> %H A277008 <a href="/index/Fa#facbase">Index entries for sequences related to factorial base representation</a> %F A277008 Other identitities: %F A277008 A276077(A005940(1+a(n))) = 0 for all n. %o A277008 (Scheme) %o A277008 ;; With _Antti Karttunen_'s IntSeq-library. %o A277008 (define A277008 (ZERO-POS 0 0 A277007)) %Y A277008 Complement: A277009. %Y A277008 Positions of zeros in A277007. %Y A277008 Sequence A277012 sorted into ascending order. %Y A277008 Cf. A005940, A276077, A276078. %Y A277008 Subsequence of A277018 from which this differs for the first time at n=41, where a(41)=64, skipping the value 60 present in A277018. %K A277008 nonn,base,changed %O A277008 0,3 %A A277008 _Antti Karttunen_, Sep 25 2016