Triangular array read by rows. T(n,k) is the number of ternary length-n words in which the longest run of consecutive 0's is exactly k; n>=0, 0<=k<=n.
A209240
Triangular array read by rows. T(n,k) is the number of ternary length-n words in which the longest run of consecutive 0's is exactly k; n>=0, 0<=k<=n.
Terms
- a(0) =1a(1) =2a(2) =1a(3) =4a(4) =4a(5) =1a(6) =8a(7) =14a(8) =4a(9) =1a(10) =16a(11) =44a(12) =16a(13) =4a(14) =1a(15) =32a(16) =132a(17) =58a(18) =16a(19) =4a(20) =1a(21) =64a(22) =384a(23) =200a(24) =60a(25) =16a(26) =4a(27) =1a(28) =128a(29) =1096
External references
- oeis: A209240