Question

Prove that the following language is regular or explain why it is nonregular: L = {amb (m is odd and n is even) OR (m is even and n is odd))

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Now considering the problem of showing that it is given

a^mb^n such that here we can prove that it is regular and it is not nonregular

So by proof: n+m=even,

Even+Even=Even

Odd+Odd=Even

(aa)^*(bb)^*+(aa)^*.a(bb)^*.b

Then n+m =Odd;(aa)^*(bb)^*b+(aa)^*a(bb)^*b

Now we proof that it is regular and it s not nonregular

Add a comment
Know the answer?
Add Answer to:
Prove that the following language is regular or explain why it is nonregular: L = {amb"...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT