OFFSET
10,2
LINKS
Alois P. Heinz, Table of n, a(n) for n = 10..386
Peter J. Cameron, Daniel Johannsen, Thomas Prellberg, Pascal Schweitzer, Counting Defective Parking Functions, arXiv:0803.0302 [math.CO], 2008.
FORMULA
a(n) ~ (-13*exp(1)/51840 + 92*exp(2)/315 - 7533*exp(3)/560 + 6016*exp(4)/45 - 11875*exp(5)/24 + 864*exp(6) - 4753*exp(7)/6 + 392*exp(8) - 99*exp(9) + 10*exp(10)) * n^(n-1). - Vaclav Kotesovec, Aug 19 2017
MAPLE
S:= (n, k)-> add(binomial(n, i)*k*(k+i)^(i-1)*(n-k-i)^(n-i), i=0..n-k):
a:= n-> S(n, 9)-S(n, 10):
seq(a(n), n=10..23);
MATHEMATICA
S[n_, k_] := Sum[Binomial[n, i]*k*(k+i)^(i-1)*(n-k-i)^(n-i), {i, 0, n-k}];
a[n_] := S[n, 9] - S[n, 10];
Table[a[n], {n, 10, 23}] (* Jean-François Alcover, Feb 24 2019, from Maple *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Alois P. Heinz, Aug 18 2017
STATUS
approved