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!)
A119284 Alternating sum of the cubes of the first n Fibonacci numbers. 12
0, -1, 0, -8, 19, -106, 406, -1791, 7470, -31834, 134541, -570428, 2415556, -10233781, 43348852, -183632148, 777872655, -3295130518, 13958382186, -59128679555, 250473067570, -1061021002966, 4494556993465, -19039249115928, 80651553232104, -341645462408521, 1447233402276936, -6130579072469696, 25969549690613035, -110008777837417954, 466004661036246046 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,4
COMMENTS
Natural bilateral extension (brackets mark index 0): ..., 674, 162, 37, 10, 2, 1, 0, [0], -1, 0, -8, 19, -106, 406, -1791, ... This is A005968-reversed followed by A119284.
LINKS
FORMULA
Let F(n) be the Fibonacci number A000045(n).
a(n) = Sum_{k=1..n} (-1)^k F(k)^3.
Closed form: a(n) = (-1)^n F(3n+1)/10 - 3 F(n+2)/5 + 1/2.
Recurrence: a(n) + 2 a(n-1) - 9 a(n-2) + 3 a(n-3) + 4 a(n-4) - a(n-5) = 0.
G.f.: A(x) = (-x - 2 x^2 + x^3)/(1 + 2 x - 9 x^2 + 3 x^3 + 4 x^4 - x^5) = x(-1 - 2 x + x^2)/((1 - x)(1 - x - x^2 )(1 + 4 x - x^2)).
MATHEMATICA
a[n_Integer] := If[ n >= 0, Sum[ (-1)^k Fibonacci[k]^3, {k, 1, n} ], Sum[ -(-1)^k Fibonacci[ -k]^3, {k, 1, -n - 1} ] ]
Accumulate[Times@@@Partition[Riffle[Fibonacci[Range[0, 30]]^3, {1, -1}, {2, -1, 2}], 2]] (* or *) LinearRecurrence[{-2, 9, -3, -4, 1}, {0, -1, 0, -8, 19}, 40] (* Harvey P. Dale, Aug 23 2020 *)
CROSSREFS
Sequence in context: A297459 A297696 A242188 * A177124 A153704 A344052
KEYWORD
sign,easy
AUTHOR
Stuart Clary, May 13 2006
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 23 23:26 EDT 2024. Contains 371917 sequences. (Running on oeis4.)