OFFSET
0,1
COMMENTS
a(n) == 0 (mod 2^2) for n > 0.
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..200
FORMULA
G.f. A(x) = Sum_{n>=0} a(n)*x^n may be defined by the following.
(1) 1/2 = Sum_{n=-oo..+oo} x^n * (A(x) - x^n)^(n-1).
(2) 1/2 = Sum_{n=-oo..+oo} (-1)^(n+1) * x^(n^2) / (1 - x^n*A(x))^(n+1).
(3) A(x)/2 = Sum_{n=-oo..+oo} x^(2*n) * (A(x) - x^n)^(n-1).
(4) A(x)/2 = Sum_{n=-oo..+oo} (-1)^(n+1) * x^(n*(n-1)) / (1 - x^n*A(x))^(n+1).
EXAMPLE
G.f.: A(x) = 3 + 8*x + 68*x^2 + 656*x^3 + 6924*x^4 + 77816*x^5 + 912504*x^6 + 11043616*x^7 + 136909712*x^8 + 1729812880*x^9 + ...
PROG
(PARI) {a(n) = my(A=[3]); for(i=1, n, A = concat(A, 0);
A[#A] = polcoeff(-2 + 2^2*sum(m=-#A, #A, x^m * (Ser(A) - x^m)^(m-1) ), #A-1); ); A[n+1]}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, May 28 2023
STATUS
approved