Number of n-length words on {1,2,3} such that the maximal blocks (runs) of 1's have odd length, the maximal blocks of 2's have even length and the maximal blocks of 3's have odd length.

A242510

Number of n-length words on {1,2,3} such that the maximal blocks (runs) of 1's have odd length, the maximal blocks of 2's have even length and the maximal blocks of 3's have odd length.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =8a(4) =15a(5) =32a(6) =67a(7) =138a(8) =289a(9) =600a(10) =1249a(11) =2600a(12) =5409a(13) =11258a(14) =23427a(15) =48752a(16) =101455a(17) =211128a(18) =439363a(19) =914322a(20) =1902721a(21) =3959600a(22) =8240001a(23) =17147600a(24) =35684481a(25) =74260082a(26) =154536643a(27) =321593688a(28) =669242575a(29) =1392706512

External references