OFFSET
3,1
LINKS
Harvey P. Dale, Table of n, a(n) for n = 3..999
Index entries for linear recurrences with constant coefficients, signature (7,-21,35,-35,21,-7,1).
FORMULA
a(n) = (n-2)*(n-1)*Stirling1(n+1,n-1)/2.
G.f.: z^3*(11 + 6*z^2 + 28*z)/(1-z)^7.
a(n) = 7*a(n-1) - 21*a(n-2) + 35*a(n-3) - 35*a(n-4) + 21*a(n-5) - 7*a(n-6) + a(n-7) for n > 9. - Chai Wah Wu, Jan 25 2021
MAPLE
nmax:=30; with(combinat, stirling1): for n from 1 to nmax do for m from 1 to n do a(n, m):=(-1)^(n+m)*(m)*(m+1)*stirling1(n+1, m+1)/2 od: od: seq(a(n, n-2), n=3..nmax);
MATHEMATICA
Table[(n-2)(n-1)StirlingS1[n+1, n-1]/2, {n, 3, 30}] (* Harvey P. Dale, Oct 09 2011 *)
CROSSREFS
KEYWORD
easy,nonn
AUTHOR
Johannes W. Meijer, Aug 13 2009
STATUS
approved