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”).

A366301
Expansion of e.g.f. 1 / (-5 + Sum_{k=1..6} exp(-k*x)).
4
1, 21, 791, 44541, 3344327, 313883661, 35351663831, 4645129190541, 697553757742247, 117844709608925901, 22120757207544654071, 4567542244067740041741, 1028853921587420129556167, 251065459281889114259025741, 65978874409961267115296383511, 18577448234544937135538443584141
OFFSET
0,2
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} (-1)^(k+1) * binomial(n,k) * (1 + 2^k + ... + 6^k) * a(n-k).
MATHEMATICA
nmax = 15; CoefficientList[Series[1/(-5 + Sum[Exp[-k x], {k, 1, 6}]), {x, 0, nmax}], x] Range[0, nmax]!
a[0] = 1; a[n_] := a[n] = Sum[(-1)^(k + 1) Binomial[n, k] (1 + 2^k + 3^k + 4^k + 5^k + 6^k) a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 15}]
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Oct 06 2023
STATUS
approved