OFFSET
0,3
COMMENTS
FORMULA
G.f. A(x) satisfies: A(x)^8 (mod 16) = g.f. of A083948.
EXAMPLE
A(x) = 1 + x + 3*x^2 - x^3 - 2*x^4 + 6*x^5 - 16*x^7 + 23*x^8 +...
A(x)^2 = 1 + 2*x + 7*x^2 + 4*x^3 + 3*x^4 + 2*x^5 + x^6 + 8*x^7 +...
A(x)^8 = 1 + 8*x + 52*x^2 + 216*x^3 + 754*x^4 + 2008*x^5 +...
A(x)^8 (mod 16) = 1 + 8*x + 4*x^2 + 8*x^3 + 2*x^4 + 8*x^5 +...
G(x) = 1 + 8*x + 4*x^2 + 8*x^3 + 2*x^4 + 8*x^5 + 4*x^6 + 8*x^7 +...
where G(x) is the g.f. of A083948.
PROG
(PARI) {a(n)=local(d=4, m=8, A=1+m*x); for(j=2, d*n, for(k=1, m, t=polcoeff((A+k*x^j+x*O(x^j))^(1/m), j); if(denominator(t)==1, A=A+k*x^j; break))); polcoeff(Ser(vector(n+1, i, polcoeff(A, d*(i-1))))^(1/2), n)}
CROSSREFS
KEYWORD
sign
AUTHOR
Paul D. Hanna, Sep 14 2005
STATUS
approved