Number of binary words of length n such that in every prefix and in every suffix the number of 0's and the number of 1's differ by at most two.
A306293
Number of binary words of length n such that in every prefix and in every suffix the number of 0's and the number of 1's differ by at most two.
Terms
- a(0) =1a(1) =2a(2) =4a(3) =6a(4) =10a(5) =16a(6) =26a(7) =42a(8) =70a(9) =110a(10) =194a(11) =288a(12) =550a(13) =754a(14) =1586a(15) =1974a(16) =4630a(17) =5168a(18) =13634a(19) =13530a(20) =40390a(21) =35422a(22) =120146a(23) =92736a(24) =358390a(25) =242786a(26) =1071074a(27) =635622a(28) =3205030a(29) =1664080
External references
- oeis: A306293