OFFSET
0,2
EXAMPLE
A(x) = 1 + 5*x + 10*x^2 + 5*x^3 + 10*x^4 + 3*x^5 + 5*x^6 +...
A(x)^2 = 1 + 10*x + 45*x^2 + 110*x^3 + 170*x^4 + 206*x^5 +...
A(x)^2 (mod 4) = 1 + 2*x + x^2 + 2*x^3 + 2*x^4 + 2*x^5 +...
G(x) = 1 + 10*x + 5*x^2 + 10*x^3 + 10*x^4 + 2*x^5 + 5*x^6 +...
where G(x) is the g.f. of A083950.
PROG
(PARI) {a(n)=local(d=2, m=10, 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(A, d*n)}
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v and Paul D. Hanna, Aug 30 2005
STATUS
approved