0 votes 0 votes someone can help me found the regular expression of L={σ×w, σϵ∑={a, b},#σ(w)mod 3 = 1} tnx. Theory of Computation regular-expression + – bushez asked Dec 30, 2018 • recategorized Dec 30, 2018 by MiNiPanda bushez 2.9k views answer comment Share Follow See all 3 Comments See all 3 3 Comments reply Shaik Masthan commented Dec 30, 2018 reply Follow Share can you write your language clearly, i didn't understood your language, you may enumerate the strings of your language. 0 votes 0 votes bushez commented Dec 30, 2018 reply Follow Share i need to find the regular expression of all the a,b that with give me mod 3 = 1 like : 1,4,7,10,,,,,,,, (a+b) + (bb + aa)(ab+ba)..... 0 votes 0 votes Shaik Masthan commented Dec 30, 2018 reply Follow Share then check (a+b).[ (a+b).(a+b).(a+b)]* 1 votes 1 votes Please log in or register to add a comment.
0 votes 0 votes look its always better that you should form the automata first then reduce it to the regex. further as pointed out the regex will be { ( a+b) (a+b) (a+b) }* (a+b) rballiwal answered Dec 30, 2018 rballiwal comment Share Follow See 1 comment See all 1 1 comment reply bushez commented Dec 30, 2018 reply Follow Share thank you both all good 0 votes 0 votes Please log in or register to add a comment.