cp's OEIS Frontend

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.

A107015 Number of even terms in Zeckendorf representation of n.

This page as a plain text file.
%I A107015 #7 Feb 16 2025 08:32:57
%S A107015 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,
%T A107015 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,
%U A107015 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
%N A107015 Number of even terms in Zeckendorf representation of n.
%C A107015 a(n) = A007895(n) - A107016(n).
%C A107015 a(A107228(n)) = 0. - _Reinhard Zumkeller_, May 15 2005
%H A107015 Reinhard Zumkeller, <a href="/A107015/b107015.txt">Table of n, a(n) for n = 1..10000</a>
%H A107015 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/ZeckendorfRepresentation.html">Zeckendorf Representation</a>
%e A107015 n = 77 = 55+21+1 -> a(77) = #{} = 0;
%e A107015 n = 88 = 55+21+8+3+1 -> a(88) = #{8} = 1;
%e A107015 n = 99 = 89+8+2 -> a(99) = #{2, 8} = 2.
%o A107015 (Haskell)
%o A107015 a107015 = length . filter even . a035516_row
%o A107015 -- _Reinhard Zumkeller_, Mar 10 2013
%Y A107015 Cf. A000045.
%Y A107015 Cf. A107224, A107225, A107226.
%Y A107015 Cf. A035516.
%K A107015 nonn
%O A107015 1,10
%A A107015 _Reinhard Zumkeller_, May 09 2005