P401: Enumeration of all $k$-color necklaces with $n$ beads

P401: Enumeration of all $k$-color necklaces with $n$ beads
Input:
Integers $k$ and $n$.
Output:
All $k$-color necklaces with $n$ beads
Complexity:
Comment:
Reference:
[Fredricksen1978a] (Bibtex)