Triangle read by rows: T(n,k) is the number of ternary words of length n on {0,1,2} having sum of the lengths of the drops equal to k (n>=0, k>=0). The drops of a ternary word on {0,1,2} are the subwords 10,20 and 21, their lengths being the differences 1, 2 and 1, respectively.

A120907

Triangle read by rows: T(n,k) is the number of ternary words of length n on {0,1,2} having sum of the lengths of the drops equal to k (n>=0, k>=0). The drops of a ternary word on {0,1,2} are the subwords 10,20 and 21, their lengths being the differences 1, 2 and 1, respectively.

Terms

    a(0) =1a(1) =3a(2) =6a(3) =2a(4) =1a(5) =10a(6) =10a(7) =7a(8) =15a(9) =30a(10) =31a(11) =4a(12) =1a(13) =21a(14) =70a(15) =105a(16) =36a(17) =11a(18) =28a(19) =140a(20) =294a(21) =184a(22) =76a(23) =6a(24) =1a(25) =36a(26) =252a(27) =714a(28) =696a(29) =396

External references