OFFSET
0,6
LINKS
Index entries for linear recurrences with constant coefficients, signature (4, -6, 4, -1, 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-9) - 4*a(n-10) + 6*a(n-11) - 4*a(n-12) + a(n-13) for n > 12.
G.f.: x^4*(-x^8 - 2*x^7 - 2*x^6 + 2*x^5 - 6*x^4 + 2*x^3 - 2*x^2 - 2*x - 1)/((x - 1)^5*(x^2 + x + 1)*(x^6 + x^3 + 1)). (End)
MATHEMATICA
Table[Floor[n(n - 1)(n - 2)(n - 3)/18], {n, 0, 50}] (* Stefan Steinerberger, Apr 25 2006 *)
PROG
(PARI) a(n)=n*(n-1)*(n-2)*(n-3)\18 \\ Charles R Greathouse IV, Oct 18 2022
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
More terms from Stefan Steinerberger, Apr 25 2006
STATUS
approved