A325551 Number of compositions of n with distinct circular differences.
1, 1, 3, 6, 11, 8, 26, 50, 79, 121, 195, 265, 478, 742, 1269, 1914, 2929, 4462, 6825, 10309, 16324, 24633, 37213, 56828, 84482
Offset: 1
Examples
The a(1) = 1 through a(7) = 26 compositions: (1) (2) (3) (4) (5) (6) (7) (12) (13) (14) (15) (16) (21) (31) (23) (24) (25) (112) (32) (42) (34) (121) (41) (51) (43) (211) (113) (114) (52) (122) (141) (61) (131) (411) (115) (212) (124) (221) (133) (311) (142) (151) (214) (223) (232) (241) (313) (322) (331) (412) (421) (511) (1213) (1312) (2131) (3121)
Links
Crossrefs
Programs
-
Mathematica
Table[Length[Select[Join@@Permutations/@IntegerPartitions[n],UnsameQ@@Differences[Append[#,First[#]]]&]],{n,15}]
Comments