The edges of a square are to be colored either red, blue, yellow, pink, or black. Each side of the square may only have one color, but a color may color many sides. How many different ways are there to color the square if two ways that can obtained from each other by rotation are identical?
So, it seems to simply be a variation of a circular permutation problem. The only real complication is the fact that there are 5 colors to choose from in a 4 position arrangement.
My solution to this is $$3!(5C4)+\frac{3!(5C3)}{2!}+\frac{3!(5C2)}{2!2!}+\frac{3!(5C2)}{3!}+5=90$$
The denominators account for the repetition of colors to fill all 4 sides when only 3 or 2 unique colors are selected.
While this was my initial solution, the answer given to us turned out to be 165. How is this?

