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

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A163773 Row sums of the swinging derangement triangle (A163770). 1
1, 1, 4, 15, -14, 185, -454, 2107, -6194, 22689, -70058, 234971, -734304, 2368379, -7404318, 23417955, -72988938, 228324569 (list; graph; refs; listen; history; internal format)
OFFSET

0,3

COMMENTS

a(n) = sum{k=0..n} sum{i=k..n} (-1)^(n-i)*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((-1)^(n-i)*binomial(n-k, n-i)*swing(i), i=k..n), k=0..n) end:

CROSSREFS

Cf. A163770

Sequence in context: A154068 A126601 A095331 * A076349 A175959 A152442

Adjacent sequences:  A163770 A163771 A163772 * A163774 A163775 A163776

KEYWORD

sign

AUTHOR

Peter Luschny (peter(AT)luschny.de), Aug 05 2009

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

Content is available under The OEIS End-User License Agreement .

Last modified February 13 06:53 EST 2012. Contains 205451 sequences.