OFFSET
0,2
EXAMPLE
A(x) = 1 + 4*x + 4*x^2 + 8*x^3 + 6*x^4 + 12*x^5 +...
A(x)^3 = 1 + 12*x + 60*x^2 + 184*x^3 + 450*x^4 + 948*x^5 +...
A(x)^3 (mod 9) = 1 + 3*x + 6*x^2 + 4*x^3 + 3*x^5 + 4*x^6 +...
G(x) = 1 + 12*x + 6*x^2 + 4*x^3 + 9*x^4 + 12*x^5 + 4*x^6 +...
where G(x) is the g.f. of A084067.
PROG
(PARI) {a(n)=local(d=3, m=12, 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