OFFSET
1,3
LINKS
Paul D. Hanna, Table of n, a(n) for n = 1..100
EXAMPLE
G.f.: A(x) = x - x^2 + 3*x^3 - 7*x^4 + 19*x^5 - 56*x^6 + 177*x^7 - 580*x^8 + 1958*x^9 - 6775*x^10 + 23895*x^11 - 85556*x^12 + 310120*x^13 + ...
such that
1 = 1 + (x - A(x)) + (x - A(x)^2)*(x^2 - A(x)) + (x - A(x)^3)*(x^2 - A(x)^2)*(x^3 - A(x)) + (x - A(x)^4)*(x^2 - A(x)^3)*(x^3 - A(x)^2)*(x^4 - A(x)) + (x - A(x)^5)*(x^2 - A(x)^4)*(x^3 - A(x)^3)*(x^4 - A(x)^2)*(x^5 - A(x)) + ...
PROG
(PARI) {a(n) = my(A=[1]); for(i=1, n, A = concat(A, 0); A[#A] = Vec( sum(m=0, #A, prod(k=1, m, x^(m+1-k) - x^k*Ser(A)^k ) ) )[#A+1]); A[n]}
for(n=1, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, Jun 21 2018
STATUS
approved