OFFSET
0,3
COMMENTS
A277406(n) equals the sum of all permutations of compositions of functions (1 + k*x) for k=1..n, evaluated at x=1.
FORMULA
a(n) = 1/(n+1) * Sum_{k=0..n} k!*(n-k)! * Sum_{i=0..n-k+1} (-1)^(n-i+1) * Stirling2(i,n-k+1) * Stirling1(n+1,i)).
PROG
(PARI) {a(n) = 1/(n+1) * sum(k=0, n, k!*(n-k)! * sum(i=0, n-k+1, (-1)^(n-i+1) * stirling(i, n-k+1, 2) * stirling(n+1, i, 1)))}
for(n=0, 20, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Oct 16 2016
STATUS
approved