OFFSET
0,3
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..345
FORMULA
a(n) = Sum_{k>=0} (4*k-3)^n / 2^(k+1).
a(n) = (-3)^n + Sum_{k=1..n} binomial(n,k) * 4^k * a(n-k).
a(n) = Sum_{k=0..n} binomial(n,k) * (-3)^(n-k) * 4^k * A000670(k).
MATHEMATICA
nmax = 17; CoefficientList[Series[Exp[-3 x]/(2 - Exp[4 x]), {x, 0, nmax}], x] Range[0, nmax]!
a[n_] := a[n] = (-3)^n + Sum[Binomial[n, k] 4^k a[n - k], {k, 1, n}]; Table[a[n], {n, 0, 17}]
PROG
(Magma)
R<x>:=PowerSeriesRing(Rationals(), 30);
Coefficients(R!(Laplace( Exp(-3*x)/(2-Exp(4*x)) ))); // G. C. Greubel, Jun 11 2024
(SageMath)
def A367983_list(prec):
P.<x> = PowerSeriesRing(QQ, prec)
return P( exp(-3*x)/(2-exp(4*x)) ).egf_to_ogf().list()
A367983_list(40) # G. C. Greubel, Jun 11 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Dec 07 2023
STATUS
approved