OFFSET
0,5
COMMENTS
Invert transform of A025147.
LINKS
G. C. Greubel, Table of n, a(n) for n = 0..1000
FORMULA
a(0) = 1; a(n) = Sum_{k=1..n} A025147(k)*a(n-k).
From G. C. Greubel, Jan 24 2024: (Start)
G.f.: (1+x)/(2*(1+x) - QP(x^2)/QP(x)), where QP(x) = QPochhammer(x).
G.f.: (1+x)/(2*(1+x) - x^(1/24)*eta(x^2)/eta(x)), where eta(x) is the Dedekind eta function. (End)
MAPLE
a:=series(1/(2-mul((1+x^k), k=2..100)), x=0, 40): seq(coeff(a, x, n), n=0..39); # Paolo P. Lava, Apr 03 2019
MATHEMATICA
nmax = 39; CoefficientList[Series[1/(2 - Product[(1 + x^k), {k, 2, nmax}]), {x, 0, nmax}], x]
PROG
(Magma)
m:=80;
R<x>:=PowerSeriesRing(Integers(), m);
Coefficients(R!( 1/(2 - (&*[1+x^j: j in [2..m+2]])) )); // G. C. Greubel, Jan 24 2024
(SageMath)
m=80;
def f(x): return 1/( 2 - product(1+x^j for j in range(2, m+3)) )
def A307067_list(prec):
P.<x> = PowerSeriesRing(QQ, prec)
return P( f(x) ).list()
A307067_list(m) # G. C. Greubel, Jan 24 2024
CROSSREFS
KEYWORD
nonn
AUTHOR
Ilya Gutkovskiy, Mar 22 2019
STATUS
approved
