Number of binary words of length n such that in every prefix and in every suffix the difference between the number of 1's and the number of 0's is in the interval [-2,3].
A306306
Number of binary words of length n such that in every prefix and in every suffix the difference between the number of 1's and the number of 0's is in the interval [-2,3].
Terms
- a(0) =1a(1) =2a(2) =4a(3) =7a(4) =12a(5) =21a(6) =35a(7) =62a(8) =102a(9) =184a(10) =299a(11) =551a(12) =882a(13) =1666a(14) =2615a(15) =5085a(16) =7782a(17) =15658a(18) =23219a(19) =48603a(20) =69402a(21) =151945a(22) =207695a(23) =477987a(24) =622062a(25) =1511741a(26) =1864139a(27) =4803125a(28) =5588322a(29) =15319484
External references
- oeis: A306306