OFFSET
0,3
LINKS
Alois P. Heinz, Table of n, a(n) for n = 0..200
FORMULA
a(n) = Sum_{k=0..n} C(n,k) * Sum_{i=0..n-k} C(n-k,i) * k^i * (n-k-1)^(n-k-i) * (k+i)^n. - Alois P. Heinz, Jul 17 2014
MAPLE
a:= n-> add(binomial(n, k)*add(binomial(n-k, i)*k^i*
(n-k-1)^(n-k-i)*(k+i)^n, i=0..n-k), k=0..n):
seq(a(n), n=0..20); # Alois P. Heinz, Jul 17 2014
MATHEMATICA
Unprotect[Power]; 0^0 = 1; a[n_] := Sum[Binomial[n, k]*Sum[Binomial[n-k, i]*k^i*(n-k-1)^(n-k-i)*(k+i)^n, {i, 0, n-k}], {k, 0, n}]; Table[a[n], {n, 0, 20}] (* Jean-François Alcover, Feb 28 2017, after Alois P. Heinz *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Chad Brewbaker, Mar 26 2014
EXTENSIONS
a(6)-a(7) from Giovanni Resta, Mar 28 2014
a(8)-a(15) from Alois P. Heinz, Jul 17 2014
STATUS
approved