OFFSET
0,2
FORMULA
G.f. A(x) satisfies A(x) = 1/( 1 - x*A(x)^2/(1 - x*A(x)) )^3.
G.f.: A(x) = B(x)^3 where B(x) is the g.f. of A378685.
If g.f. satisfies A(x) = ( 1 + x*A(x)^(t/r) / (1 - x*A(x)^(u/r))^s )^r, then a(n) = r * Sum_{k=0..n} binomial(t*k+u*(n-k)+r,k) * binomial(n+(s-1)*k-1,n-k)/(t*k+u*(n-k)+r).
PROG
(PARI) a(n, r=3, s=1, t=7, u=3) = r*sum(k=0, n, binomial(t*k+u*(n-k)+r, k)*binomial(n+(s-1)*k-1, n-k)/(t*k+u*(n-k)+r));
CROSSREFS
KEYWORD
nonn,new
AUTHOR
Seiichi Manyama, Dec 04 2024
STATUS
approved