OFFSET
1,2
LINKS
T. D. Noe, Table of n, a(n) for n = 1..10000
MATHEMATICA
Select[Range[0, 300], EvenQ[DigitCount[#, 2, 1]] && OddQ[DigitCount[#, 2, 0]]&] (* Harvey P. Dale, Jun 13 2013 *)
PROG
(PARI) is(n)=hammingweight(n)%2==0 && hammingweight(bitneg(n, #binary(n)))%2 \\ Charles R Greathouse IV, Mar 26 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Patrick De Geest, Dec 15 2000
STATUS
approved