|
Search: id:A138772
|
|
|
| A138772 |
|
Number of entries in the second cycles of all permutations of {1,2,...,n}; each cycle is written with the smallest element first and cycles are arranged in increasing order of their first elements. |
|
+0 2
|
|
| 0, 1, 5, 27, 168, 1200, 9720, 88200, 887040, 9797760, 117936000, 1536796800, 21555072000, 323805081600, 5187108326400, 88268019840000, 1590132031488000, 30233431388160000, 605024315191296000, 12711912992722944000
(list; graph; listen)
|
|
|
OFFSET
|
1,3
|
|
|
COMMENT
|
a(n)=Sum(k*A138771(n,k),k=0..n-1).
|
|
FORMULA
|
a(n)=(1/4)(n-1)!(n-1)(n+2). Rec. rel: a(n)=(n+1)a(n-1)+(n-2)! Rec. rel: a(n)=(n-1)a(n-1)+n!/2
|
|
EXAMPLE
|
a(3)=5 because the number of entries in the second cycles of (1)(2)(3), (1)(23), (132), (12)(3), (123) and (13)(2) is 1+2+0+1+0+1=5.
|
|
MAPLE
|
seq((1/4)*factorial(n-1)*(n-1)*(n+2), n = 1 .. 20);
|
|
CROSSREFS
|
Cf. A138771.
Sequence in context: A153233 A084076 A081924 this_sequence A082425 A109963 A091101
Adjacent sequences: A138769 A138770 A138771 this_sequence A138773 A138774 A138775
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
Emeric Deutsch (deutsch(AT)duke.poly.edu), Apr 10 2008
|
|
|
Search completed in 0.002 seconds
|