login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A309537 Total number of Fibonacci parts in all compositions of n. 2
0, 1, 3, 8, 19, 46, 106, 241, 541, 1198, 2629, 5724, 12380, 26625, 56978, 121413, 257740, 545308, 1150272, 2419856, 5078336, 10633921, 22222338, 46353669, 96525324, 200686620, 416645184, 863834256, 1788756288, 3699688128, 7643727360, 15776156928, 32529718272 (list; graph; refs; listen; history; text; internal format)
OFFSET

0,3

LINKS

Alois P. Heinz, Table of n, a(n) for n = 0..3312

FORMULA

G.f.: Sum_{k>=2} x^Fibonacci(k)*(1-x)^2/(1-2*x)^2.

a(n) ~ c * 2^n * n, where c = 0.22756969930196647294851075611776578612085598114... - Vaclav Kotesovec, Aug 18 2019

MAPLE

a:= proc(n) option remember; add(a(n-j)+`if`((t->issqr(t+4)

      or issqr(t-4))(5*j^2), ceil(2^(n-j-1)), 0), j=1..n)

    end:

seq(a(n), n=0..33);

MATHEMATICA

a[n_] := a[n] = Sum[a[n - j] + With[{t = 5 j^2}, If[IntegerQ@Sqrt[t + 4] || IntegerQ@Sqrt[t - 4], Ceiling[2^(n - j - 1)], 0]], {j, 1, n}];

a /@ Range[0, 33] (* Jean-Fran├žois Alcover, Dec 29 2020, after Alois P. Heinz *)

CROSSREFS

Cf. A000045, A102291, A144115.

Sequence in context: A026789 A308372 A096576 * A126874 A284942 A121811

Adjacent sequences:  A309534 A309535 A309536 * A309538 A309539 A309540

KEYWORD

nonn

AUTHOR

Alois P. Heinz, Aug 06 2019

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 21 06:10 EDT 2021. Contains 343146 sequences. (Running on oeis4.)