OFFSET
1,2
LINKS
Colin Barker, Table of n, a(n) for n = 1..800
Index entries for linear recurrences with constant coefficients, signature (35,-378,1264,-1272,-128).
FORMULA
G.f.: x*(1 +6*x -16*x^2 -8*x^3)/((1 -16*x)*(1 -19*x +74*x^2 -80*x^3 - 8*x^4)).
MATHEMATICA
Rest[CoefficientList[Series[x*(1+6*x-16*x^2-8*x^3)/((1-16*x)*(1-19*x+ 74*x^2 -80*x^3-8*x^4)), {x, 0, 50}], x]] (* G. C. Greubel, Apr 22 2018 *)
LinearRecurrence[{35, -378, 1264, -1272, -128}, {1, 41, 1041, 22193, 433809}, 20] (* Harvey P. Dale, Jan 01 2019 *)
PROG
(PARI) Vec(x*(1 + 6*x - 16*x^2 - 8*x^3) / ((1 - 16*x)*(1 - 19*x + 74*x^2 - 80*x^3 - 8*x^4)) + O(x^30)) \\ Colin Barker, Oct 12 2017
(Magma) m:=25; R<x>:=PowerSeriesRing(Integers(), m); Coefficients(R!(x*(1+6*x-16*x^2-8*x^3)/((1-16*x)*(1-19*x+ 74*x^2 -80*x^3-8*x^4)))); // G. C. Greubel, Apr 22 2018
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Mar 22 2002
STATUS
approved