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.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"n": "<n>",
"k": "<k>"
},
"name": "necklace_count"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| k | Yes | Number of colors (1-1000) | |
| n | Yes | Length (1-1000) |