|
| |
|
|
A163843
|
|
Row sums of triangle A163840.
|
|
1
| |
|
|
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
(list; graph; refs; listen; history; internal format)
|
|
|
|
OFFSET
| 0,2
|
|
|
COMMENTS
| 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).
|
|
|
LINKS
| Peter Luschny, Swinging Factorial.
|
|
|
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:
|
|
|
CROSSREFS
| Cf. A163840.
Sequence in context: A030911 A009374 A137781 * A149056 A149057 A149058
Adjacent sequences: A163840 A163841 A163842 * A163844 A163845 A163846
|
|
|
KEYWORD
| nonn
|
|
|
AUTHOR
| Peter Luschny (peter(AT)luschny.de), Aug 06 2009
|
| |
|
|