Menu

Simple Language Three Letters B C Combination S B S C S Forms Word Condition Word Contain Q43900345

In a simple language, there are only three letters: A, B and C. Any combination of As, Bs and Cs forms a word, with the co

In a simple language, there are only three letters: A, B and C. Any combination of A’s, B’s and C’s forms a word, with the condition that no word can contain “BC” (that is, there can never be a C immediately after a B). Let f(n) be the number of words of length n. (a) Determine the values of f(1), f(2) and f(3). (b) If n > 2, explain why the number of words of length n that end with a B is equal to f(n – 1). (c) Determine, with justification, a recursive formula for f(n). (d) Determine the value of f(10). Show transcribed image text In a simple language, there are only three letters: A, B and C. Any combination of A’s, B’s and C’s forms a word, with the condition that no word can contain “BC” (that is, there can never be a C immediately after a B). Let f(n) be the number of words of length n. (a) Determine the values of f(1), f(2) and f(3). (b) If n > 2, explain why the number of words of length n that end with a B is equal to f(n – 1). (c) Determine, with justification, a recursive formula for f(n). (d) Determine the value of f(10).

Expert Answer


Answer to In a simple language, there are only three letters: A, B and C. Any combination of A’s, B’s and C’s forms a word, with t…

OR