OFFSET
0,2
COMMENTS
PROG
(PARI) a(n)=sum(k=1, 3, hammingweight(n)%2==hammingweight(n+k)%2) \\ Charles R Greathouse IV, Aug 20 2013
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Vladimir Shevelev, Jun 23 2009
EXTENSIONS
Missing a(24)=1 inserted by Georg Fischer, Jun 21 2024
STATUS
approved