If it rains on a given day, it will rain on the next day too, unless the day previous to the given day was rainy, in which case, the next day will be clear. If a given day is clear, the next day will be clear unless the two days previous to the given day were clear days, in which the next day will be rainy. In a year that has 365 days, how many clear days will there be?

Respuesta :

Step-by-step explanation:

Let the 1st day of the year be Rainy.

Following our logic, we have:

2nd day = Rainy,

3rd day = Sunny,

4th day = Sunny,

5th day = Sunny,

and the cycle repeats. (=> R => R => S => S => S =>)

Since in a cycle of 5 days there are 3 clear days, there will be 365 * 3/5 = 219 clear days.