OFFSET
0,2
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..301
FORMULA
G.f. A(x) = Sum_{n>=0} a(n)*x^n satisfies the following formulas.
(1) 1 = Sum_{n=-oo..+oo} (2*x*A(x)^(n-2) - x^n)^n.
(2) A(x) = Sum_{n=-oo..+oo} x^(n^2) * A(x)^((n+1)^2) / (2*x^(n+1) - A(x)^(n+2))^n.
EXAMPLE
G.f.: A(x) = 1 + 2*x + 5*x^2 + 51*x^3 + 420*x^4 + 4281*x^5 + 46511*x^6 + 545096*x^7 + 6692705*x^8 + 85823095*x^9 + 1139652239*x^10 + ...
where
1 = ... + (2*x/A(x)^4 - 1/x^2)^(-2) + (2*x/A(x)^3 - 1/x)^(-1) + 1 + (2*x/A(x) - x) + (2*x - x^2)^2 + (2*x*A(x) - x^3)^3 + (2*x*A(x)^2 - x^4)^4 + (2*x*A(x)^3 - x^5)^5 + (2*x*A(x)^4 - x^6)^6 + ...
PROG
(PARI) {a(n) = my(A=[1]); for(i=1, n, A=concat(A, 0);
A[#A] = polcoef( sum(n=-#A, #A, (2*x*Ser(A)^(n-2) - x^n)^n )/2, #A) ); A[n+1]}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, May 21 2025
STATUS
approved
