search
Log In
2 votes
348 views
Regular Expression for the following Language,

$$\begin{align*} L = \left \{ a^{m}b^{n}\; | m \geq 1,n \geq 1,mn \geq 3 \right \} \end{align*}$$
in Theory of Computation
retagged by
348 views
0

i think this must be re

1 Answer

8 votes
 
Best answer
Minimal strings of above language are : $\color{green}{aaab, aabb}$ and $\color{green}{abbb}$ as minimal value of $m$ and $n$ is $1$, and also $mn \ge 3$.

Minimal pairs of $m$ and $n$ that satisfy above constraints are: $(m,n) = (1,3), (3,1)$ and $(2,2)$

So, RegExp would be : $\color{maroon}{aa^*bbbb^* + aaaa^*bb^* + aaa^*bbb^*}$

selected by
3
imp thing first..tell me how you coloured !!
1
Ohh! It's \color{green}{text to be coloured} between $$.
1
so its now working !
1

Yeah! (marker) for simple text.

0
@Debasish how do u do blue color without code?
1

with the help of this awesome magic ! :)

2
Along with the GATE syllabus, do we need to by heart this " \color{green}{text to be coloured} between $$." :)

Or any shortcut button on the LATeX.
2

don't know about it. But online editors can be a good start.

2

So, mcjoshi  is all grown up now..using all links..colours !! :) :)

0

anyway..will it be $\large\color{green}{\text{min dfa}}$ for it ??

0
I accepted the min string first..and then merge states..better approach?
0
grown up !! Still a lot to learn from you :)
1

Guys 

After reading all ur comments on the amount of interest you are taking on editor instead of the question 

I think we need to change the name of the forum from gate Overflow to online editor Overflow 

 
0
Hey bhargv..there is a min dfa in the comment..any comment on that ?

Related questions

1 vote
2 answers
2
729 views
Given two Regular expressions are equal or not ? 1) (1+01*0)* 2) 1*(01*0)* 1* Give proper explanation also.
asked Sep 27, 2018 in Theory of Computation Ashish Roy 1 729 views
1 vote
2 answers
4
...