OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..445
Wikipedia, Permutation
FORMULA
E.g.f.: (1-exp(-x))/(1-x)^7.
a(n) = -1/6! * Sum_{j=1..n} (-1)^j * binomial(n,j) * (n+6-j)!.
a(n) = A306234(n+6,6).
MAPLE
a:= n-> (k-> -add((-1)^j*binomial(n, j)*(n+k-j)!, j=1..n)/k!)(6):
seq(a(n), n=0..23);
MATHEMATICA
With[{nn=20}, CoefficientList[Series[(1-Exp[-x])/(1-x)^7, {x, 0, nn}], x] Range[ 0, nn]!] (* Harvey P. Dale, Jul 06 2021 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Feb 23 2019
STATUS
approved