login
A277018
Numbers n for which A277017(n) = 0; range of A277022 sorted into ascending order.
5
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, 37, 38, 40, 41, 42, 44, 45, 48, 49, 50, 52, 53, 54, 56, 57, 58, 60, 64, 65, 66, 68, 69, 70, 72, 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
OFFSET
0,3
COMMENTS
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.
FORMULA
Other identitities:
A129251(A005940(1+a(n))) = 0 for all n.
EXAMPLE
60 ("111100" in binary, A007088) is present as 4 < prime(2+1) = 5.
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A277018 (ZERO-POS 0 0 A277017))
CROSSREFS
Complement: A277019.
Positions of zeros in A277017.
Sequence A277022 sorted into ascending order.
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 A354912 A091529
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 26 2016
STATUS
approved