OFFSET
0,1
LINKS
Index entries for linear recurrences with constant coefficients, signature (3,-2,0,-1,1).
FORMULA
G.f.: (x^3-x^2-x-5)/((x-1)^2(x^3+x^2+x-1)). - Harvey P. Dale, May 15 2013
a(n) = A027025(n) + n + 1.
a(n) = A000213(n+6) -3*(n+4). - R. J. Mathar, Jun 24 2020
MATHEMATICA
CoefficientList[Series[-((-x^3+x^2+x+5)/((x-1)^2 (x^3+x^2+x-1))), {x, 0, 30}], x] (* Harvey P. Dale, May 15 2013 *)
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved