Number of compositions (ordered partitions) of n such that some part is repeated consecutively 3 times and no part is repeated consecutively more than 3 times.

A091617

Number of compositions (ordered partitions) of n such that some part is repeated consecutively 3 times and no part is repeated consecutively more than 3 times.

Terms

    a(0) =1a(1) =0a(2) =2a(3) =5a(4) =11a(5) =22a(6) =48a(7) =105a(8) =223a(9) =468a(10) =979a(11) =2037a(12) =4224a(13) =8710a(14) =17906a(15) =36693a(16) =74973a(17) =152795a(18) =310669a(19) =630353a(20) =1276544a(21) =2580614a(22) =5208522a(23) =10496954a(24) =21126102a(25) =42464498a(26) =85255651a(27) =170980512a(28) =342553389a(29) =685641724

External references