Number of compositions (ordered partitions) of n into parts > 1 such that no two adjacent parts are equal (Carlitz compositions).

A298732

Number of compositions (ordered partitions) of n into parts > 1 such that no two adjacent parts are equal (Carlitz compositions).

Terms

    a(0) =1a(1) =0a(2) =1a(3) =1a(4) =1a(5) =3a(6) =3a(7) =6a(8) =7a(9) =14a(10) =18a(11) =30a(12) =45a(13) =66a(14) =107a(15) =157a(16) =245a(17) =369a(18) =569a(19) =862a(20) =1325a(21) =2020a(22) =3078a(23) =4717a(24) =7183a(25) =10991a(26) =16769a(27) =25626a(28) =39117a(29) =59763

External references