The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A165276 Number of even-indexed Fibonacci numbers in the Zeckendorf representation of n. 7
1, 0, 1, 2, 0, 1, 0, 1, 2, 1, 2, 3, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 2, 3, 4, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 1, 2, 3, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 2, 3, 4, 1, 2, 1, 2, 3, 1, 2, 1, 2, 3, 2, 3, 4, 2, 3, 2, 3, 4, 3, 4, 5, 0, 1, 0, 1, 2, 0, 1, 0, 1, 2, 1, 2, 3, 0, 1, 0, 1 (list; graph; refs; listen; history; text; internal format)
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
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
Sequence in context: A287104 A190483 A090239 * A035698 A230204 A372646
KEYWORD
nonn
AUTHOR
Clark Kimberling, Sep 12 2009
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 16 17:27 EDT 2024. Contains 372554 sequences. (Running on oeis4.)