Triangle read by rows: T(n,k) is the number of permutations p of [n] in which the length of the longest initial segment avoiding both the 132- and the 231-pattern is equal to k.

A092594

Triangle read by rows: T(n,k) is the number of permutations p of [n] in which the length of the longest initial segment avoiding both the 132- and the 231-pattern is equal to k.

Terms

    a(0) =1a(1) =0a(2) =2a(3) =0a(4) =2a(5) =4a(6) =0a(7) =8a(8) =8a(9) =8a(10) =0a(11) =40a(12) =40a(13) =24a(14) =16a(15) =0a(16) =240a(17) =240a(18) =144a(19) =64a(20) =32a(21) =0a(22) =1680a(23) =1680a(24) =1008a(25) =448a(26) =160a(27) =64a(28) =0a(29) =13440

External references