OFFSET
0,5
LINKS
Seiichi Manyama, Table of n, a(n) for n = 0..1000
FORMULA
A(x) = Sum_{k>=0} a(k) * x^k = 1/Product_{k>=0} (1-x^(3*k+1))^a(3*k).
A(x) * A(w*x) * A(w^2*x) = A(x^3).
a(0) = 1; a(n) = (1/n) * Sum_{k=1..n} ( Sum_{d|k and d==1 mod 3} d * a(d-1) ) * a(n-k).
PROG
(PARI) seq(n) = my(w=exp(2*Pi*I/3), A=1); for(i=1, n, A=exp(sum(k=1, i, sum(m=0, 2, subst(A, x, w^m*x^k))/3*x^k/k)+x*O(x^n))); apply(round, Vec(A));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, May 31 2023
STATUS
approved