## Task 1 - 310521

Blue, yellow, and red cubes are to be placed in a row. The first cube in the row should be blue, the second should be yellow. In the row, no two cubes of the same color should be next to each other, and the color sequence of any two adjacent cubes should not repeat.

a) Give an example of a row that meets these conditions and cannot be extended by adding another cube!

b) There are a total of four such rows; they are not all the same length. Name all those that have the maximum possible length!

No justification is required.
All rows, of which one is to be named in a), are:

bgbrb, bgbrgrb, bgrbrgb, bgrgbrb.

To be named in b) are the last three, as they have the largest possible length.