login
A100887
Expansion of (-1+2x+2x^2)/((1+x+x^2)(1-x-x^2)).
2
-1, 2, 1, 0, 4, 4, 5, 12, 17, 26, 46, 72, 115, 190, 305, 492, 800, 1292, 2089, 3384, 5473, 8854, 14330, 23184, 37511, 60698, 98209, 158904, 257116, 416020, 673133, 1089156, 1762289, 2851442, 4613734, 7465176, 12078907, 19544086, 31622993, 51167076
OFFSET
0,2
COMMENTS
This sequence was investigated in cooperation with Paul Barry. Generating floretion: - 0.5'i - 0.5'k - 0.5j' - 0.5'ii' + 0.5'jj' - 0.5'kk' + 0.5'ik' - 0.5'ki' ("les").
FORMULA
a(n) = Fib(n+1)/2 - sqrt(3)cos(2Pi*n/3 + Pi/6); a(n) = a(n-2) + 2a(n-3) + a(n-4), a(0) = -1, a(1) = 2, a(2) = 1, a(3) = 0
MATHEMATICA
a[n_] := Fibonacci[n + 1]/2 - Sqrt[3]Cos[2Pi*n/3 + Pi/6]; Table[ a[n], {n, 0, 39}]
a[0] = -1; a[1] = 2; a[2] = 1; a[3] = 0; a[n_] := a[n] = a[n - 2] + 2a[n - 3] + a[n - 4]; Table[ a[n], {n, 0, 39}]
CoefficientList[ Series[(-1 + 2x + 2x^2)/((1 - x - x^2)(1 + x + x^2)), {x, 0, 39}], x] (* Robert G. Wilson v, Dec 02 2004 *)
PROG
(PARI) Vec((-1+2*x+2*x^2)/((1+x+x^2)*(1-x-x^2))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
sign,easy
AUTHOR
Creighton Dement, Nov 21 2004
EXTENSIONS
Edited and extended by Robert G. Wilson v, Dec 02 2004
STATUS
approved