login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A368018
Expansion of e.g.f. exp(exp(2*x) - exp(3*x)).
0
1, -1, -4, -5, 57, 548, 1967, -13561, -302718, -2589819, -2709911, 300801642, 5531279773, 48708116819, -142678610012, -13947271486097, -277586590571059, -2741155101562764, 15789174378252979, 1332483468802350235, 31222229349684528898, 380895661222461566625
OFFSET
0,3
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} (2^k - 3^k) * binomial(n-1,k-1) * a(n-k).
PROG
(PARI) a_vector(n) = my(v=vector(n+1)); v[1]=1; for(i=1, n, v[i+1]=sum(j=1, i, (2^j-3^j)*binomial(i-1, j-1)*v[i-j+1])); v;
CROSSREFS
Cf. A355381.
Sequence in context: A335797 A041941 A220534 * A341575 A013331 A226145
KEYWORD
sign
AUTHOR
Seiichi Manyama, Dec 08 2023
STATUS
approved