OFFSET
1,1
COMMENTS
Numbers with bit-0 in their binary representation zero, and whose least significant 1-bit is neighbored (to the left) by another 1-bit, in other words, all even terms of A091067. - Antti Karttunen, Feb 20 2015
The asymptotic density of this sequence is 1/4. - Amiram Eldar, Aug 31 2024
LINKS
Alois P. Heinz, Table of n, a(n) for n = 1..10000
FORMULA
a(n) = 2*A091067(n). - Antti Karttunen, Feb 20 2015
MATHEMATICA
Select[2 * Range[120], Mod[# / 2^IntegerExponent[#, 2], 4] == 3 &] (* Amiram Eldar, Aug 31 2024 *)
PROG
(PARI) is(k) = !(k % 2) && (k >> valuation(k, 2)) % 4 == 3; \\ Amiram Eldar, Aug 31 2024
CROSSREFS
KEYWORD
nonn,base
AUTHOR
N. J. A. Sloane, Sep 03 2014
EXTENSIONS
More terms from Alois P. Heinz, Sep 07 2014
New definition added to name by Antti Karttunen, Feb 20 2015
STATUS
approved