Homework Help Question & Answers

# Help me for this question by using the properties of regular language, please stven L= {oll p is prime? is not regular....

Help me for this question by using the properties of regular language, please

stven L= {oll p is prime? is not regular. rove using the properties ofregu L' aIpl are not Prineinet egular. Usin, wepropertiestregudartangu呼es.NoT pumping-lemma FHank yuvery Muck!

#### Homework Answers

ReportAnswer #1

Proof by contradiction -

Let L' = {apbq | p,q are not prime} be a regular language.

Then, by concatenation L' = L1.L2 where L1 = {ap | p is not prime} and L2 = {bq | q is not prime}
L1 and L2 are regular languages. (concatenation property)
L1' = {ap | p is prime} therefore L1' is also regular but this contradicts the given statement that {ap | p is prime} is not regular. (complement property)

Hence, our assumption that {apbq | p,q are not prime} is a regular language is also wrong.
Hence, proved.
Comment for any issues and upvote(like) if satisfied.

Add Homework Help Answer
##### Add Answer of: Help me for this question by using the properties of regular language, please stven L= {oll p is prime? is not regular....
Your Answer: Your Name: What's your source?
Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
More Homework Help Questions Additional questions in this topic.