Triangle read by rows: T(n,k) is the number of permutations of [n] with k runs of length 1. For example, 457/3/26/1 has two runs of length 1: 3 and 1.
A097898
Triangle read by rows: T(n,k) is the number of permutations of [n] with k runs of length 1. For example, 457/3/26/1 has two runs of length 1: 3 and 1.
Terms
- a(0) =1a(1) =0a(2) =1a(3) =1a(4) =0a(5) =1a(6) =1a(7) =4a(8) =0a(9) =1a(10) =6a(11) =6a(12) =11a(13) =0a(14) =1a(15) =19a(16) =51a(17) =23a(18) =26a(19) =0a(20) =1a(21) =109a(22) =212a(23) =269a(24) =72a(25) =57a(26) =0a(27) =1a(28) =588a(29) =1571
External references
- oeis: A097898