necklace_count
Counts distinct necklaces and bracelets using Burnside's lemma from length and color count to solve combinatorial symmetry counting problems.
Instructions
Count distinct necklaces and bracelets using Burnside's lemma.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | Number of colors (1-1000) | |
| n | Yes | Length (1-1000) |