• retagged by
1,702 views
2 2 votes

please explain answer given is 5

1 Answer

0 0 votes

 

lets us suppose we have to make DFA of whose integer equivalent is divisible by  x

then write the x in the form of  $2^{k}*m$ where m is odd no

then the minimum no of state in the DFA  will be k+m

now we will understand  it by using examples  

ex1    divisible by 16 

then write 16 in form of  $2^{k}*m$  ( $2^{4}*1$)  so 4+1=5 answer

ex2    divisible by 12

then write 12 in form of  $2^{k}*m$  ( $2^{2}*3$)  so 2+3=5 answer

ex3    divisible by 18

then write 18 in form of  $2^{k}*m$  ( $2^{1}*9$)  so 1+9=10 answer

 

Position:
Show:

Related questions

9 9 votes
3 answers 3 answers
2.1k
2.1k views
gatecse asked Feb 23
2,088 views
Let $M$ be a nondeterministic finite automaton (NFA) with $6$ states over a finite alphabet.Which of the following options CANNOT be the number of states in the minimal d...
44 44 votes
6 6 answers
17.3k
17.3k views
admin asked Feb 27, 2025
17,320 views
Let $\Sigma=\{1,2,3,4\}$. For $x \in \Sigma^{*}$, let $\operatorname{prod}(x)$ be the product of symbols in $x$ modulo 7. We take $\operatorname{prod}(\epsilon)=1$, where...
0 0 votes
1 1 answer
335
335 views
admin asked Oct 10, 2024
335 views
 Let us consider the language $\left\{\epsilon, a, a^{2}, \ldots, a^{10}\right\}$, where $\epsilon$ denotes the empty string, and $a^{n}$ denotes $\underbrace{a a \cdots ...
0 0 votes
0 0 answers
284
284 views
sup739 asked Aug 12, 2024
284 views
option a) 2 b) 3 c) 4 d) 5How is option (b) - 3 correct, and is there any trick for these kinds of questions to get the answer quickly?