%I #23 Oct 15 2022 08:08:10
%S 1,0,0,2,12,50,184,686,2996,16642,110328,784190,5645876,40685762,
%T 296458344,2226254766,17564381332,147289101090,1312394060536,
%U 12305546886398,119906479624084,1202273551045474,12341175064817576,129582557972751918,1394497073432776756
%N a(n) = Sum_{k=0..floor(n/3)} 2^k * Stirling2(n,3*k).
%H Eric Weisstein's MathWorld, <a href="http://mathworld.wolfram.com/BellPolynomial.html">Bell Polynomial</a>.
%F Let A(0)=1, B(0)=0 and C(0)=0. Let B(n+1) = Sum_{k=0..n} binomial(n,k)*A(k), C(n+1) = Sum_{k=0..n} binomial(n,k)*B(k) and A(n+1) = 2 * Sum_{k=0..n} binomial(n,k)*C(k). a(n) = A(n), A357783(n) = B(n) and A357784(n) = C(n).
%F Let w = exp(2*Pi*i/3) and set F(x) = (exp(x) + exp(w*x) + exp(w^2*x))/3 = 1 + x^3/3! + x^6/6! + ... . Then the e.g.f. for the sequence is F(2^(1/3) * (exp(x)-1)).
%F a(n) = ( Bell_n(2^(1/3)) + Bell_n(2^(1/3)*w) + Bell_n(2^(1/3)*w^2) )/3, where Bell_n(x) is n-th Bell polynomial.
%o (PARI) a(n) = sum(k=0, n\3, 2^k*stirling(n, 3*k, 2));
%o (PARI) my(N=30, x='x+O('x^N)); Vec(serlaplace(sum(k=0, N\3, 2^k*(exp(x)-1)^(3*k)/(3*k)!)))
%o (PARI) Bell_poly(n, x) = exp(-x)*suminf(k=0, k^n*x^k/k!);
%o a(n) = my(v=2^(1/3), w=(-1+sqrt(3)*I)/2); round(Bell_poly(n, v)+Bell_poly(n, v*w)+Bell_poly(n, v*w^2))/3;
%Y Cf. A357783, A357784.
%Y Cf. A143815, A357831.
%K nonn
%O 0,4
%A _Seiichi Manyama_, Oct 13 2022