OFFSET
4,1
LINKS
Alois P. Heinz, Table of n, a(n) for n = 4..1000
Index entries for linear recurrences with constant coefficients, signature (10,-45,120,-210,252,-210,120,-45,10,-1).
FORMULA
From Alois P. Heinz, May 04 2012: (Start)
G.f.: (832*x^5+4805*x^4+6630*x^3+2600*x^2+250*x+3)*x^4 / (x-1)^10.
a(n) = (n^9 -20*n^8 +174*n^7 -859*n^6 +2627*n^5 -5082*n^4 +6048*n^3 -4023*n^2 +1134*n)/24. (End)
MAPLE
a:= n-> (n-2)*(n-1)*(n^2-5*n+7)*(n-3)^4*n/24:
seq(a(n), n=4..40); # Alois P. Heinz, May 04 2012
PROG
(Magma) [n*(n-3)^4*(n^4-8*n^3+24*n^2-31*n+14)/24: n in [4..27]]; // Bruno Berselli, May 04 2012
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
R. H. Hardin, Feb 24 2002
STATUS
approved