693 views

1 Answer

Best answer
13 votes
13 votes
$18 = 2 \times 9 = 2^{1} \times 9.$

For any integer $m = 2^k \times d$ where $d$ is odd, the minimal number of states in the DFA to recognize divisibility by $m$ is $k + d.$ So, answer here is $1+9 =10.$

Reference https://gateoverflow.in/blog/8651/minimum-number-states-dfa-accepting-binary-number-divisible
selected by
Answer:

Related questions

3 votes
3 votes
2 answers
1
gatecse asked Sep 29, 2020
475 views
The number of two state DFAs with a designated initial state and a designated final state that can be constructed over the alphabet set $\Sigma = \{0,1\}$ is _______
4 votes
4 votes
2 answers
2
3 votes
3 votes
3 answers
3
gatecse asked Sep 29, 2020
353 views
In the DFA (not necessarily minimal) for a regular language $L$ over $\Sigma = \{a, b, c,d\},$ the minimum number of outgoing edges for any state is _____
4 votes
4 votes
2 answers
4
gatecse asked Sep 29, 2020
335 views
The number of states, after the minimization of the below Deterministic Finite Automata is _______