Triangle read by rows: T(n,k) is the number of ternary sequences of length n containing k subsequences 000 (consecutively; n,k>=0).

A119825

Triangle read by rows: T(n,k) is the number of ternary sequences of length n containing k subsequences 000 (consecutively; n,k>=0).

Terms

    a(0) =1a(1) =3a(2) =9a(3) =26a(4) =1a(5) =76a(6) =4a(7) =1a(8) =222a(9) =16a(10) =4a(11) =1a(12) =648a(13) =60a(14) =16a(15) =4a(16) =1a(17) =1892a(18) =212a(19) =62a(20) =16a(21) =4a(22) =1a(23) =5524a(24) =728a(25) =224a(26) =64a(27) =16a(28) =4a(29) =1

External references