OFFSET
1,4
COMMENTS
We begin the indexing at 2; that is, 1=F(2), 2=F(3), 3=F(4), 5=F(5), ...
For a count of odd-indexed Fibonacci summands, see A165277.
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..10000
EXAMPLE
6 = 5 + 1 = F(5) + F(2), so that a(6) = 1.
MATHEMATICA
fibEvenCount[n_] := Plus @@ (Reverse@IntegerDigits[n, 2])[[1 ;; -1 ;; 2]]; fibEvenCount /@ Select[Range[1000], BitAnd[#, 2 #] == 0 &] (* Amiram Eldar, Jan 20 2020 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 12 2009
STATUS
approved