OFFSET
0,2
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..250
FORMULA
G.f. A(x) = Sum_{n>=0} a(n)*x^n satisfies the following formulas.
(1) 1 = Sum_{n=-oo..+oo} (x^n - 2*x*A(x)^n)^n.
(2) 1 = Sum_{n=-oo..+oo} x^(n^2) * A(x)^(n^2) / (A(x)^n - 2*x^(n+1))^n.
EXAMPLE
G.f.: A(x) = 1 + 2*x + 11*x^2 + 63*x^3 + 313*x^4 + 953*x^5 - 2103*x^6 - 52455*x^7 - 340989*x^8 - 684583*x^9 + 3097817*x^10 + ...
where
1 = ... + (1/x^3 - 2*x/A(x)^3)^(-3) + (1/x^2 - 2*x/A(x)^2)^(-2) + (1/x - 2*x/A(x))^(-1) + 1 + (x - 2*x*A(x)) + (x^2 - 2*x*A(x)^2)^2 + (x^3 - 2*x*A(x)^3)^3 + (x^4 - 2*x*A(x)^4)^4 + (x^5 - 2*x*A(x)^5)^5 + ...
PROG
(PARI) {a(n) = my(A=[1]); for(i=1, n, A=concat(A, 0);
A[#A] = polcoef( sum(n=-#A, #A, (x^n - 2*x*Ser(A)^n)^n )/2, #A) ); A[n+1]}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, May 21 2025
STATUS
approved
