Number of words w where each letter of the ternary alphabet occurs n times and for every prefix z of w we have #(z,a_i) = 0 or #(z,a_i) >= #(z,a_j) for all j>i and #(z,a_i) counts the occurrences of the i-th letter in z.

A213873

Number of words w where each letter of the ternary alphabet occurs n times and for every prefix z of w we have #(z,a_i) = 0 or #(z,a_i) >= #(z,a_j) for all j>i and #(z,a_i) counts the occurrences of the i-th letter in z.

Terms

    a(0) =1a(1) =6a(2) =15a(3) =106a(4) =1075a(5) =13326a(6) =188196a(7) =2914395a(8) =48349015a(9) =846167608a(10) =15456538890a(11) =292407484590

External references