Description Usage Arguments Value Author(s)
Compute the number of necklaces of length n
formed from an
alphabet with k
symbols. See
https://en.wikipedia.org/wiki/Necklace_(combinatorics).
1 | necklace(k, n)
|
k |
Number of symbols in the alphabet |
n |
Length of string |
Number of necklaces
David Sterratt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.