hws/hw02.tex
changeset 404 245d302791c7
parent 401 5d85dc9779b1
child 444 3056a4c071b0
equal deleted inserted replaced
403:564f7584eff1 404:245d302791c7
    98 
    98 
    99       Find out why?
    99       Find out why?
   100 
   100 
   101 \item Give a regular expressions that can recognise all
   101 \item Give a regular expressions that can recognise all
   102       strings from the language $\{a^n\;|\;\exists k.\; n = 3 k
   102       strings from the language $\{a^n\;|\;\exists k.\; n = 3 k
   103       + 1 \}$. \end{enumerate}
   103       + 1 \}$. 
       
   104       
       
   105 \item Give a regular expression that can recognise an odd 
       
   106 number of $a$s or an even number of $b$s.     
       
   107       
       
   108 \end{enumerate}
   104 
   109 
   105 \end{document}
   110 \end{document}
   106 
   111 
   107 %%% Local Variables: 
   112 %%% Local Variables: 
   108 %%% mode: latex
   113 %%% mode: latex