[go: up one dir, main page]

login
A277019
Numbers not in range of A277022.
4
3, 7, 11, 14, 15, 19, 23, 27, 29, 30, 31, 35, 39, 43, 46, 47, 51, 55, 59, 61, 62, 63, 67, 71, 75, 78, 79, 83, 87, 91, 93, 94, 95, 99, 103, 107, 110, 111, 115, 119, 123, 124, 125, 126, 127, 131, 135, 139, 142, 143, 147, 151, 155, 157, 158, 159, 163, 167, 171, 174, 175, 179, 183, 187, 189, 190, 191, 195, 199, 203, 206, 207, 211, 215
OFFSET
1,1
COMMENTS
Numbers such that at least one run of 1-bits in their binary expansion has length >= A000040(1 + the total number of 0-bits anywhere right of that run).
Numbers n for which A277017(n) > 0.
Numbers n for which A129251(A005940(1+n)) > 0.
EXAMPLE
3 ("11" in binary, A007088) is present as the length of that only run of 1's is 2, and 2 >= prime(1+0), where 0 is the total number of 0's to the right of that run.
60 ("111100" in binary) is NOT present as 4 < 5 = prime(2+1).
PROG
(Scheme, with Antti Karttunen's IntSeq-library)
(define A277019 (NONZERO-POS 1 0 A277017))
CROSSREFS
Complement: A277018.
Positions of nonzeros in A277017.
Subsequence of A277009 from which this differs for the first time at n=20, where a(20)=61, skipping the value 60 present in A277009.
Sequence in context: A004061 A354904 A277009 * A336407 A310201 A310202
KEYWORD
nonn,base
AUTHOR
Antti Karttunen, Sep 26 2016
STATUS
approved