Using only the 26 standard English letters, construct a recurrence for the number of strings there are of length n that meet the following requirement: There is never a 'z' that comes before an 'a' in the string.
Examples of strings to count: alcatraz, amazon, xyzzy, induction
Examples of strings not to count: arizona, zynga, pizzeria
I've tried to take all possible strings of length n, 26^n, and subtract out the unwanted strings, but I can't figure out how to count the unwanted strings either.