OFFSET
1,3
FORMULA
EXAMPLE
L.g.f.: L(x) = x + x^2/2 + 4*x^3/3 + 5*x^4/4 + 6*x^5/5 + 16*x^6/6 + 22*x^7/7 + 29*x^8/8 + 49*x^9/9 + 86*x^10/10 +...
where
exp(L(x)) = 1 + x + x^2 + 2*x^3 + 3*x^4 + 4*x^5 + 7*x^6 + 11*x^7 + 16*x^8 + 25*x^9 + 40*x^10 + 61*x^11 + 94*x^12 +...+ A023361(n)*x^n +...
exp(-L(x)) = 1 - x - x^3 - x^6 - x^10 - x^21 - x^28 +...+ -x^(n*(n+1)/2) +...
PROG
(PARI) {a(n)=n*polcoeff(-log(1-sum(r=1, sqrtint(2*n+1), x^(r*(r+1)/2)+x*O(x^n))), n)}
for(n=1, 50, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Apr 14 2013
STATUS
approved