Number of n-length words w over ternary alphabet {a,b,c} such that #(w,a) >= #(w,b) >= #(w,c) >= 1, where #(w,x) counts the letters x in word w.

A226882

Number of n-length words w over ternary alphabet {a,b,c} such that #(w,a) >= #(w,b) >= #(w,c) >= 1, where #(w,x) counts the letters x in word w.

Terms

    a(0) =6a(1) =12a(2) =50a(3) =180a(4) =497a(5) =1484a(6) =5154a(7) =13680a(8) =41327a(9) =134508a(10) =368095a(11) =1095367a(12) =3521156a(13) =9733564a(14) =29025290a(15) =92208816a(16) =257946527a(17) =769203752a(18) =2428043309a(19) =6848294497a(20) =20442949562a(21) =64191187508a(22) =182286409175a(23) =544512163065

External references