Given we have $n \in \mathbb{N}$ different colors and a cube. Under the symmetry constraint, that every side must have the same color, there are $n$ ways to color the cube, just the number of colors in the palette. I also figured out, that if I have the restriction to color all but one side in color A and the remaining side in color B, there are $\frac{n!}{(n-2)!}=n\cdot(n-1)$ ways to color it.
Below I drew two cases that confuse me. The left one has a color C on top and bottom and every two adjacent sides of the hull are of the same color, either A or B. The right has a color B on top and a distinct color C on the bottom with a hull colored in A.
I figured, that I'd start again by $n!$ for all colorings and then divide by the degeneracy. How can I find the number of ways, these objects are the same under rotation? Is there a general way, so I could also solve other symmetry constraints?
It is related to this and this but not the same, since the symmetry constraints are the thing that confuses me. Also found this and this but I'm not sure how and whether that applies to my problem.
