In a row of five squares, each square is to be colored either red, yellow, or blue, so that
no two consecutive squares have the same color, and at lest three of the squares are red.
How many ways are there to color the five squares?
Under the rules, reds can't be next to each other, so the three reds have to go in squares 1, 3, and 5.
Square 2 can have either yellow or blue. Each of those choices leaves only one color left for square 4.
So there are only 2 ways to color the five squares.
1st way Red Yellow Red Blue Red
2nd way Red Blue Red Yellow Red
.