A320591 Expansion of Product_{k>=1} (1 + x^k/(1 + x)^k).
1, 1, 0, 1, -2, 4, -7, 11, -16, 23, -36, 65, -129, 256, -473, 772, -1028, 835, 776, -5755, 17562, -41750, 86678, -165145, 299949, -541837, 1020029, -2068203, 4509512, -10252952, 23465297, -52762788, 115160832, -243018459, 496094524, -982431070, 1894710043, -3574095362
Offset: 0
Links
- G. C. Greubel, Table of n, a(n) for n = 0..1000
Crossrefs
Programs
-
Magma
m:=50; R
:=PowerSeriesRing(Rationals(), m); Coefficients(R! ( (&*[(1 + x^k/(1 + x)^k): k in [1..(m+2)]]) )); // G. C. Greubel, Oct 29 2018 -
Maple
seq(coeff(series(mul((1+x^k/(1+x)^k),k=1..n),x,n+1), x, n), n = 0 .. 37); # Muniru A Asiru, Oct 16 2018
-
Mathematica
nmax = 37; CoefficientList[Series[Product[(1 + x^k/(1 + x)^k), {k, 1, nmax}], {x, 0, nmax}], x] nmax = 37; CoefficientList[Series[Exp[Sum[Sum[(-1)^(k/d + 1) d, {d, Divisors[k]}] x^k/(k (1 + x)^k), {k, 1, nmax}]], {x, 0, nmax}], x] Prepend[Table[Differences[PartitionsQ/@Range[0,k+1],k][[2]],{k,0,30}],1] (* Gus Wiseman, Jan 29 2025 *)
-
PARI
m=50; x='x+O('x^m); Vec(prod(k=1, m+2, (1 + x^k/(1 + x)^k))) \\ G. C. Greubel, Oct 29 2018
Formula
G.f.: exp(Sum_{k>=1} (-1)^(k+1)*x^k/(k*((1 + x)^k - x^k))).
G.f.: exp(Sum_{k>=1} A000593(k)*x^k/(k*(1 + x)^k)).
From Peter Bala, Dec 22 2020: (Start)
O.g.f.: Sum_{n >= 0} x^(n*(n+1)/2)/Product_{k = 1..n} ((1 + x)^k - x^k). Cf. A307548.
Conjectural o.g.f.: (1/2) * Sum_{n >= 0} x^(n*(n-1)/2)*(1 + x)^n/( Product_{k = 1..n} ( (1 + x)^k - x^k ) ). (End)
a(n+1) = Sum_{k=0..n} (-1)^(n-k) binomial(n,k) A000009(k+1). - Gus Wiseman, Feb 03 2025
Comments