recategorized by
2,824 views
0 votes
0 votes
someone can help me found the regular expression of

L={σ×w, σϵ∑={a, b},#σ(w)mod 3 = 1}

 

tnx.
recategorized by

1 Answer

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)