Two words and are -abelian equivalent if, for each word of length at most , occurs equally many times as a factor in both and . The notion of -abelian equivalence is an intermediate notion between the abelian equivalence and the equality of words. In this paper, we study the equivalence classes induced by the -abelian equivalence, mainly focusing on the cardinalities of the classes. In particular, we are interested in the number of singleton -abelian classes, i.e., classes containing only one element. We find a connection between the singleton classes and cycle decompositions of the de Bruijn graph. We show that the number of classes of words of length containing one single element is of order $\mathcal O(n^{N_m(k-1)-1})N_m(l) = \tfrac{1}{l}\sum_{d\mid l} \varphi(d)m^{l/d}lm$-ary alphabet. We conjecture that the upper bound is sharp. We also remark that, for even and , the lower bound follows from an old conjecture on the existence of Gray codes for necklaces of odd length. We verify this conjecture for necklaces of length up to 15.

生成讲解博客的中文版本

生成AI智能校验的中文版本