OFFSET
0,2
FORMULA
G.f.: 1 / (1 - 3*x - 3*x^2 / (1 - 3*x - 6*x^2 / (1 - 3*x - 9*x^2 / (1 - 3*x - 12*x^2 / (1 - ...))))), a continued fraction.
D-finite with recurrence a(n) = 3 * (a(n-1) + (n-1) * a(n-2)).
a(n) = Sum_{k=0..n} binomial(n,k) * A202830(k).
a(n) ~ 3^(n/2) * exp(-3/4 + sqrt(3*n) - n/2) * n^(n/2) / sqrt(2). - Vaclav Kotesovec, Aug 09 2021
MATHEMATICA
nmax = 23; CoefficientList[Series[Exp[(3/2) x (2 + x)], {x, 0, nmax}], x] Range[0, nmax]!
a[0] = 1; a[1] = 3; a[n_] := a[n] = 3 (a[n - 1] + (n - 1) a[n - 2]); Table[a[n], {n, 0, 23}]
PROG
(PARI) my(x='x+O('x^30)); Vec(serlaplace(exp((3*x*(2 + x)/2)))) \\ Michel Marcus, Nov 21 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Nov 20 2020
STATUS
approved