OFFSET
1,3
LINKS
Colin Barker, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (5,-3,-5,7,-1).
FORMULA
From Colin Barker, Jan 16 2019: (Start)
G.f.: x^2*(1 - x)^2 / (1 - 5*x + 3*x^2 + 5*x^3 - 7*x^4 + x^5).
a(n) = 5*a(n-1) - 3*a(n-2) - 5*a(n-3) + 7*a(n-4) - a(n-5) for n>5.
(End)
MATHEMATICA
LinearRecurrence[{5, -3, -5, 7, -1}, {0, 1, 3, 13, 51}, 30] (* Harvey P. Dale, May 20 2021 *)
PROG
(PARI) concat(0, Vec(x^2*(1 - x)^2 / (1 - 5*x + 3*x^2 + 5*x^3 - 7*x^4 + x^5) + O(x^30))) \\ Colin Barker, Jan 16 2019
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
N. J. A. Sloane, Jan 09 2019
STATUS
approved