in Theory of Computation edited by
963 views
1 vote
1 vote

How many number of $DFA$ states(minimal DFA) required which accepts the language $L=\left \{ a^{n}:n=\text{3 or n>= 2m for all m>= 1} \right \}$ ___________


Answer will be $3$ or $6?$

in Theory of Computation edited by
by
963 views

1 Answer

5 votes
5 votes
Best answer

Answer will be 3 assuming that $\Sigma = \{ a\}$ Or It will be $4$ if $\Sigma \supset \{ a \} $

The language $L = \Sigma^* - \{ \in,a\}$ 

If $\Sigma = \{ a\}$ then the Minimal DFA would look like the following :

If $\Sigma \supset \{ a \} $ then Minimal DFA will look like the above but with one Dead State extra. 

selected by

4 Comments

 yeah thanks I did not notice n>=2m(greater than sign), but if n=2m where  m>=1 or n=3 then minimal dfa would have 6 states right?

0
0
yes

$*$ represents the final state.

$\rightarrow A\overset{a}{\rightarrow}B\overset{a}{\rightarrow}C^*\overset{a}{\rightarrow}D^*\overset{a}{\rightarrow}E^*\overset{a}{\leftrightarrow}F$
1
1
thanks bro
0
0

Related questions