OFFSET
0,3
COMMENTS
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (3,5,1).
FORMULA
G.f.: -x*(1+5*x)/((1+x)*(x^2+4*x-1)).
MAPLE
gfun[seriestolist](series(-x*(1+5*x)/((1+x)*(x^2+4*x-1)), x=0, 25));
MATHEMATICA
LinearRecurrence[{3, 5, 1}, {0, 1, 8}, 30] (* Harvey P. Dale, Feb 12 2015 *)
PROG
(PARI) x='x+O('x^50); concat(0, Vec(-x*(1+5*x)/((1+x)*(x^2+4*x-1)))) \\ G. C. Greubel, Aug 30 2017
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Creighton Dement, Jul 24 2005
STATUS
approved
