OFFSET
0,3
FORMULA
If g.f. satisfies A(x) = 1 + x*A(x)^t / (1 - x*A(x)^u)^s, then a(n) = Sum_{k=0..n} binomial(t*k+u*(n-k)+1,k) * binomial(n+(s-1)*k-1,n-k) / (t*k+u*(n-k)+1).
PROG
(PARI) a(n, s=4, t=3, u=1) = sum(k=0, n, binomial(t*k+u*(n-k)+1, k)*binomial(n+(s-1)*k-1, n-k)/(t*k+u*(n-k)+1));
CROSSREFS
KEYWORD
nonn
AUTHOR
Seiichi Manyama, Nov 11 2023
STATUS
approved