Maths & numbers

Necklace colorings up to rotation calculator

Count cyclic bead colorings with rotations identified.

Your numbers

Calculated on your device. Your inputs aren’t sent to us.

Your result

Ready when you are

Enter your inputs and select Calculate.

Report an issue

Behind the numbers

How this calculation works

Count cyclic bead colorings with rotations identified.

THE FORMULAAverage colors^gcd(n,k) over all n rotations

A worked example

Four beads and two colors give (16+2+4+2)/4 = 6.

Good to know

Mirror reflections are treated as distinct unless rotation identifies them.

Read the result

Count cyclic bead colorings with rotations identified.

The primary result is labeled “Colorings”. Keep the input definitions in view when comparing this result with another method.

Try a related calculation

Mirror reflections are treated as distinct unless rotation identifies them.

For a related exercise, try the greatest common divisor.

A few questions, answered

How can I check the default inputs by hand?

Four beads and two colors give (16+2+4+2)/4 = 6.

Which rule does this calculator apply?

Average colors^gcd(n,k) over all n rotations

Find your calculator

Start typing to explore the library.