NecklacePolynomial
NecklacePolynomial[n,c,Cyclic]
returns a polynomial in the colors in c whose coefficients represent numbers of ways of coloring an n-bead necklace with colors chosen from c, assuming that two colorings are equivalent if one can be obtained from the other by a rotation.
NecklacePolynomial[n,c,Dihedral]
is different in that it considers two colorings equivalent if one can be obtained from the other by a rotation or a flip or both.
更多信息和选项
- To use NecklacePolynomial, you first need to load the Combinatorica Package using Needs["Combinatorica`"].
文本
Wolfram Research (2012),NecklacePolynomial,Wolfram 语言函数,https://reference.wolfram.com/language/Combinatorica/ref/NecklacePolynomial.html.
CMS
Wolfram 语言. 2012. "NecklacePolynomial." Wolfram 语言与系统参考资料中心. Wolfram Research. https://reference.wolfram.com/language/Combinatorica/ref/NecklacePolynomial.html.
APA
Wolfram 语言. (2012). NecklacePolynomial. Wolfram 语言与系统参考资料中心. 追溯自 https://reference.wolfram.com/language/Combinatorica/ref/NecklacePolynomial.html 年