OFFSET
0,3
FORMULA
G.f. A(x) satisfies A(x) = 1/(1 - x*A(x)^2/(1 - x*A(x)^5)).
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=3, u=5) = 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 09 2024
STATUS
approved