OFFSET
0,3
FORMULA
G.f.: 1/(g^6 * (1-6*x*g^5) * (1-x*g)) where g = 1+x*g^6 is the g.f. of A002295.
G.f.: 1/((6-5*g) * (1-g+g^5)) where g = 1+x*g^6 is the g.f. of A002295.
Here and below, binomial(N,k) = 0 for k<0.
This is the special case l=1, m=5, c=0, r=1, s=0 of the following family. For integers l, m, c in Z, and for any constants r and s, define a_{l,m,c,r,s}(n) = Sum_{k=0..n} (r*binomial(l*n+m*k-m-1+c,k) - s*binomial(l*n+m*k-m-1+c,k-1)). A_{l,m,c,r,s}(x) = Sum_{n>=0} a_{l,m,c,r,s}(n)*x^n = t^c*(r+s-s*t)/((l+m-(l+m-1)*t)*(1-t+t^m)), where t = t(x) satisfies t = 1 + x*t^(l+m), equivalently y = x*(1+y)^(l+m) with y=t-1.
PROG
(PARI) a(n) = sum(k=0, n, binomial(n+5*k-6, k));
CROSSREFS
KEYWORD
nonn,easy,new
AUTHOR
Seiichi Manyama, Jun 30 2026
STATUS
approved
