Counting & ProbabilityChallengeRecursion, Catalan Numbers & Generating Functions
Recursion, Catalan Numbers & Generating Functions · Challenge problem
How many strings of length using the letters , , contain neither nor as two consecutive letters?
How many strings of length using the letters , , contain neither nor as two consecutive letters?