Math, asked by abhay7315, 9 months ago

Given 3 characters a, b, c. Find the number of strings of length n that can be formed from these 3 characters. Given that : we can use a as many times as we want, b maximum once, and c maximum twice.

Answers

Answered by sibi61
0

Hi buddy

Here is your answer

Input : n = 3 Output : 19 Below strings follow given constraints:aaa aab aac aba abc aca acb acc baabac bca bcc caa cab cac cba cbc cca ccb Input : n = 4Output : 39

Answered by Bhawnasrivastava89
0

Answer:

hi buddy

here is your answer..

please click the brainlist answer..

Similar questions