OFFSET
0,2
LINKS
Colin Barker, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (7,-15,11,-1).
FORMULA
a(n) = 7*a(n-1)-15*a(n-2)+11*a(n-3)-a(n-4), n>4.
a(n) = A113435(3n+2).
G.f.: (1-x)^3 / (x^4-11*x^3+15*x^2-7*x+1).
MATHEMATICA
CoefficientList[Series[(1 - x)^3/(x^4 - 11*x^3 + 15*x^2 - 7*x + 1), {x, 0, 30}], x] (* Wesley Ivan Hurt, May 28 2015 *)
PROG
(PARI) Vec(-(x-1)^3 / (x^4-11*x^3+15*x^2-7*x+1) + O(x^100)) \\ Colin Barker, May 28 2015
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Floor van Lamoen, Nov 04 2005
EXTENSIONS
Error in recursion and strange things in formula fixed by Colin Barker, May 28 2015
STATUS
approved