2001 AIME I Problem 14
Problem 14 of 15HarderCombinatorics
A mail carrier delivers mail to the nineteen houses on the east side of Elm Street. The carrier notices that no two adjacent houses ever get mail on the same day, but that there are never more than two houses in a row that get no mail on the same day. How many different patterns of mail delivery are possible?
Your answer
Integer from 0 to 999
Show solution
Solution
Write for a house that gets mail and for one that does not. Valid patterns are binary strings of length with no two consecutive s and no three consecutive s. Let count valid length- strings ending in in exactly one and in exactly two s. A may follow either kind of -ending, a single may follow a and a second may follow a single
Starting from and iterating, the totals run
For the count is
Tagged: recursive counting · arrangements with restrictions