Question: Find (1) an NFA and (2) a regular expression for the following languages on {a,b} . L = {w : na(w)-nb(w) (mod 3) =0} L

 Find (1) an NFA and (2) a regular expression for the

Find (1) an NFA and (2) a regular expression for the following languages on {a,b} . L = {w : na(w)-nb(w) (mod 3) =0} L = {w : 2na(w) + 3n6(w) is even). Note: na(w) means the number of a's in the string w, and is defined in the same way

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!