login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A249062
A double binomial sum.
0
1, 2, 5, 18, 69, 306, 1497, 7890, 45033, 273474, 1760301, 11961522, 85265325, 636026418, 4947725889, 40019230386, 335868650577, 2918173355010, 26199114476373, 242657102748114, 2314964975130261, 22717352863875762, 229029972003647145, 2369438933865972498
OFFSET
0,2
FORMULA
a(n) = sum((n!/k!)*sum(bin(k,i)*bin(k-i+1,n-k-2*i)/3^i,i=0..k),k=0..n).
E.g.f.: (1+t)*exp(t+t^2+t^3/3).
a(n+4)+(n+1)*a(n+3)-3*(n+3)*a(n+2)-3*(n+3)*(n+2)*a(n+1)-(n+3)*(n+2)*(n+1)*a(n)=0.
MATHEMATICA
AList[n_] := CoefficientList[Series[(1 + t) E^(t + t^2 + t^3/3), {t, 0, n}], t] Table[k!, {k, 0, n}]
AList[100]
PROG
(Maxima) a(n) := sum((n!/k!)*sum(binomial(k, i)*binomial(k-i+1, n-k-2*i)/3^i, i, 0, k), k, 0, n);
makelist(a(n), n, 0, 24);
CROSSREFS
Cf. A049425.
Sequence in context: A308241 A363061 A288910 * A322555 A118814 A345878
KEYWORD
nonn
AUTHOR
Emanuele Munarini, Oct 20 2014
STATUS
approved