00:01
Here in this question we have to find the recurrence relation for the given data.
00:06
So mn is number of all possible words of length n.
00:19
So if words start with crb then the length will be equal to n -1.
00:36
If the word starts with a then followed by b then the length will be equal to n -2.
00:57
So using this we can find the recurrence relation.
01:01
So that is the recurrence relation mn is equal to 2an -1 plus an -2.
01:22
So this will be our recurrence relation.
01:27
So let us take the above recurrence relation as an is equal to 2an -1 plus an -2.
01:35
So solving this recursively we can write a1 is equal to 3 and a2 is equal to 7.
01:43
So if n greater than 2, so there are three possible ways that is ab or br.
01:57
So here the recurrence relation will be an is equal to 2an -1 plus an -2 with a equal to 3 and a equal to 7...