OFFSET
0,2
LINKS
G. C. Greubel, 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) = A113435(3*n).
a(n) = 7*a(n-1) - 15*a(n-2) + 11*a(n-3) - a(n-4).
G.f.: (1 -5*x +8*x^2 -4*x^3)/(1 -7*x +15*x^2 -11*x^3 +x^4).
MATHEMATICA
CoefficientList[Series[(1 - 5*x + 8*x^2 - 4*x^3)/(1 - 7*x + 15*x^2 - 11*x^3 + x^4), {x, 0, 50}], x] (* or *) LinearRecurrence[{7, -15, 11, -1}, {1, 2, 7, 26}, 50] (* G. C. Greubel, Mar 10 2017 *)
PROG
(PARI) my(x='x+ O(x^50)); Vec((1 -5*x +8*x^2 -4*x^3)/(1 -7*x +15*x^2 -11*x^3 +x^4)) \\ G. C. Greubel, Mar 10 2017
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Floor van Lamoen, Nov 04 2005
STATUS
approved