Bracelet (combinatorics)
   HOME

TheInfoList



OR:

In
combinatorics Combinatorics is an area of mathematics primarily concerned with counting, both as a means and an end in obtaining results, and certain properties of finite structures. It is closely related to many other areas of mathematics and has many appl ...
, a ''k''-ary necklace of length ''n'' is an
equivalence class In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a ...
of ''n''-character strings over an
alphabet An alphabet is a standardized set of basic written graphemes (called letters) that represent the phonemes of certain spoken languages. Not all writing systems represent language in this way; in a syllabary, each character represents a syll ...
of size ''k'', taking all rotations as equivalent. It represents a structure with ''n'' circularly connected beads which have ''k'' available colors. A ''k''-ary bracelet, also referred to as a turnover (or free) necklace, is a necklace such that strings may also be equivalent under reflection. That is, given two strings, if each is the reverse of the other, they belong to the same equivalence class. For this reason, a necklace might also be called a fixed necklace to distinguish it from a turnover necklace. Formally, one may represent a necklace as an
orbit In celestial mechanics, an orbit is the curved trajectory of an object such as the trajectory of a planet around a star, or of a natural satellite around a planet, or of an artificial satellite around an object or position in space such as a p ...
of the
cyclic group In group theory, a branch of abstract algebra in pure mathematics, a cyclic group or monogenous group is a group, denoted C''n'', that is generated by a single element. That is, it is a set of invertible elements with a single associative bina ...
acting Acting is an activity in which a story is told by means of its enactment by an actor or actress who adopts a character—in theatre, television, film, radio, or any other medium that makes use of the mimetic mode. Acting involves a broad r ...
on ''n''-character strings over an alphabet of size ''k'', and a bracelet as an orbit of the
dihedral group In mathematics, a dihedral group is the group of symmetries of a regular polygon, which includes rotations and reflections. Dihedral groups are among the simplest examples of finite groups, and they play an important role in group theory, ge ...
. One can count these orbits, and thus necklaces and bracelets, using Pólya's enumeration theorem.


Equivalence classes


Number of necklaces

There are :N_k(n)=\frac\sum_\varphi(d)k^\frac different ''k''-ary necklaces of length ''n'', where '' \varphi '' is
Euler's totient function In number theory, Euler's totient function counts the positive integers up to a given integer that are relatively prime to . It is written using the Greek letter phi as \varphi(n) or \phi(n), and may also be called Euler's phi function. In ot ...
. This follows directly from Pólya's enumeration theorem applied to the action of the cyclic group C_n acting on the set of all functions f : \ \to\. There are also :L_k(n)=\frac\sum_\varphi(d)S(\frac, k) different necklaces of length ''n'' with exactly ''k'' different colored beads, where S(n, k) are the
Stirling number of the second kind In mathematics, particularly in combinatorics, a Stirling number of the second kind (or Stirling partition number) is the number of ways to partition a set of ''n'' objects into ''k'' non-empty subsets and is denoted by S(n,k) or \textstyle \lef ...
. (The variable ''k'' is overloaded and it is unclear whether ''k'' refers to the alphabet size or to the number of distinct elements in the necklace.) N_k(n) and L_k(n) are related via the
Binomial coefficients In mathematics, the binomial coefficients are the positive integers that occur as coefficients in the binomial theorem. Commonly, a binomial coefficient is indexed by a pair of integers and is written \tbinom. It is the coefficient of the t ...
: :N_k(n)=\sum_^k\binomL_j(n) and :L_k(n)=\sum_^k(-1)^\binomN_j(n)


Number of bracelets

There are a total of :B_k(n) = \begin \tfrac12 N_k(n) + \tfrac14 (k+1)k^ & \textn\text \\
0px PX or px may refer to: In business * PX Index, index of the Prague Stock Exchange * Air Niugini (IATA airline code PX) * Part exchange, a type of contract * Post exchange, a store operated by the Army and Air Force Exchange Service on US Army pos ...
\tfrac12 N_k(n) + \tfrac12 k^ & \textn\text \end different ''k''-ary bracelets of length ''n'', where ''N''''k''(''n'') is the number of ''k''-ary necklaces of length ''n''. This follows from Pólya's method applied to the action of the
dihedral group In mathematics, a dihedral group is the group of symmetries of a regular polygon, which includes rotations and reflections. Dihedral groups are among the simplest examples of finite groups, and they play an important role in group theory, ge ...
D_n.


Case of distinct beads

For a given set of ''n'' beads, all distinct, the number of distinct necklaces made from these beads, counting rotated necklaces as the same, is = (''n'' − 1)!. This is because the beads can be linearly ordered in ''n''! ways, and the ''n'' circular shifts of such an ordering all give the same necklace. Similarly, the number of distinct bracelets, counting rotated and reflected bracelets as the same, is , for ''n'' ≥ 3. If the beads are not all distinct, having repeated colors, then there are fewer necklaces (and bracelets). The above necklace-counting polynomials give the number necklaces made from all possible
multiset In mathematics, a multiset (or bag, or mset) is a modification of the concept of a set that, unlike a set, allows for multiple instances for each of its elements. The number of instances given for each element is called the multiplicity of that e ...
s of beads. Polya's pattern inventory polynomial refines the counting polynomial, using variable for each bead color, so that the coefficient of each monomial counts the number of necklaces on a given multiset of beads.


Aperiodic necklaces

An aperiodic necklace of length ''n'' is a rotation
equivalence class In mathematics, when the elements of some set S have a notion of equivalence (formalized as an equivalence relation), then one may naturally split the set S into equivalence classes. These equivalence classes are constructed so that elements a ...
having size ''n'', i.e., no two distinct rotations of a necklace from such class are equal. According to
Moreau's necklace-counting function In combinatorial mathematics, the necklace polynomial, or Moreau's necklace-counting function, introduced by , counts the number of distinct necklaces of ''n'' colored beads chosen out of α available colors. The necklaces are assumed to be aperio ...
, there are :M_k(n)=\frac\sum_\mu(d)k^\frac different ''k''-ary aperiodic necklaces of length ''n'', where ''μ'' is the
Möbius function The Möbius function is a multiplicative function in number theory introduced by the German mathematician August Ferdinand Möbius (also transliterated ''Moebius'') in 1832. It is ubiquitous in elementary and analytic number theory and most oft ...
. The two necklace-counting functions are related by: N_k(n) = \sum_ M_k(d), where the sum is over all divisors of ''n'', which is equivalent by
Möbius inversion Moebius, Möbius or Mobius may refer to: People * August Ferdinand Möbius (1790–1868), German mathematician and astronomer * Theodor Möbius (1821–1890), German philologist * Karl Möbius (1825–1908), German zoologist and ecologist * Paul ...
to M_k(n) = \sum_ N_k(d)\,\mu\bigl(\tfrac\bigr). Each aperiodic necklace contains a single
Lyndon word In mathematics, in the areas of combinatorics and computer science, a Lyndon word is a nonempty string that is strictly smaller in lexicographic order than all of its rotations. Lyndon words are named after mathematician Roger Lyndon, who investi ...
so that Lyndon words form representatives of aperiodic necklaces.


See also

*
Lyndon word In mathematics, in the areas of combinatorics and computer science, a Lyndon word is a nonempty string that is strictly smaller in lexicographic order than all of its rotations. Lyndon words are named after mathematician Roger Lyndon, who investi ...
*
Inversion (discrete mathematics) In computer science and discrete mathematics, an inversion in a sequence is a pair of elements that are out of their natural order. Definitions Inversion Let \pi be a permutation. There is an inversion of \pi between i and j if i \pi(j) ...
*
Necklace problem The necklace problem is a problem in recreational mathematics concerning the reconstruction of Necklace (combinatorics), necklaces (cyclic arrangements of binary values) from partial information. Formulation The necklace problem involves the re ...
*
Necklace splitting problem Necklace splitting is a picturesque name given to several related problems in combinatorics and measure theory. Its name and solutions are due to mathematicians Noga Alon and Douglas B. West. The basic setting involves a necklace with beads of ...
*
Permutation In mathematics, a permutation of a set is, loosely speaking, an arrangement of its members into a sequence or linear order, or if the set is already ordered, a rearrangement of its elements. The word "permutation" also refers to the act or proc ...
* Proofs of Fermat's little theorem#Proof by counting necklaces *
Forte number In musical set theory, a Forte number is the pair of numbers Allen Forte assigned to the prime form of each pitch class set of three or more members in ''The Structure of Atonal Music'' (1973, ). The first number indicates the number of pitch cla ...
, a representation of binary bracelets of length 12 used in
atonal music Atonality in its broadest sense is music that lacks a tonal center, or key. ''Atonality'', in this sense, usually describes compositions written from about the early 20th-century to the present day, where a hierarchy of harmonies focusing on a ...
.


References


External links

* * * {{cite journal , first=Frank , last=Ruskey , first2=Carla , last2=Savage , first3=Terry Min Yih , last3=Wang , title=Generating necklaces , journal=Journal of Algorithms , volume=13 , issue=3 , pages=414–430 , date=1992 , doi=10.1016/0196-6774(92)90047-G , url= Combinatorics on words Enumerative combinatorics