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. How many ways are there to color the five squares, if there must be at least three yellow squares?
There cannot be more than 3 yelllow squares
Four ways
Y B Y R Y
Y R Y B Y
Y B Y B Y
Y R Y R Y