cp's OEIS Frontend

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.

Showing 1-3 of 3 results.

A156093 One ninth of the alternating sum of the squares of the first n Fibonacci numbers with index divisible by 4.

Original entry on oeis.org

0, -1, 48, -2256, 105985, -4979040, 233908896, -10988739073, 516236827536, -24252142155120, 1139334444463105, -53524466747610816, 2514510602693245248, -118128473859834915841, 5549523760809547799280, -260709488284188911650320
Offset: 0

Views

Author

Stuart Clary, Feb 04 2009

Keywords

Comments

Natural bilateral extension (brackets mark index 0): ..., -105985, 2256, -48, 1, 0, [0], -1, 48, -2256, 105985, -4979040, ... This is (-A156093)-reversed followed by A156093. That is, A156093(-n) = -A156093(n-1).

Crossrefs

Programs

  • Mathematica
    a[n_Integer] := If[ n >= 0, Sum[ (-1)^k (1/9) Fibonacci[4k]^2, {k, 1, n} ], Sum[ -(-1)^k (1/9) Fibonacci[-4k]^2, {k, 1, -n - 1} ] ]

Formula

Let F(n) be the Fibonacci number A000045(n) and let L(n) be the Lucas number A000032(n).
a(n) = (1/9) sum_{k=1..n} (-1)^k F(4k)^2.
Closed form: a(n) = (-1)^n (L(8n+4) - 7)/315.
Factored closed form: a(n) = (-1)^n F(4n) F(4n+4)/63.
Recurrence: a(n) + 47 a(n-1) + a(n-2) = (-1)^n.
Recurrence: a(n) + 48 a(n-1) + 48 a(n-2) + a(n-3) = 0.
G.f.: A(x) = -x/(1 + 48 x + 48 x^2 + x^3) = -x/((1 + x)(1 + 47 x + x^2)).

A156086 Sum of the squares of the first n Fibonacci numbers with index divisible by 4.

Original entry on oeis.org

0, 9, 450, 21186, 995355, 46760580, 2196752004, 103200583725, 4848230683206, 227763641527110, 10700042921091135, 502674253649756424, 23614989878617461000, 1109401850041370910801, 52118271962065815346890, 2448449380367051950393290
Offset: 0

Views

Author

Stuart Clary, Feb 04 2009

Keywords

Comments

Natural bilateral extension (brackets mark index 0): ..., -21186, -450, -9, 0, [0], 9, 450, 21186, 995355, ... This is (-A156086)-reversed followed by A156086. That is, A156086(-n) = -A156086(n-1).

Crossrefs

Programs

  • Mathematica
    a[n_Integer] := If[ n >= 0, Sum[ Fibonacci[4k]^2, {k, 1, n} ], -Sum[ Fibonacci[-4k]^2, {k, 1, -n - 1} ] ]

Formula

Let F(n) be the Fibonacci number A000045(n).
a(n) = sum_{k=1..n} F(4k)^2.
Closed form: a(n) = F(8n+4)/15 - (2n + 1)/5.
Recurrence: a(n) - 48 a(n-1) + 48 a(n-2) - a(n-3) = 18.
Recurrence: a(n) - 49 a(n-1) + 96 a(n-2) - 49 a(n-3) + a(n-4) = 0.
G.f.: A(x) = (9 x + 9 x^2)/(1 - 49 x + 96 x^2 - 49 x^3 + x^4) = 9 x (1 + x)/((1 - x)^2 (1 - 47 x + x^2)).

A156092 Alternating sum of the squares of the first n Fibonacci numbers with index divisible by 4.

Original entry on oeis.org

0, -9, 432, -20304, 953865, -44811360, 2105180064, -98898651657, 4646131447824, -218269279396080, 10254010000167945, -481720200728497344, 22630595424239207232, -1063156264738514242569, 49945713847285930193520, -2346385394557700204852880
Offset: 0

Views

Author

Stuart Clary, Feb 04 2009

Keywords

Comments

Natural bilateral extension (brackets mark index 0): ..., -953865, 20304, -432, 9, 0, [0], -9, 432, -20304, 953865, -44811360, ... This is (-A156092)-reversed followed by A156092. That is, A156092(-n) = -A156092(n-1).

Crossrefs

Programs

  • Mathematica
    a[n_Integer] := If[ n >= 0, Sum[ (-1)^k Fibonacci[4k]^2, {k, 1, n} ], Sum[ -(-1)^k Fibonacci[-4k]^2, {k, 1, -n - 1} ] ]

Formula

Let F(n) be the Fibonacci number A000045(n) and let L(n) be the Lucas number A000032(n).
a(n) = sum_{k=1..n} (-1)^k F(4k)^2.
Closed form: a(n) = (-1)^n (L(8n+4) - 7)/35.
Factored closed form: a(n) = (-1)^n F(4n) F(4n+4)/7.
Recurrence: a(n) + 47 a(n-1) + a(n-2) = (-1)^n 9.
Recurrence: a(n) + 48 a(n-1) + 48 a(n-2) + a(n-3) = 0.
G.f.: A(x) = -9 x/(1 + 48 x + 48 x^2 + x^3) = -9 x/((1 + x)(1 + 47 x + x^2)).
Showing 1-3 of 3 results.