Question 5
Let $n$ be a positive integer. A $3\times3$ grid of square cells is colored using $n$ colors, with each cell receiving one color. Two colorings are considered the same if one is obtained from the other by a rotation about the center of the grid. How many pairwise different colorings are there?
Note: A coloring need not use all $n$ colors.
Note: A coloring need not use all $n$ colors.