Generate Necklaces
What Type?
(pick one)
Necklaces
Pre-necklaces
Lyndon words
Debruijn sequence
Bracelets
Unlabelled necklaces
Unlabelled Lyndon words
Necklaces
Lyndon words
(with no substring 0
z
.)
Basis for free Lie Algebra
Chord Diagrams
Input:
n
=
The number of beads
k
=
The number of colors 0..
k
-1.
d
=
The density (fixed number of non-zeroes)
m
=
The maximum number of non-zeroes (m > 0)
z
=
The number of zeros in the forbidden sequence 0
z
Output:
String representation
Colored beads
Questions??
Email
The wizard of COS
.
(Please note that the suffix XXXX must be removed from the preceeding email address.)
It was last updated Wednesday, 10-May-2006 10:32:13 PDT.
There have been 9616 visitors to this page since May 16, 2000 .
©Frank Ruskey, 1995-2003.