[ Tasks with constraints $]$

A New Year's garland hanging along the school corridor consists of red and blue bulbs. Next to each red bulb, there is definitely a blue one. What is the maximum number of red bulbs that can be in this garland if there are 50 bulbs in total?

#
Let's calculate the minimum number of blue bulbs that can be in the garland. We can assume that the first bulb is red. Since there must be a blue bulb next to each red bulb, three red bulbs cannot go in a row. Therefore, among any three consecutive bulbs, at least one bulb must be blue. Then, among the first 48 bulbs, there will be no fewer than $48: 3=16$ blue bulbs. Both bulbs numbered 49 and 50 cannot be red. Therefore, there must be no fewer than 17 blue bulbs in the garland. Such a case is possible: if the bulbs numbered $2,5,8,11, \ldots, 50$ are blue, and the rest are red, then there will be 33 red bulbs in the garland.

## Answer

33 bulbs.