OFFSET
0,4
LINKS
Paul D. Hanna, Table of n, a(n) for n = 0..500
FORMULA
G.f.: A(x) = 1/(1 - G(x^2)/x) where G(x) = x + G(-x)^2 is the g.f. of A143045.
a(4*n+1) = a(4*n+2) for n>=0.
Let A(x) = A0(x^4) + x*A1(x^4) + x^2*A2(x^2) + x^3*A3(x^4), then
(1) A1(x) = A2(x).
(2) A0(x) = A1(x) + x*A3(x) / (2*A0(x)).
(3) A0(x^4) - x^2*A2(x^4) = A(I*x)*A(-I*x).
EXAMPLE
G.f.: A(x) = 1 + x + x^2 + 2*x^3 + 3*x^4 + 2*x^5 + 2*x^6 - 5*x^8 - 2*x^9 +...
Related expansions:
1/A(x) = 1 - x - x^3 + 2*x^5 + 3*x^7 - 10*x^9 - 18*x^11 + 68*x^13 + 131*x^15 - 530*x^17 - 1062*x^19 +...+ -A143045(n)*x^(2*n-1) +...
A(I*x)*A(-I*x) = 1 - x^2 + 3*x^4 - 2*x^6 - 5*x^8 + 2*x^10 + 38*x^12 - 20*x^14 - 269*x^16 + 138*x^18 + 2194*x^20 +...
The 4-sections of g.f. A(x) begin:
A0(x) = 1 + 3*x - 5*x^2 + 38*x^3 - 269*x^4 + 2194*x^5 - 19010*x^6 + 172332*x^7 +...
A1(x) = A2(x) = 1 + 2*x - 2*x^2 + 20*x^3 - 138*x^4 + 1132*x^5 - 9812*x^6 + 89000*x^7 +...
A3(x) = 2 + 8*x^2 - 48*x^3 + 392*x^4 - 3344*x^5 + 30032*x^6 - 279136*x^7 + 2663432*x^8 +...
where
A1(x) + x*A3(x)/(2*A0(x)) = 1 + 3*x - 5*x^2 + 38*x^3 - 269*x^4 + 2194*x^5 +...
PROG
(PARI) {a(n)=local(A=1+x); for(i=1, n, A=1+x*A/(subst(A, x, I*x+x*O(x^n))*subst(A, x, -I*x+x*O(x^n)))); polcoeff(A, n)}
for(n=0, 30, print1(a(n), ", "))
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, Sep 14 2012
STATUS
approved