login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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; text; 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

Table of n, a(n) for n=0..24.

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: A137781 A208125 A213108 * A149056 A149057 A149058

Adjacent sequences:  A163840 A163841 A163842 * A163844 A163845 A163846

KEYWORD

nonn

AUTHOR

Peter Luschny, Aug 06 2009

STATUS

approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified April 25 19:05 EDT 2017. Contains 285426 sequences.