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!)
A256660 Number of terms in the minimal alternating Fibonacci representation of n. 1
1, 1, 1, 1, 2, 1, 2, 2, 1, 3, 2, 2, 2, 1, 3, 3, 2, 3, 2, 2, 2, 1, 3, 3, 3, 4, 2, 3, 3, 2, 3, 2, 2, 2, 1, 3, 3, 3, 4, 3, 4, 4, 2, 3, 3, 3, 4, 2, 3, 3, 2, 3, 2, 2, 2, 1, 3, 3, 3, 4, 3, 4, 4, 3, 5, 4, 4, 4, 2, 3, 3, 3, 4, 3, 4, 4, 2, 3, 3, 3, 4, 2, 3, 3, 2, 3 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,5
COMMENTS
See A256655 for definitions.
LINKS
MATHEMATICA
b[n_] = Fibonacci[n]; bb = Table[b[n], {n, 1, 70}];
h[0] = {1}; h[n_] := Join[h[n - 1], Table[b[n + 2], {k, 1, b[n]}]];
g = h[12]; r[0] = {0};
r[n_] := If[MemberQ[bb, n], {n}, Join[{g[[n]]}, -r[g[[n]] - n]]]
t = Table[Length[r[n]], {n, 0, 120}] (* A256660 *)
CROSSREFS
Sequence in context: A160696 A152545 A359538 * A109967 A359539 A000119
KEYWORD
nonn,easy
AUTHOR
Clark Kimberling, Apr 08 2015
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 April 25 11:30 EDT 2024. Contains 371967 sequences. (Running on oeis4.)