Triangle T(n,k) = P(n,k)/2, n >= 2, 1 <= k < n, of one-half of number of permutations of 1..n such that the differences have k runs with the same signs.
A008970
Triangle T(n,k) = P(n,k)/2, n >= 2, 1 <= k < n, of one-half of number of permutations of 1..n such that the differences have k runs with the same signs.
Terms
- a(0) =1a(1) =1a(2) =2a(3) =1a(4) =6a(5) =5a(6) =1a(7) =14a(8) =29a(9) =16a(10) =1a(11) =30a(12) =118a(13) =150a(14) =61a(15) =1a(16) =62a(17) =418a(18) =926a(19) =841a(20) =272a(21) =1a(22) =126a(23) =1383a(24) =4788a(25) =7311a(26) =5166a(27) =1385a(28) =1a(29) =254
External references
- oeis: A008970