[Math] How to count the number of colored combinations in a set of regions

combinatoricsdiscrete mathematics

Let me first start out by saying as you might have guessed, this is a homework problem. Therefore I am not looking for an answer to the question. I am looking for help in how to analyze it (My textbook is horrid).

I have a grid of 9 squares surrounded by a circle.
I can use three colors to color each region with no region touching any other region with the same color (corners don't count). **`

I am asked to find the number of
possible different colorings.

I drew a set of nodes with lines connecting neighboring regions, but I still have no idea how to figure out the number of combinations.

I also made a guess of three (which I know is wrong) since you can color the regions once with the three colors then map each color to a different one two times after the first coloring.

alt text

No blue is touching any other blue regions, no white is touching any other white regions, no red is touching any other red regions.

Best Answer

I'm not sure about this, maybe I don't understand the problem, but here it goes. If you colour the region outside the grid A, the 8 external cells of the grid must be coloured alternately with B and C, and the one in the center, with A. Thus you have two possible colourings. Same thing if you colour the region outside B, or C. Thus the total number of colourings would be 6.

Update Indeed, there are more. If the external cells are coloured B and C, then the one in the centre may be A, and either B or C, so there are 12 different colourings now.

Related Question