Wiles county contains eight townships as shown on the map. If there are four colors available, in how many ways can the map be colored so that each township is colored with one color and no two townships that share a border are colored with same color?
This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try
refreshing the page, (b) enabling javascript if it is disabled on your browser and,
finally, (c)
loading the
non-javascript version of this page
. We're sorry about the hassle.
Label the townships as shown. There are four choices for colors for township A , and three choices for colors for township B .
If townships C and D have the same color, then there are two choices for the color of C and D , and there are two choices for colors for each of the remaining townships E , F , G and H .
If townships C and D have different colors, then there are two choices for the color of C and one choice for a color D .
Since B , C and D will have different colors, there is only one choice of color for township E . Then there are two choices for colors for each of the remaining townships F , G , and H .
Thus, the total number of ways to color the 8 townships is: ( 4 × 3 × 2 × 2 × 2 × 2 × 2 ) + ( 4 × 3 × 2 × 1 × 2 × 2 × 2 ) = 5 7 6 .