Triangle read by rows: T(n,k) is the number of permutations of [n] for which k is the maximal number of initial entries whose parities alternate (1 <= k <= n).

A152660

Triangle read by rows: T(n,k) is the number of permutations of [n] for which k is the maximal number of initial entries whose parities alternate (1 <= k <= n).

Terms

    a(0) =1a(1) =0a(2) =2a(3) =2a(4) =2a(5) =2a(6) =8a(7) =8a(8) =0a(9) =8a(10) =48a(11) =36a(12) =12a(13) =12a(14) =12a(15) =288a(16) =216a(17) =72a(18) =72a(19) =0a(20) =72a(21) =2160a(22) =1440a(23) =576a(24) =432a(25) =144a(26) =144a(27) =144a(28) =17280a(29) =11520

External references