OFFSET
0,3
FORMULA
E.g.f.: 2 / (2 + exp(x) - exp(3*x)).
a(n) ~ n! / ((r+3) * log(r)^(n+1)), where r = 1.52137970680456756960408... is the real root of the equation r^3 - r = 2. - Vaclav Kotesovec, Aug 31 2020
MATHEMATICA
a[0] = 1; a[n_] := a[n] = (1/2) Sum[Binomial[n, k] (3^k - 1) a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 19}]
nmax = 19; CoefficientList[Series[2/(2 + Exp[x] - Exp[3 x]), {x, 0, nmax}], x] Range[0, nmax]!
PROG
(PARI) seq(n)={Vec(serlaplace(2 / (2 + exp(x + O(x*x^n)) - exp(3*x + O(x*x^n)))))} \\ Andrew Howroyd, Aug 31 2020
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Aug 31 2020
STATUS
approved