OFFSET
0,3
EXAMPLE
A(x) = 1 + x + 9*x^2 + 9*x^3 + 2*x^4 + 7*x^5 + 5*x^6 +...
A(x)^9 = 1 + 9*x + 117*x^2 + 813*x^3 + 5976*x^4 + 33381*x^5 +...
A(x)^9 (mod 27) = 1 + 9*x + 9*x^2 + 3*x^3 + 9*x^4 + 9*x^5 +...
G(x) = 1 + 9*x + 9*x^2 + 3*x^3 + 9*x^4 + 9*x^5 + 3*x^6 +...
where G(x) is the g.f. of A083949.
PROG
(PARI) {a(n)=local(d=9, m=9, 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