OFFSET
0,2
LINKS
Harvey P. Dale, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (4, 1, 1, -4, -1).
MAPLE
seriestolist(series((1-x^4-2*x^3)/((x-1)*(x^2+x+1)*(x^2+4*x-1)), x=0, 25)); -or- -1kbaseksum[A*B] with A = - 'i + 'j - i' + j' - 'kk' - 'ik' - 'jk' - 'ki' - 'kj' and B = + .5'i + .5i'; SumType: default
MATHEMATICA
CoefficientList[Series[(1-x^4-2x^3)/((x-1)(x^2+x+1)(x^2+4x-1)), {x, 0, 30}], x] (* or *) LinearRecurrence[{4, 1, 1, -4, -1}, {1, 4, 17, 71, 300}, 30] (* Harvey P. Dale, Nov 27 2024 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Creighton Dement, Jul 19 2005
STATUS
approved