I'm trying to derive a general formula for the number of distinguishable ways to paint the sides regular $n-$gon using $m$ colors.
Two rules:
We don't have to use all of the $m$ colors and we have to account for rotations.
My progress:
We have to divide whatever we end up getting by $n$ to account for rotations. But from there I can't see a good next step. I know how to solve say, a square with 2 colors, but when I take the same approach for $n$ sides and $m$ colors, I get lost in recursion and inclusion-exclusion.
Any takers?