0,3

Numbers such that no run of 1-bits has length >= A000040(1 + the total number of 0-bits anywhere right of that run in the binary expansion of n).

Indexing starts from zero as a(0) = 0 is a special case in this sequence.

Antti Karttunen, Table of n, a(n) for n = 0..10000

Index entries for sequences related to binary expansion of n

Index entries for sequences related to primorial base

Other identitities:

A129251(A005940(1+a(n))) = 0 for all n.

60 ("111100" in binary, A007088) is present as 4 < prime(2+1) = 5.

(Scheme, with Antti Karttunen's IntSeq-library)

(define A277018 (ZERO-POS 0 0 A277017))

Complement: A277019.

Positions of zeros in A277017.

Sequence A277022 sorted into ascending order.

Cf. A000040, A005940, A007088, A129251.

Differs from its subsequence of A277008 for the first time at n=41, where a(41)=60, a value which is missing from A277008.

Sequence in context: A172276 A260483 A143028 * A277008 A091529 A184967

Adjacent sequences: A277015 A277016 A277017 * A277019 A277020 A277021

nonn,base

Antti Karttunen, Sep 26 2016

approved