OFFSET
0,3
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 0..200
FORMULA
a(n) = Sum_{k=1..n} k * a(k-1) * Stirling2(n, k) if n>0.
A048801(n) = n * a(n-1) = Sum_{k=1..n} a(k) * Stirling1(n, k) if n>0.
EXAMPLE
1 + x + 3*x^2 + 16*x^3 + 133*x^4 + 1561*x^5 + 24374*x^6 + 485640*x^7 + ...
MATHEMATICA
nmax=20; b = ConstantArray[0, nmax+1]; b[[1]]=1; Do[b[[n+1]] = Sum[k*b[[k]]*StirlingS2[n, k], {k, 1, n}], {n, 1, nmax-1}]; b (* Vaclav Kotesovec, Mar 12 2014 *)
PROG
(PARI) {a(n) = local(A); if( n<0, 0, A = 1 + O(x); for( k=1, n, A = subst( 1 + x * A, x, exp( x + x * (A - A)) - 1)); n! * polcoeff( A, n))}
(PARI) a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=sum(j=1, i, j*stirling(i, j, 2)*v[j])); v; \\ Seiichi Manyama, Jun 04 2022
CROSSREFS
KEYWORD
nonn
AUTHOR
Michael Somos, Jun 09 2012
STATUS
approved