|
Search: id:A163774
|
|
| |
|
| 1, 3, 13, 51, 201, 783, 3039, 11763, 45481, 175803, 679779, 2630367, 10187659, 39500373, 153329913, 595883763, 2318471289, 9030982491
(list; graph; listen)
|
|
|
OFFSET
|
0,2
|
|
|
COMMENT
|
a(n) = sum{k=0..n} sum{i=k..n} (-1)^(n-i)*binomial(n-k,n-i)*(2i)$
where i$ denotes the swinging factorial of i (A056040).
|
|
REFERENCES
|
Peter Luschny, "Divide, swing and conquer the factorial and the lcm{1,2,...,n}", preprint, April 2008.
|
|
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(2*i), i=k..n), k=0..n) end:
|
|
CROSSREFS
|
Cf. A163771.
Sequence in context: A026529 A101052 A016064 this_sequence A014985 A015521 A146279
Adjacent sequences: A163771 A163772 A163773 this_sequence A163775 A163776 A163777
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Peter Luschny (peter(AT)luschny.de), Aug 05 2009
|
|
|
Search completed in 0.002 seconds
|