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”).

A163843
Row sums of triangle A163840.
2
1, 3, 10, 41, 116, 427, 1240, 4181, 12472, 40091, 121364, 380701, 1160186, 3593969, 10979532, 33785469, 103258800, 316532947, 966976444, 2957131673, 9026437602, 27558146133, 84043120308, 256263107177, 780817641926
OFFSET
0,2
LINKS
FORMULA
a(n) = Sum_{k=0..n} Sum_{i=k..n} binomial(n-k,n-i)*i$ where i$ denotes the swinging factorial of i (A056040).
MAPLE
swing := proc(n) option remember; if n = 0 then 1 elif
irem(n, 2) = 1 then swing(n-1)*n else 4*swing(n-1)/n fi end:
a := proc(n) local i, k; add(add(binomial(n-k, n-i)*swing(i), i=k..n), k=0..n) end:
MATHEMATICA
sf[n_] := n!/Quotient[n, 2]!^2; t[n_, k_] := Sum[Binomial[n - k, n - i]*sf[i], {i, k, n}]; Table[Sum[t[n, k], {k, 0, n}], {n, 0, 50}] (* G. C. Greubel, Aug 06 2017 *)
CROSSREFS
Sequence in context: A137781 A208125 A213108 * A149056 A149057 A149058
KEYWORD
nonn
AUTHOR
Peter Luschny, Aug 06 2009
STATUS
approved