OFFSET
0,3
FORMULA
a(n)=n!^2*sum(m=1..n-1, (m!*sum(k=1..n-m, (k!*stirling1(m+k,m)*stirling2(n-m,k))/(m+k)!))/(n-m)!)+n!^2.
PROG
(Maxima)
a(n):=n!^2*sum((m!*sum((k!*stirling1(m+k, m)*stirling2(n-m, k))/(m+k)!, k, 1, n-m))/(n-m)!, m, 1, n-1)+n!^2;
CROSSREFS
KEYWORD
sign
AUTHOR
Vladimir Kruchinin, Jun 07 2011
STATUS
approved