OFFSET
4,1
LINKS
R. H. Hardin, Table of n, a(n) for n=4..500
Index entries for linear recurrences with constant coefficients, signature (2,-1,2,-2).
FORMULA
G.f.: x^4*(-14+4*x-7*x^2+16*x^3)/((1-x)*(2*x^3+x-1)). - R. J. Mathar, Nov 30 2011
MATHEMATICA
LinearRecurrence[{2, -1, 2, -2}, {14, 24, 41, 70}, 50] (* G. C. Greubel, Sep 18 2017 *)
PROG
(PARI) x='x+O('x^50); Vec(x^4*(-14+4*x-7*x^2+16*x^3)/((1-x)*(2*x^3+x-1))) \\ G. C. Greubel, Sep 18 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
R. H. Hardin, Aug 14 2009
STATUS
approved