OFFSET
1,1
COMMENTS
LINKS
Vaclav Kotesovec, Table of n, a(n) for n = 1..69
StackExchange - Mathematica, No response to an infinite limit
EXAMPLE
Product_{k=1..n} (1-x^k)
n=1 1 - x
n=2 1 - x - x^2 + x^3
n=3 1 - x - x^2 + x^4 + x^5 - x^6
Integral Product_{k=1..n} (1-x^k) dx
n=1 x - x^2/2
n=2 x - x^2/2 - x^3/3 + x^4/4
n=3 x - x^2/2 - x^3/3 + x^5/5 + x^6/6 - x^7/7
For Integral_{x=0..1} set x=1
n=1 1 - 1/2 = 1/2, a(1) = 2
n=2 1 - 1/2 - 1/3 + 1/4 = 5/12, a(2) = 12
n=3 1 - 1/2 - 1/3 + 1/5 + 1/6 - 1/7 = 41/105, a(3) = 105
MATHEMATICA
nmax=15; p=1; Table[p=Expand[p*(1-x^n)]; Total[CoefficientList[p, x]/Range[1, Exponent[p, x]+1]], {n, 1, nmax}] // Denominator
CROSSREFS
KEYWORD
nonn
AUTHOR
Vaclav Kotesovec, May 24 2015
STATUS
approved