This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.
%I A107016 #7 Feb 16 2025 08:32:57 %S A107016 1,0,1,2,1,2,1,0,1,0,1,2,1,2,1,2,3,2,3,2,1,2,1,2,3,2,3,2,1,2,1,2,3,0, %T A107016 1,0,1,2,1,2,1,0,1,0,1,2,1,2,1,2,3,2,3,2,1,2,1,2,3,2,3,2,1,2,1,2,3,2, %U A107016 3,2,3,4,3,4,3,2,3,2,3,4,3,4,3,2,3,2,3,4,1,2,1,2,3,2,3,2,1,2,1,2,3,2,3,2,3 %N A107016 Number of odd terms in Zeckendorf representation of n. %C A107016 a(n) = A007895(n) - A107015(n). %C A107016 a(A107227(n)) = 0. - _Reinhard Zumkeller_, May 15 2005 %H A107016 Reinhard Zumkeller, <a href="/A107016/b107016.txt">Table of n, a(n) for n = 1..10000</a> %H A107016 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/ZeckendorfRepresentation.html">Zeckendorf Representation</a> %e A107016 n = 77 = 55+21+1 -> a(77) = #{1, 21, 55} = 3; %e A107016 n = 88 = 55+21+8+3+1 -> a(88) = #{1, 3, 21, 55} = 4; %e A107016 n = 99 = 89+8+2 -> a(99) = #{89} = 1. %o A107016 (Haskell) %o A107016 a107016 = length . filter odd . a035516_row %o A107016 -- _Reinhard Zumkeller_, Mar 10 2013 %Y A107016 Cf. A000045. %Y A107016 Cf. A107224, A107225, A107226. %Y A107016 Cf. A035516. %K A107016 nonn %O A107016 1,4 %A A107016 _Reinhard Zumkeller_, May 09 2005