Necklaces over a group with identity product
Darij Grinberg, Peter Mao
TL;DR
This paper studies two necklace-counting problems over a finite group $\mathcal{G}$: identity-product necklaces, defined as $C_n$-orbits of $n$-tuples with product $1$, and homogeneous necklaces, as orbits under the commuting action of $C_n\times\mathcal{G}$; it proves a bijection between these two counts and derives a divisor-sum formula $|\mathcal{G}_1^n/C_n|=\frac{1}{n}\sum_{d|n} \phi\left(\frac{n}{d}\right) [\mathcal{G}\div \frac{n}{d}]\,|\mathcal{G}|^{d-1}$, with an abelian specialization. It generalizes to $K$-product necklaces and links the identity-product case to counting irreducible polynomials over finite fields via trace and normal-basis bijections, employing the orbit-counting lemma and Möbius inversion. The work unifies several counting notions (aperiodic, homogeneous, and $K$-product variants) and connects combinatorial structures to algebraic objects in finite-field theory, with applications to sequences in the OEIS. Overall, the results provide explicit divisor-sum formulas, bijections, and generalizations that illuminate the interplay between group actions and polynomial enumeration over finite fields.
Abstract
We address two variants of the classical necklace counting problem from enumerative combinatorics. In both cases, we fix a finite group $\mathcal{G}$ and a positive integer $n$. In the first variant, we count the ``identity-product $n$-necklaces'' -- that is, the orbits of $n$-tuples $\left(a_1, a_2, \ldots, a_n\right) \in \mathcal{G}^n$ that satisfy $a_1 a_2 \cdots a_n = 1$ under cyclic rotation. In the second, we count the orbits of all $n$-tuples $\left(a_1, a_2, \ldots, a_n\right) \in \mathcal{G}^n$ under cyclic rotation and left multiplication (i.e., the operation of $\mathcal{G}$ on $\mathcal{G}^n$ given by $h \cdot \left(a_1, a_2, \ldots, a_n\right) = \left(ha_1, ha_2, \ldots, ha_n\right)$). We prove bijectively that both answers are the same, and express them as a sum over divisors of $n$. Consequently, we generalize the first problem to $n$-necklaces whose product of entries lies in a given subset of $\mathcal{G}$ (closed under conjugation), and we connect a particular case to the enumeration of irreducible polynomials over a finite field with given degree and second-highest coefficient $0$.
