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!)
A107017 Second largest term in Zeckendorf representation of n, a(n)=0 if n itself is a Fibonacci number. 2
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, 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, 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 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,7
COMMENTS
a(A000045(n)) = 0;
a(A000045(n) + k) = A087172(k) with 0 < k < A000045(n-1).
LINKS
Eric Weisstein's World of Mathematics, Zeckendorf Representation
Eric Weisstein's World of Mathematics, Fibonacci Number
EXAMPLE
n = 20 = 13+5+2: a(20) = 5.
CROSSREFS
Cf. A007895.
Sequence in context: A284265 A119464 A214568 * A201076 A201079 A318601
KEYWORD
nonn
AUTHOR
Reinhard Zumkeller, May 09 2005
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 19 00:35 EDT 2024. Contains 372666 sequences. (Running on oeis4.)