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 321-pattern is equal to k.

A092741

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 321-pattern is equal to k.

Terms

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

External references