Number of n-length words on {1,2,3,4,5} that contain at most one consecutive 1 and at most two consecutive 2's and at most three consecutive 3's and at most four consecutive 4's and at most five consecutive 5's.

A242509

Number of n-length words on {1,2,3,4,5} that contain at most one consecutive 1 and at most two consecutive 2's and at most three consecutive 3's and at most four consecutive 4's and at most five consecutive 5's.

Terms

    a(0) =1a(1) =5a(2) =24a(3) =115a(4) =550a(5) =2631a(6) =12584a(7) =60191a(8) =287901a(9) =1377066a(10) =6586677a(11) =31504891a(12) =150691790a(13) =720777469a(14) =3447567781a(15) =16490143094a(16) =78874393932a(17) =377265981421

External references