Question: 1. Let S = {a,b}, define na, nb : 5* N (where N is the set of natural numbers) such that na(w) is the number

1. Let S = {a,b}, define na, nb : 5* N (where N is the set of natural numbers) such that na(w) is the number of a's in w and n(w) is the number of b's in w. Show that the following languages are not regular (a) L1 = {w : na(w) = n)(w)} (b) L2 = {w: na(w) # nh(w)} 2. Show that the language {0"10": n > 1} is not a regular language
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
