OFFSET
0,2
COMMENTS
Except for 0, the first term in which the sequence differs from A075930 is the 27th: a(27) = 63.
Also a(27) = 63 is the first odd term that is not in A092246. - Altug Alkan, Mar 18 2018
LINKS
Robert Israel, Table of n, a(n) for n = 0..10000
EXAMPLE
7 in binary has 3 1's and since 3 is evil (i.e., belongs to A001969), then 7 is in the sequence.
MAPLE
filter:= n ->
convert(convert(convert(convert(n, base, 2), `+`), base, 2), `+`)::even:
select(filter, [$0..131]); # Robert Israel, Mar 18 2018
MATHEMATICA
Select[Range[0, 150], EvenQ[DigitCount[DigitCount[#, 2, 1], 2, 1]] &] (* Amiram Eldar, Jul 24 2023 *)
CROSSREFS
KEYWORD
nonn,base
AUTHOR
Vladimir Shevelev, Jan 06 2014
STATUS
approved