OFFSET
0,2
EXAMPLE
G.f.: A(x) = 1 + 3*x + 8*x^2 + 19*x^3 + 44*x^4 + 97*x^5 + 207*x^6 + 432*x^7 + 884*x^8 + 1777*x^9 + 3529*x^10 + 6942*x^11 + 13547*x^12 + 26281*x^13 + ...
such that
A(x) = 1/(1-2*x) + x*(1+x)/(1 - x*(1+x))^2 + x^2*(1+x^2)^2/(1 - x*(1+x^2))^3 + x^3*(1+x^3)^3/(1 - x*(1+x^3))^4 + x^4*(1+x^4)^4/(1 - x*(1+x^4))^5 + x^5*(1+x^5)^5/(1 - x*(1+x^5))^6 + x^6*(1+x^6)^6/(1 - x*(1+x^6))^7 + ...
PROG
(PARI) {a(n) = my(A = sum(m=0, n, x^m * (1 + x^m +x*O(x^n))^m /(1 - x*(1+x^m) +x*O(x^n))^(m+1) )); polcoeff(A, n)}
for(n=0, 50, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Jul 13 2019
STATUS
approved