Coloring necklace (source code)

= Coloring necklace
{wiki=Necklace_(combinatorics)}

A coloring necklace is an equivalence class of colorings of cyclically arranged positions under rotation. <Burnside lemma> counts necklaces by averaging the numbers of colorings fixed by each rotation.