login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A136662
Number of cycles of the permutations of [1,2,...,n].
3
1, 2, 1, 3, 2, 2, 1, 1, 2, 4, 3, 3, 2, 2, 3, 3, 2, 2, 1, 1, 2, 2, 1, 3, 2, 2, 1, 1, 2, 2, 3, 1, 2, 5, 4, 4, 3, 3, 4, 4, 3, 3, 2, 2, 3, 3, 2, 4, 3, 3, 2, 2, 3, 3, 4, 2, 3, 4, 3, 3, 2, 2, 3, 3, 2, 2, 1, 1, 2, 2, 1, 3, 2, 2, 1, 1, 2, 2, 3, 1, 2, 3, 2, 2, 1, 1, 2, 4, 3, 3, 2, 2, 3, 3, 2, 2, 1, 1, 2, 2, 3, 1, 2, 2, 1
OFFSET
1,2
COMMENTS
The row lengths sequence is A000142(n), n>=1, (factorials).
The permutations of [1,2,...,n] are ordered in the standard way (lexicographic or numerically increasing). E.g., in Maple as permute(n) list for not too large n (around 10).
LINKS
FORMULA
a(n,k) = number of cycles of the k-th permutation of [1,2,...,n] in standard (increasing) order.
EXAMPLE
Triangle begins:
[1];
[2,1];
[3,2,2,1,1,2];
[4,3,3,2,2,3,3,2,2,1,1,2,2,1,3,2,2,1,1,2,2,3,1,2];
...
Row n=3: permutations of [1,2,3] in the order [[1, 2, 3], [1, 3, 2], [2, 1, 3], [2, 3, 1], [3, 1, 2], [3, 2, 1]]. Cycle decomposition: [[[1], [2], [3]], [[1], [2, 3]], [[1, 2], [3]], [[1, 2, 3]], [[1, 3, 2]], [[1, 3], [2]]]. Number of cycles: [3,2,2,1,1,2], the entries of row n=3.
CROSSREFS
Row sums (total cycle numbers) A000254.
Cf. A130534.
Sequence in context: A290536 A352570 A277855 * A023595 A372516 A177718
KEYWORD
nonn,easy,tabf
AUTHOR
Wolfdieter Lang, Feb 22 2008, May 21 2008
STATUS
approved