Number of multisets of nonempty words with a total of n letters over ternary alphabet containing the third letter such that within each prefix of a word every letter of the alphabet is at least as frequent as the subsequent alphabet letter.

A293798

Number of multisets of nonempty words with a total of n letters over ternary alphabet containing the third letter such that within each prefix of a word every letter of the alphabet is at least as frequent as the subsequent alphabet letter.

Terms

    a(0) =1a(1) =4a(2) =17a(3) =58a(4) =193a(5) =603a(6) =1852a(7) =5539a(8) =16391a(9) =47919a(10) =139258a(11) =402365a(12) =1159175a(13) =3330974a(14) =9561080a(15) =27421882a(16) =78642072a(17) =225566206a(18) =647308614a(19) =1858741431a(20) =5341591906a(21) =15363474607a(22) =44228744168a(23) =127444421304a(24) =367573522408

External references