OFFSET
0,2
EXAMPLE
G.f.: 1/(1-x) = 1*(1-x) + 2*x*(1-x)*(1-x^2) + 3*x^2*(1-x)*(1-x^2)*(1-x^3) + 6*x^3*(1-x)*(1-x^2)*(1-x^3)*(1-x^4) + 8*x^4*(1-x)*(1-x^2)*(1-x^3)*(1-x^4)*(1-x^5) +...
PROG
(PARI) {a(n)=local(A=[1]); for(i=1, n+1, A=concat(A, 0); A[#A]=1-polcoeff(sum(m=1, #A, A[m]*x^m*prod(k=1, m, 1-x^k +x*O(x^#A) )), #A) ); A[n+1]}
for(n=0, 50, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Mar 08 2012
STATUS
approved