A107015 Number of even terms in Zeckendorf representation of n.
0, 1, 0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 1, 1, 2, 1, 1, 1, 1, 2, 2, 2, 3, 2, 2, 1, 1, 2, 1, 1, 1, 1, 2, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 2, 1, 1, 0, 0, 1, 0
Offset: 1
Keywords
Examples
n = 77 = 55+21+1 -> a(77) = #{} = 0; n = 88 = 55+21+8+3+1 -> a(88) = #{8} = 1; n = 99 = 89+8+2 -> a(99) = #{2, 8} = 2.
Links
- Reinhard Zumkeller, Table of n, a(n) for n = 1..10000
- Eric Weisstein's World of Mathematics, Zeckendorf Representation
Programs
-
Haskell
a107015 = length . filter even . a035516_row -- Reinhard Zumkeller, Mar 10 2013
Comments