OFFSET
4,1
LINKS
G. C. Greubel, Table of n, a(n) for n = 4..1000 (terms 4..500 from R. H. Hardin)
Index entries for linear recurrences with constant coefficients, signature (1,1,1,-1,-1).
FORMULA
G.f.: -x^4*(-13-9*x-2*x^2+12*x^3+8*x^4)/( (x-1)*(1+x+x^2)*(x^2+x-1) ). - R. J. Mathar, Nov 30 2011
MATHEMATICA
Rest[Rest[Rest[Rest[CoefficientList[Series[-x^4*(-13 - 9*x - 2*x^2 + 12*x^3 + 8*x^4)/((x - 1)*(1 + x + x^2)*(x^2 + x - 1)), {x, 0, 50}], x]]]]] (* G. C. Greubel, Oct 01 2017 *)
PROG
(PARI) x='x+O('x^50); Vec(-x^4*(-13-9*x-2*x^2+12*x^3+8*x^4)/( (x-1)*(1+x+x^2)*(x^2+x-1) )) \\ G. C. Greubel, Oct 01 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved