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 least three squares are red. How many ways are there to color the five squares?
The answer is 15.