WORKED DEFAULT
Check the calculation with the default inputs
For length 6 over two colors, (64-8-4+2)/6 gives 9 primitive necklaces.
- List divisors1,2,3,6
- Apply Mobius sum64-8-4+2
- Divide by length9
ROTATION ORBITS / FUNDAMENTAL PERIOD
Count color necklaces whose smallest rotational period equals the supplied length using Mobius inversion.
METHOD / WORKED EXAMPLE
Count color necklaces whose smallest rotational period equals the supplied length using Mobius inversion. The result panel keeps the defining recurrence or counting identity visible so the output can be checked independently.
WORKED DEFAULT
For length 6 over two colors, (64-8-4+2)/6 gives 9 primitive necklaces.
READ THE RESULT
Periodic necklaces copied from a shorter block are excluded even though they appear in the all-necklace count.
ASSUMPTIONS AND LIMITS
Reflections remain distinct and would require a primitive bracelet convention.
COMMON QUESTIONS
Enumerate divisors of n, apply the Mobius-weighted power sum, and divide by n to remove rotational starting points. The indexing, equivalence relation, and counted objects are stated in the method and worked example. Inputs must be whole numbers inside the displayed domain; the page never rounds a decimal into an accepted index. This ties the answer to one explicit convention instead of silently mixing sequence offsets or combinatorial interpretations.
Periodic necklaces copied from a shorter block are excluded even though they appear in the all-necklace count. Small boundary cases and the displayed recurrence or identity provide useful independent checks. Recompute the displayed recurrence or closed form with the same inputs and compare its previous terms or counting factors. That check supports this bounded result, but it does not transfer the interpretation to a different sequence or counting object.
Reflections remain distinct and would require a primitive bracelet convention. The implementation uses integer arithmetic internally and refuses results beyond the safe display boundary. Combinatorial and recurrence values can grow rapidly even when the inputs look small. The conservative cap prevents browser stalls and avoids presenting an unsafe floating-point integer as exact; larger work needs arbitrary-precision software and independent resource controls.
RELATED TOOLS
Use boundary
Enumerate divisors of n, apply the Mobius-weighted power sum, and divide by n to remove rotational starting points.
L(n,k)=(1/n) sum_{d|n} mu(d) k^(n/d).