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 A107017 #4 Feb 16 2025 08:32:57 %S A107017 0,0,0,1,0,1,2,0,1,2,3,3,0,1,2,3,3,5,5,5,0,1,2,3,3,5,5,5,8,8,8,8,8,0, %T A107017 1,2,3,3,5,5,5,8,8,8,8,8,13,13,13,13,13,13,13,13,0,1,2,3,3,5,5,5,8,8, %U A107017 8,8,8,13,13,13,13,13,13,13,13,21,21,21,21,21,21,21,21,21,21,21,21,21,0,1,2 %N A107017 Second largest term in Zeckendorf representation of n, a(n)=0 if n itself is a Fibonacci number. %C A107017 a(A000045(n)) = 0; %C A107017 a(A000045(n) + k) = A087172(k) with 0 < k < A000045(n-1). %H A107017 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/ZeckendorfRepresentation.html">Zeckendorf Representation</a> %H A107017 Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/FibonacciNumber.html">Fibonacci Number</a> %e A107017 n = 20 = 13+5+2: a(20) = 5. %Y A107017 Cf. A007895. %K A107017 nonn %O A107017 1,7 %A A107017 _Reinhard Zumkeller_, May 09 2005