OFFSET
0,3
FORMULA
G.f.: A(x) = sqrt(B(x)) where B(x) is the g.f. of A365123.
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=4, t=0, u=2) = 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 06 2024
STATUS
approved