In combinatorial mathematics, the necklace polynomial, or Moreau's necklace-counting function, introduced by C. Moreau (1872), counts the number of distinct necklaces of n colored beads chosen out of α available colors, arranged in a cycle. Unlike the usual problem of graph coloring, the necklaces are assumed to be aperiodic (not consisting of repeated subsequences), and counted up to rotation (rotating the beads around the necklace counts as the same necklace), but without flipping over (reversing the order of the beads counts as a different necklace). This counting function also describes the dimensions in a free Lie algebra and the number of irreducible polynomials over a finite field.
Definition
The necklace polynomials are a family of polynomials in the variable such that
By Möbius inversion they are given by
where is the classic Möbius function.
A closely related family, called the general necklace polynomial or general necklace-counting function, is:
where is Euler's totient function.
Applications
The necklace polynomials appear as:
- The number of aperiodic necklaces (or equivalently Lyndon words) which can be made by arranging n colored beads having α available colors. Two such necklaces are considered equal if they are related by a rotation (but not a reflection). Aperiodic refers to necklaces without rotational symmetry, having n distinct rotations. The polynomials give the number of necklaces including the periodic ones: this is easily computed using Pólya theory.
- The dimension of the degree n piece of the free Lie algebra on α generators ("Witt's formula"[1]). Here should be the dimension of the degree n piece of the corresponding free Jordan algebra.
- The number of distinct words of length n in a Hall set. Note that the Hall set provides an explicit basis for a free Lie algebra; thus, this is the generalized setting for the above.
- The number of monic irreducible polynomials of degree n over a finite field with α elements (when is a prime power). Here is the number of polynomials which are primary (a power of an irreducible).
- The exponent in the cyclotomic identity.
Although these various types of objects are all counted by the same polynomial, their precise relationships remain unclear. For example, there is no canonical bijection between the irreducible polynomials and the Lyndon words.[2] However, there is a non-canonical bijection that can be constructed as follows. For any degree n monic irreducible polynomial over a field F with α elements, its roots lie in a Galois extension field L with elements. One may choose an element such that is an F-basis for L (a normal basis), where σ is the Frobenius automorphism . Then the bijection can be defined by taking a necklace, viewed as an equivalence class of functions , to the irreducible polynomial
for .
Different cyclic rearrangements of f, i.e. different representatives of the same equivalence class, yield cyclic rearrangements of the factors of , so this correspondence is well-defined.[3]
Relations between M and N
The polynomials for M and N are easily related in terms of Dirichlet convolution of arithmetic functions , regarding as a constant.
- The formula for M gives ,
- The formula for N gives .
- Their relation gives or equivalently , since n is completely multiplicative.
Any two of these imply the third, for example:
by cancellation in the Dirichlet algebra.
Examples
For , starting with length zero, these form the integer sequence
Identities
The polynomials obey various combinatorial identities, given by Metropolis & Rota:
where "gcd" is greatest common divisor and "lcm" is least common multiple. More generally,
which also implies:
Cyclotomic identity
References
- ↑ Lothaire, M. (1997). Combinatorics on words. Encyclopedia of Mathematics and Its Applications. Vol. 17. Perrin, D.; Reutenauer, C.; Berstel, J.; Pin, J. E.; Pirillo, G.; Foata, D.; Sakarovitch, J.; Simon, I.; Schützenberger, M. P.; Choffrut, C.; Cori, R.; Lyndon, Roger; Rota, Gian-Carlo. Foreword by Roger Lyndon (2nd ed.). Cambridge University Press. pp. 79, 84. ISBN 978-0-521-59924-5. MR 1475463. Zbl 0874.20040.
- ↑ Amy Glen, (2012) Combinatorics of Lyndon words, Melbourne talk
- ↑ Adalbert Kerber, (1991) Algebraic Combinatorics Via Finite Group Actions,
- Moreau, C. (1872), "Sur les permutations circulaires distinctes (On distinct circular permutations)", Nouvelles Annales de Mathématiques, Série 2 (in French), 11: 309–31, JFM 04.0086.01
- Metropolis, N.; Rota, Gian-Carlo (1983), "Witt vectors and the algebra of necklaces", Advances in Mathematics, 50 (2): 95–125, doi:10.1016/0001-8708(83)90035-X, ISSN 0001-8708, MR 0723197, Zbl 0545.05009
- Reutenauer, Christophe (1988). "Mots circulaires et polynomies irreductibles". Ann. Sc. Math. Quebec. 12 (2): 275–285.