Question
1.) Let ={a, b}. Let F* be the set of all words over that end in the letter a and that do not contain immediate
1.) Let ={a, b}. Let F* be the set of all words over that end in the letter a and that do not contain immediate repetitions of b (there can be many occurrences of b, but they must be separated by at least one a) . For all n0 let Fn={wF | |w|=n}, i.e. the set of all words in the language F that are of length n.
Give a deterministic finite automaton accepting F
Give a regular expression describing F
Show that the cardinality of Fn is the n-th Fibonacci number: #Fn= fib(n), where fib(n) is defined through the recurrence:
fib(0) = 0
fib(1) = 1
fib(n) = fib(n1) + fib(n2) n2
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