Determine the number of eight-letter strings of As, Bs, and Cs with the property that every C in the string is next to another C. For example, ABCBACBC should not be counted, but ABBCCAAB and CCCBACCB should.
I'm not quite sure where to start. I've tried using cases where there's 0 to 8 C's but it starts to get really extensive.. some people have told me to try getting a recursion formula but I don't know how to create one for this kind of question...
Question is from a Problem Solving course so there must be some intuitive way to solve this but I'm not seeing it
I'm not quite sure where to start. I've tried using cases where there's 0 to 8 C's but it starts to get really extensive.. some people have told me to try getting a recursion formula but I don't know how to create one for this kind of question...
Question is from a Problem Solving course so there must be some intuitive way to solve this but I'm not seeing it