Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 International Workshops Gdm Benchmarx Mcis Snsmw Diew Udm Tsukuba Japan April 2010 Revised Selected Papers Lncs 6193

Authors: Masatoshi Yoshikawa ,Xiaofeng Meng ,Takayuki Yumoto ,Qiang Ma ,Lifeng Sun ,Chiemi Watanabe

2010th Edition

3642145884, 978-3642145889

More Books

Students also viewed these Databases questions