OFFSET
1,3
COMMENTS
A cyclic Carlitz composition is a composition of length greater than one where adjacent parts, including the first and the last ones, are distinct. A composition of length one is also considered cyclic and Carlitz. Assume two cyclic Carlitz compositions are considered equivalent iff one can be obtained from the other by a rotation or reversal of order. Each equivalence class obtained is called a dihedral Carlitz composition of n.
LINKS
P. Hadjicostas, Cyclic, dihedral and symmetrical Carlitz compositions of a positive integer, Journal of Integer Sequences, 20 (2017), Article 17.8.5.
FORMULA
EXAMPLE
a(6) = 5 because n = 6 has the following dihedral Carlitz compositions: 6, 1+5, 2+4, 1+2+3, 1+2+1+2. (For example, the equivalence class for the dihedral Carlitz composition 1+2+3 is {(1,2,3),(2,3,1), (3,1,2), (3,2,1),(2,1,3),(1,3,2)}.)
CROSSREFS
KEYWORD
nonn
AUTHOR
Petros Hadjicostas, Oct 10 2017
STATUS
approved