OFFSET
0,2
FORMULA
a(n) = A087221(3n+2).
EXAMPLE
Given f(x) = 1 + x + x^5 + x^21 + x^85 + x^341 + ...
so that f(x)^2 = 1 + 2x + x^2 + 2x^5 + 2x^6 + x^10 + 2x^21 + ...
and f(x)^3 = 1 + 3x + 3x^2 + x^3 + 3x^5 + 6x^6 + 3x^7 + 3x^10 + ...
then A(x) = (1 + 2x + x^2 + 2x^5 + ...) + x*A(x)*(1 + 3x + 3x^2 + x^3 + 3x^5 + ...)
= 1 + 3x + 7x^2 + 19x^3 + 50x^4 + 133x^5 + 352x^6 + ...
PROG
(PARI) a(n)=local(A, m); if(n<1, n==0, m=1; A=1+O(x); while(m<=3*n+3, m*=4; A=1/(1/subst(A, x, x^4)-x)); polcoeff(A, 3*n+2))
CROSSREFS
KEYWORD
nonn
AUTHOR
Paul D. Hanna, Aug 27 2003
STATUS
approved