Gorgeous grids

Level pending

Aldaris has cans of paint in 8 different colors.He wants to paint the four unit squares of a 2 x 2 board in such a way that the neighboring squares are painted in different colors .Determine the number of coloring schemes that Aldaris can make.Two coloring schemes are said to be the same if one can be obtained from the other by rotation.


The answer is 616.

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.

2 solutions

For the first square, we have 8 8 options. For the two neighbors we have 7 7 choices for each, so we have 49 49 pairs of the two neighbors of the first color. What happens with the last color? There are two cases:

Case 1: The neighbors are different. This is possible in 7 6 = 42 7*6 = 42 ways. In this case, as both are different, for the last square we have 6 6 options. So completing this case we have 8 42 6 = 2016 8\cdot 42\cdot 6 = 2016 .

Case 2: The neighbors are the same. This is possible in 7 7 ways. Similarly, 8 7 7 = 392 8\cdot 7\cdot 7 = 392 .

So in total we have 2408 2408 different boards ignoring the condition of the rotation .

Now let's discover which ones are repeated. Note that every board that we could construct, excepting one type that I'll show below, takes a different color order, or orientation, when you rotate it the 4 4 times. The special case is the arrangement of the form:

a b b a \begin{matrix} a & b \\ b & a \end{matrix}

It's clear enough that there are 56 56 of those cases. Also, they have only 2 2 different orientations. Now it's convenient to separate 2408 2408 into 2352 + 56 2352 + 56 . For the other 2352 2352 there are 4 4 possible orientations, and for the 56 56 , two orientations. This takes us to the answer which is 2352 4 + 56 2 = 588 + 28 = 616 \frac {2352}{4} + \frac {56}{2} = 588 + 28 = \boxed {616} .

Caleb Stanford
Jan 30, 2014
  • If all four colors are different, there are ( 8 4 ) {8 \choose 4} ways to choose the colors, and 3 ! = 6 3! = 6 ways to order them.

  • If there are three different colors, then we must have one color twice on the diagonal, and the other two colors in the other two spots. There are ( 8 1 ) ( 7 2 ) {8 \choose 1}{7 \choose 2} ways to choose the colors and just 1 1 way to order them.

  • If there are just two different colors, then we must have one color on one diagonal, and one on the other. There are ( 8 2 ) {8 \choose 2} ways to choose two colors and just 1 1 way to order them.

The answer is therefore ( 8 4 ) 6 + ( 8 1 ) ( 7 2 ) 1 + ( 8 2 ) 1 = 616 {8 \choose 4} \cdot 6 + {8 \choose 1}{7 \choose 2} \cdot 1 + {8 \choose 2} \cdot 1 = \boxed{616}

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...