$L = \{ a^nb^m : m + n\text{ is divisible by }3 ; m,n\ge 0\}$. Is this language regular, and if so, what is the regular expression?
2026-04-02 09:48:46.1775123326
Is the given Language $L$ regular?
38 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
You should be able to design a finite state automaton that recognizes $L$; doing so proves that $L$ is regular even if you don’t see how to write a regular expression for it. Getting a regular expression for $L$ is perhaps just a little harder. HINT: You’ll a disjunction of three possibilities, one for $n$ divisible by $3$, one for $n\equiv1\pmod3$, and one for $n\equiv2\pmod3$.