OFFSET
0,3
FORMULA
G.f. A(x) satisfies A(x) = 1/(1 - x*A(x)^6/(1 - x*A(x)^3)).
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=1, 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