Triangle read by rows: T(n,k) is the number of permutations of {1,2,...,n} having k blocks of length 2 (0 <= k <= floor(n/2)). A block of a permutation is a maximal sequence of consecutive integers which appear in consecutive positions. For example, the permutation 5412367 has 4 blocks: 5, 4, 123, and 67; one of them is of length 2.

A184183

Triangle read by rows: T(n,k) is the number of permutations of {1,2,...,n} having k blocks of length 2 (0 <= k <= floor(n/2)). A block of a permutation is a maximal sequence of consecutive integers which appear in consecutive positions. For example, the permutation 5412367 has 4 blocks: 5, 4, 123, and 67; one of them is of length 2.

Terms

    a(0) =1a(1) =1a(2) =1a(3) =1a(4) =4a(5) =2a(6) =14a(7) =9a(8) =1a(9) =65a(10) =46a(11) =9a(12) =366a(13) =285a(14) =66a(15) =3a(16) =2451a(17) =2006a(18) =539a(19) =44a(20) =18949a(21) =16054a(22) =4776a(23) =530a(24) =11a(25) =166033a(26) =144128a(27) =46230a(28) =6224a(29) =265

External references