Sponsored Links
-->

Jumat, 30 Maret 2018

Necklace (combinatorics) Top #9 Facts - YouTube
src: i.ytimg.com

In combinatorics, a k-ary necklace of length n is an equivalence class of n-character strings over an alphabet of size k, taking all rotations as equivalent. It represents a structure with n circularly connected beads of up to k different 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 then 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.

Technically, one may classify a necklace as an orbit of the action of the cyclic group on n-character strings, and a bracelet as an orbit of the dihedral group's action. This enables application of Pólya enumeration theorem for enumeration of necklaces and bracelets.


Video Necklace (combinatorics)



Equivalence classes

Number of necklaces

There are

N k ( n ) = 1 n ? d | n ? ( d ) k n d {\displaystyle N_{k}(n)={\frac {1}{n}}\sum _{d\mid n}\varphi (d)k^{\frac {n}{d}}}

different k-ary necklaces of length n, where ? is Euler's totient function.

Number of bracelets

There are

B k ( n ) = { 1 2 N k ( n ) + 1 4 ( k + 1 ) k n 2 if  n  is even 1 2 N k ( n ) + 1 2 k n + 1 2 if  n  is odd {\displaystyle B_{k}(n)={\begin{cases}{\tfrac {1}{2}}N_{k}(n)+{\tfrac {1}{4}}(k+1)k^{\frac {n}{2}}&{\text{if }}n{\text{ is even}}\\[10px]{\tfrac {1}{2}}N_{k}(n)+{\tfrac {1}{2}}k^{\frac {n+1}{2}}&{\text{if }}n{\text{ is odd}}\end{cases}}}

different k-ary bracelets of length n, where Nk(n) is the number of k-ary necklaces of length n.


Maps Necklace (combinatorics)



Examples

Necklace example

If there are n beads, all distinct, on a necklace joined at the ends, then the number of distinct orderings on the necklace, after allowing for rotations, is n!/n, for n > 0. This may also be expressed as (n - 1)!. This number is less than the general case, which lacks the requirement that each bead must be distinct.

An intuitive justification for this can be given. If there is a line of n distinct objects ("beads"), the number of combinations would be n!. If the ends are joined together, the number of combinations are divided by n, as it is possible to rotate the string of n beads into n positions.

Bracelet example

If there are n beads, all distinct, on a bracelet joined at the ends, then the number of distinct orderings on the bracelet, after allowing for rotations and reflection, is n!/2n, for n > 2. Note that this number is less than the general case of Bn(n), which lacks the requirement that each bead must be distinct.

To explain this, one may begin with the count for a necklace. This number can be further divided by 2, because it is also possible to flip the bracelet over.


Santo Domingo Coral Necklace | Sale Number 3005B, Lot Number 246 ...
src: skinnerinc-res.cloudinary.com


Aperiodic necklaces

An aperiodic necklace of length n is an equivalence class of size n, i.e., no two distinct rotations of a necklace from such class are equal.

According to Moreau's necklace-counting function, there are

M k ( n ) = 1 n ? d | n ? ( d ) k n d {\displaystyle M_{k}(n)={\frac {1}{n}}\sum _{d\mid n}\mu (d)k^{\frac {n}{d}}}

different k-ary aperiodic necklaces of length n, where ? is the Möbius function.

Each aperiodic necklace contains a single Lyndon word so that Lyndon words form representatives of aperiodic necklaces.


Tahitian Pearl Necklace | Sale Number 3015B, Lot Number 242 ...
src: skinnerinc-res.cloudinary.com


Products of necklaces

The limit of the product of the numbers of fixed necklaces of length n composed of k types of beads:

lim n -> ? ? k = 1 n N k ( n ) = k n n ! 1 ( 1 + X ) ( 1 + X + X 2 ) ? ( 1 + X + X 2 + ? + X n - 1 ) {\displaystyle \lim _{n\to \infty }\prod _{k=1}^{n}N_{k}(n)={\frac {k^{n}}{n!}}1(1+X)\left(1+X+X^{2}\right)\cdots \left(1+X+X^{2}+\cdots +X^{n-1}\right)}

where the coefficient of Xk in the expansion of the product

? m = 1 n ? i = 0 m - 1 X i = 1 ( 1 + X ) ( 1 + X + X 2 ) ? ( 1 + X + X 2 + ? + X n - 1 ) {\displaystyle \prod _{m=1}^{n}\sum _{i=0}^{m-1}X^{i}=1(1+X)\left(1+X+X^{2}\right)\cdots \left(1+X+X^{2}+\cdots +X^{n-1}\right)}

presents the number of permutations of n with k inversions, expressed by a Mahonian number: A008302 (See Gaichenkov link)


Antique Coral Necklace and Bracelets | Sale Number 2993B, Lot ...
src: images.skinnerinc.com


See also

  • Lyndon word
  • Inversion (discrete mathematics)
  • Necklace problem
  • Necklace splitting problem
  • Permutation
  • Proofs of Fermat's little theorem#Proof by counting necklaces
  • Forte number, a representation of binary bracelets of length 12 used in atonal music.

Baroque South Sea and Tahitian Pearl Necklace, Hughes-Bosca | Sale ...
src: skinnerinc-res.cloudinary.com


References


South Sea Pearl Necklace | Sale Number 2932B, Lot Number 547 ...
src: images.skinnerinc.com


External links

  • Weisstein, Eric W. "Necklace". MathWorld. 
  • Info on necklaces, Lyndon words, De Bruijn sequences

Source of the article : Wikipedia

Comments
0 Comments