login
A119886
a(n) = 20*a(n-2) - 64*a(n-4).
1
1, 59, 2416, 6230, 47680, 120824, 798976, 2017760, 12928000, 32622464, 207425536, 523312640, 3321118720, 8378415104, 53147140096, 134076293120, 850391203840, 2145307295744, 13606407110656, 34325263155200, 217703105167360, 549205596176384, 3483252048265216
OFFSET
0,2
FORMULA
G.f.: -(576*x^4-5050*x^3-2396*x^2-59*x-1) / ((2*x-1)*(2*x+1)*(4*x-1)*(4*x+1)). - Colin Barker, Nov 17 2012
a(n) = 2^(n-4)*(-3266 + 585*(-2)^n + 258*(-1)^n + 2583*2^n) for n>0. - Colin Barker, Feb 05 2017
MATHEMATICA
M = {{0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0}, {1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0}, {0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {1, 0, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0}, {0, 1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 0}, {0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0}, {1, 0, 0, 0, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1}, {0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0, 0}, {0, 0, 1, 0, 0, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0, 0}, {0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 0, 1, 0}, {0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1}, {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1, 0}, {0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 0, 1}, {0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0}} v[1] = Table[Fibonacci[n], {n, 1, 16}] v[n_] := v[n] = M.v[n - 1] a = Table[Floor[v[n][[1]]], {n, 1, 50}]
(* Second program: *)
A = SparseArray[{{1, 8} -> 1, Band[{1, 4}] -> 1, Band[{1, 2}, {3, 4}] -> 1, Band[{5, 6}, {7, 8}] -> 1}, {8, 8}]; M = ArrayFlatten[{{A+Transpose[A], IdentityMatrix[8]}, {IdentityMatrix[8], A+Transpose[A]}}]; v[1] = Array[ Fibonacci, 16]; v[n_] := v[n] = M.v[n-1]; A119886 = Array[v, 50][[All, 1]] (* Jean-François Alcover, Feb 05 2017 *)
LinearRecurrence[{0, 20, 0, -64}, {1, 59, 2416, 6230, 47680}, 30] (* Harvey P. Dale, Sep 06 2024 *)
PROG
(PARI) Vec(-(576*x^4-5050*x^3-2396*x^2-59*x-1) / ((2*x-1)*(2*x+1)*(4*x-1)*(4*x+1)) + O(x^30)) \\ Colin Barker, Feb 05 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Roger L. Bagula, Aug 09 2006
EXTENSIONS
New name from Joerg Arndt, Feb 05 2017
STATUS
approved