OFFSET
0,2
LINKS
Ray Chandler, Table of n, a(n) for n = 0..1000
Index entries for linear recurrences with constant coefficients, signature (5,-12,18,-18,12,-5,1).
FORMULA
G.f.: (2*x^9 - 6*x^8 + 8*x^7 - 7*x^6 + 2*x^5 + 2*x^4 - 5*x^3 + 2*x^2 - 1)/((x - 1)^3*(x^2 - x + 1)^2).
a(n) = 5*a(n-1) - 12*a(n-2) + 18*a(n-3) - 18*a(n-4) + 12*a(n-5) - 5*a(n-6) + a(n-7) for n > 10.
MATHEMATICA
Join[{1, 5, 11}, LinearRecurrence[{5, -12, 18, -18, 12, -5, 1}, {18, 28, 42, 62, 86, 110, 133}, 50]]
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Ray Chandler, Sep 03 2023
STATUS
approved