Consider a $2000 \times 2000$ matrix which is to be filled with $15$ colors. Find the number of ways to color the matrix. Two colorings are same if rotating one of them along the axis perpendicular to the plane (in multiples of 90 degrees) gives the other. Find the number of ways to color it.
Can anyone help me? I have no idea how to solve this. I could only solve the problem when there are two and three colors ( for only small matrices such as 3*3 and 4*4 ,i did it by hand), but more than that I couldn't.
Working with a $2N\times 2N$ matrix, we have by inspection the cycle index
$$Z(M_{2N}) = \frac{1}{4} (a_1^{4N^2} + 2 a_4^{N^2} + a_2^{2N^2}).$$
Therefore we get for colorings using at most $C$ colors the closed form by Burnside
$$\frac{1}{4} (C^{4N^2} + 2 C^{N^2} + C^{2N^2}).$$
This gives for two colors the sequence
$$6, 16456, 17179934976, 4611686019501162496, \\ 316912650057057631849169289216,\ldots $$
which points to OEIS A047937, where these data are confirmed.
For colorings using exactly $C$ colors we find
$$\frac{C!}{4} \left({4N^2\brace C} + 2 {N^2\brace C} + {2N^2\brace C}\right).$$
We get for a four by four board starting with exactly one color the sequence
$$1, 16454, 10713996, 1030803624, 32885748000, 492286828320, \\ 4135172116320, 21588981664320,\ldots$$
This sequence is finite as we can place at most sixteen colors.
In the question being asked we have $N=1000$ and $C=15.$