OFFSET
0,2
PROG
(PARI) {a(n)=local(d=6, m=6, 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