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

A301502

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

Terms

    a(0) =1a(1) =1a(2) =0a(3) =1a(4) =2a(5) =1a(6) =1a(7) =3a(8) =3a(9) =3a(10) =7a(11) =9a(12) =6a(13) =10a(14) =20a(15) =20a(16) =20a(17) =36a(18) =50a(19) =54a(20) =75a(21) =109a(22) =126a(23) =156a(24) =233a(25) =302a(26) =352a(27) =480a(28) =676a(29) =838

External references