How this calculation works
A bracelet has no distinguished starting bead or clockwise orientation. Two bead strings therefore describe the same bracelet when a rotation or reflection makes them agree. Colors remain labeled: red is not interchangeable with blue. Each color can be used any number of times, and not every available color has to appear. Burnside’s lemma counts the equivalence classes by averaging fixed colorings over the dihedral group.
Bracelets = [Σ(r=0..n−1) k^gcd(n,r) + reflection fixed-coloring sum] / (2n).A worked example
For six beads and two colors, rotational symmetries fix 84 colorings in total. The six reflections contribute another 72: three have four cycles and three have three cycles. Averaging over twelve group elements gives (84 + 72)/12 = 13 bracelets. Rotation alone gives 84/6 = 14 necklaces, so reflection merges one mirror-related pair.
Good to know
This counts unrestricted color reuse on a fixed circular set of positions. Prescribed color inventories, adjacent-color restrictions, interchangeable color names and open chains are not modeled. Limits are 500 bead positions and 1,000 available colors. Integer counts are exact; the rotation table displays its first 25 shifts at most.
Reference: Purdue — Burnside and Pólya counting (opens in a new tab) ↗
Why dividing all strings by 2n gives the wrong answer
Six binary positions have 2⁶ = 64 labeled strings. Dividing 64 by twelve would not even give an integer. The difficulty is that symmetric colorings have fewer distinct representations than asymmetric ones. An all-red bracelet looks the same after every rotation and reflection, while a less symmetric coloring changes under many of them. Equivalence classes do not all have the same size.
Burnside averaging corrects this unequal-size problem. A rotation by r positions splits the beads into gcd(n, r) cycles. Every bead in a cycle must share one color for the coloring to remain fixed, yielding k raised to the number of cycles. Summing those fixed-coloring counts and including the reflections produces an integer orbit count.
The permutations calculator counts arrangements of distinguishable items. Bracelet counting additionally identifies arrangements related by rotation or reflection.
Odd and even lengths have different reflection types
With odd n, every reflection axis passes through one bead and the opposite gap. It has (n + 1)/2 cycles, so the reflection sum is n × k^((n+1)/2). With even n, half the axes pass through opposite beads and half pass through opposite gaps. Their cycle counts are n/2 + 1 and n/2, respectively. The default six-bead example uses both kinds.
Rotation-only necklaces remain useful as a comparison, and the result includes that count. It can never be smaller than the bracelet count because adding reflection can merge classes but cannot split them. They are sometimes equal, especially for small inputs; equality does not mean the definitions are interchangeable. The existing unlabeled-necklace page identifies rotations only. This page adds a genuinely different symmetry relation rather than renaming that calculation.
A few questions, answered
Must every color be used?
No. Available colors may be reused freely or left unused. Requiring exact quantities of each color is a different counting problem.
Does one available color always give one bracelet?
Yes. Every position then has the same color, so every rotation and reflection fixes the only coloring.