OFFSET
0,2
LINKS
Index entries for linear recurrences with constant coefficients, signature (8,-17,-2,24).
FORMULA
a(n) = (1/60) (80*2^n - 405*3^n + 384*4^n + (-1)^n).
a(n) = 8*a(n-1) - 17*a(n-2) - 2*a(n-3) + 24*a(n-4), n >= 4. - Vincenzo Librandi, Mar 22 2011
MATHEMATICA
CoefficientList[Series[1/((1+x)(1-2x)(1-3x)(1-4x)), {x, 0, 30}], x] (* or *) LinearRecurrence[{8, -17, -2, 24}, {1, 8, 47, 238}, 30] (* Harvey P. Dale, Oct 03 2016 *)
PROG
(PARI) Vec(1/((1+x)*(1-2*x)*(1-3*x)*(1-4*x))+O(x^99)) \\ Charles R Greathouse IV, Sep 26 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ralf Stephan, Sep 28 2004
STATUS
approved