Triangle read by rows: T(n,k) is the number of permutations of {1,2,...,n} having k consecutive triples of the form (odd,even,odd) and (even,odd,even) (0<=k<=n-2).

A152877

Triangle read by rows: T(n,k) is the number of permutations of {1,2,...,n} having k consecutive triples of the form (odd,even,odd) and (even,odd,even) (0<=k<=n-2).

Terms

    a(0) =1a(1) =1a(2) =2a(3) =4a(4) =2a(5) =16a(6) =0a(7) =8a(8) =60a(9) =24a(10) =24a(11) =12a(12) =288a(13) =144a(14) =216a(15) =0a(16) =72a(17) =1584a(18) =1296a(19) =1152a(20) =576a(21) =288a(22) =144a(23) =10368a(24) =9216a(25) =10368a(26) =4608a(27) =4608a(28) =0a(29) =1152

External references