OFFSET
0,3
COMMENTS
Counting numbers appear at positions indexed by the odious numbers A000069, 0 otherwise.
Equals row sums of triangle A143466 starting with offset 1. - Gary W. Adamson, Aug 17 2008
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10000
FORMULA
MATHEMATICA
a[n_] := (1 + Floor[n/2])*(1 - (-1)^DigitCount[n, 2, 1])/2; Array[a, 100, 0] (* Amiram Eldar, Jul 22 2023 *)
CROSSREFS
KEYWORD
easy,nonn,base
AUTHOR
Paul Barry, Jan 06 2005
STATUS
approved