OFFSET
0,4
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..300
FORMULA
G.f. A(x) = Sum_{n>=0} a(n)*x^n may be defined by the following.
(1) 1 = Sum_{n=-oo..+oo} x^n * (2*A(x) - (-x)^n)^(n-1).
(2) 1 = Sum_{n=-oo..+oo} (-1)^(n+1) * x^(n^2) / (1 - 2*A(x)*(-x)^n)^(n+1).
EXAMPLE
G.f.: A(x) = 1 + x + x^2 + 7*x^3 + 28*x^4 + 89*x^5 + 421*x^6 + 1898*x^7 + 7912*x^8 + 36412*x^9 + 169960*x^10 + 779139*x^11 + 3668210*x^12 + ...
PROG
(PARI) {a(n) = my(A=[1]); for(i=1, n, A=concat(A, 0);
A[#A] = polcoeff( sum(m=-#A, #A, x^m * (2*Ser(A) - (-x)^m)^(m-1) ), #A-1)/2); A[n+1]}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, May 13 2023
STATUS
approved