OFFSET
1,1
LINKS
Andrew Howroyd, Table of n, a(n) for n = 1..1000
Index entries for linear recurrences with constant coefficients, signature (10,-35,50,-24).
FORMULA
a(n) = 10*a(n-1) - 35*a(n-2) + 50*a(n-3) - 24*a(n-4) for n > 4.
G.f.: x*(3 - 17*x + 26*x^2)/((1 - x)*(1 - 2*x)*(1 - 3*x)*(1 - 4*x)).
MATHEMATICA
LinearRecurrence[{10, -35, 50, -24}, {3, 13, 51, 205}, 30] (* Paolo Xausa, Oct 03 2024 *)
PROG
(PARI) Vec((3 - 17*x + 26*x^2)/((1 - x)*(1 - 2*x)*(1 - 3*x)*(1 - 4*x)) + O(x^25))
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Andrew Howroyd, Feb 24 2023
STATUS
approved