The number of binary sequences of length n for which all patterns {0,1},{0,0},{1,0},{1,1} appear for the first time. In particular, three of the patterns will have appeared at least once before the (n-1)st digit in the sequence and the remaining pattern appears for the first and only time at positions {n-1,n} in the sequence.

A364685

The number of binary sequences of length n for which all patterns {0,1},{0,0},{1,0},{1,1} appear for the first time. In particular, three of the patterns will have appeared at least once before the (n-1)st digit in the sequence and the remaining pattern appears for the first and only time at positions {n-1,n} in the sequence.

Terms

    a(0) =4a(1) =10a(2) =18a(3) =30a(4) =48a(5) =76a(6) =120a(7) =190a(8) =302a(9) =482a(10) =772a(11) =1240a(12) =1996a(13) =3218a(14) =5194a(15) =8390a(16) =13560a(17) =21924a(18) =35456a(19) =57350a(20) =92774a(21) =150090a(22) =242828a(23) =392880a(24) =635668a(25) =1028506a(26) =1664130a(27) =2692590a(28) =4356672a(29) =7049212

External references