Question
(a) How many length 3 strings over {a, b} are there? (b) Let k 0. How many length-k strings over {a, b} are there? Simplify
(a) How many length 3 strings over {a, b} are there?
(b) Let k 0. How many length-k strings over {a, b} are there? Simplify your answer as much as possible.
(c) Let k 0. How many length-k strings over {a, b} that start with b are there? Simplify your answer as much as possible.
(d) Let be an alphabet with || = d, and let k 0. How many length-k strings over are there? Simplify your answer as much as possible.
(e) Let be an alphabet with || = d, and let k 0. Prove by mathematical induction that the number of strings over of length less than or equal to k is equal to dk+11. Use your answer from (d) when formulating the problem.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started