Number of n-length words on {1,2,3,4,5} such that the maximal runs of identical odd integers are of odd length and the maximal runs of identical even integers are of even length.

A242537

Number of n-length words on {1,2,3,4,5} such that the maximal runs of identical odd integers are of odd length and the maximal runs of identical even integers are of even length.

Terms

    a(0) =1a(1) =3a(2) =8a(3) =27a(4) =82a(5) =255a(6) =794a(7) =2463a(8) =7654a(9) =23775a(10) =73850a(11) =229407a(12) =712606a(13) =2213583a(14) =6876098a(15) =21359343a(16) =66348934a(17) =206100927a(18) =640215146a(19) =1988712255a(20) =6177573934a(21) =19189513071a(22) =59608742162a(23) =185163746895a(24) =575177598550

External references