• edited by
2,932 views
1 1 vote

Is Language L = {0(n+m)  1(k+l) | m = l, and m,n,k,l  ≥  1 } a regular language ? explain

1 Answer

Best answer
6 6 votes

yes, it is Regular Language.

0(n+m)  1(k+l) = 0P . 1Q .

Note that there is a relation Between m and l but there is no relation between P and Q, due to n and k

therefore given language is regular.

If you didn't get this, give a string which is in the language, i will accept using FA, and give a string which is not in the language, i will reject it by FA and check this FA

i hope you are thinking let l=1, m=5 and l=3 and k=1 ===> 0 00000 111 1

i converted it as 00000 0 1 111 ===> n= 5, m=1,l=1,k=3 ==> m=l and l,m,n,k ≥ 1

• edited by
Position:
Show:

Related questions

4 4 votes
3 answers 3 answers
6.9k
6.9k views
AIkiran01 asked Dec 12, 2018
6,863 views
L={a^m b^n | m-n=even} Is this language a regular language?
2 2 votes
2 answers 2 answers
1.7k
1.7k views
Na462 asked Sep 13, 2018
1,683 views
Is the given Grammer represent a regular language ?S->AaBA->aC | epsilonB->aB | bB | epsilonC->aCb | epsilon
0 0 votes
0 0 answers
917
917 views
!KARAN asked Dec 8, 2018
917 views
For $\text{A, B} \subseteq \Sigma^*,$ define$A/B = \{x \in \Sigma^* | \exists y \in B , xy \in A \}$If L is a CFL and R is regular, then L/R isRegularCFL but not regula...
2 2 votes
2 2 answers
1.6k
1.6k views
himgta asked Jul 13, 2018
1,603 views
L = {anbk : | n – k | = 2}L is regular or not? Please provide explanation.