Which of the following languages are regular. Prove (by providing a regular expression) or disprove.
a. L1 = {ai bj ck dl | (i + j)mod 2 = (k + l)mod 2 , i, j, k, l ≥ 0}
b. L2 = {ai bj ck dl | (i + j) = (k + l), i, j, k, l ≥ 0}
Which of the following languages are regular. Prove (by providing a regular expression) or disprove. a....
Use the Pumping Lemma to show that the following languages are not regular. (a){apaq | for all integers p and q where q is a prime number and p is not prime}. (b) {ai bj || i − j | = 3} (c) {ai bj ck | i = j or j 6= k} (d) {aibj | i/j is an integer}
disprove that the given lan 4. [20 Points For each of the following languages, prove or guage is regular (a) L1www e {a,b}*} {w w E {a, b}* and no two b's in w have odd number of a's in between}. (b) L2 (c) L3 a" (d) L4 vw n = 3k, for k > 0}. a, b}*} disprove that the given lan 4. [20 Points For each of the following languages, prove or guage is regular (a) L1www e...
Given sigma={a, b} And languages L1, L2 contain in sigma^* I need to prove/disprove the following claim:
2. If L1 and L2 are regular languages, which of the following are regular languages? Provide justification for your answers. a. L1 U L2 b. L1L2 c. L1 n L2
Given sigma={a, b} And languages L1, L2 contain in sigma^* I need to prove/disprove the following claim:
Give context-free grammars that generate the following languages. { anw | w in { a, b }*, |w| = 2n, n > 0 } { an bm | n, m ≥ 0; n < 2m } { anx an y | n > 0, x,y in { a, b }* } { ai bj ck | i, j, k ≥ 0; j = i + k }
1. (Non-regular languages) Prove that the following languages are not regular. You may use the pumping lemma and the closure of the class of regular languages under union, intersection, complement, and reverse (b) L2 = { w | w ∈ {0, 1}* is not a palindrome }. A palindrome is a string that reads the same forward and backward
Show that the following languages are not regular. Parts(b) and (c) 5. Prove that the following languages are not regular: (a) L = {amb’ak: k sn +1}. (b) L = {a” b'ak : kun +1}. (c) L = {a"b'ak: n=1 or 1 # k}.
Use the pumping lemma for regular languages to carefully prove that the language { aibjck : 0≤ i < j < k } is not regular.
Prove that each of the following languages is not regular A) L= {a^n b^m c^k : k = 2n + 3m and n, m, k ≥ 0} B) L = {a^n : n is a power of 5}