OFFSET
0,6
LINKS
Index entries for linear recurrences with constant coefficients, signature (4, -6, 4, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, -4, 6, -4, 1).
FORMULA
From Chai Wah Wu, Aug 02 2020: (Start)
a(n) = 4*a(n-1) - 6*a(n-2) + 4*a(n-3) - a(n-4) + a(n-17) - 4*a(n-18) + 6*a(n-19) - 4*a(n-20) + a(n-21) for n > 20.
G.f.: x^4*(-x^16 - 3*x^15 + x^14 - 3*x^13 - x^12 - 2*x^11 - x^10 - 4*x^8 - x^6 - 2*x^5 - x^4 - 3*x^3 + x^2 - 3*x - 1)/(x^21 - 4*x^20 + 6*x^19 - 4*x^18 + x^17 - x^4 + 4*x^3 - 6*x^2 + 4*x - 1). (End)
PROG
(PARI) a(n)=n*(n-1)*(n-2)*(n-3)\17 \\ Charles R Greathouse IV, Oct 18 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
STATUS
approved