edited by
456 views
0 votes
0 votes
IF a number is divisible by say any integer X then what will be the minimum states required in DFA?
edited by

1 Answer

0 votes
0 votes
If any no. is divisible by X then no. of states in min. DFA = 2*X

e.g. If a's divisible by 2 and input (a,b) then no. of states in min. DFA =2*2=4

If 2 no. is given like a's divisible by M and b's is divisible by N no. of states in min. DFA=M*N

e.g. If a's divisible by 3 , b's is divisible by 2  and input (a,b) then no. of states in min. DFA =2*3=6

Related questions

1 votes
1 votes
2 answers
1
charul asked Oct 6, 2017
875 views
Any given transition diagram has an equivalenta) regular expressionb) NDFSMc) DFSMd) all of these
1 votes
1 votes
1 answer
2
charul asked Sep 29, 2017
929 views
If an input string w has n symbols and can be recognized by a mealy machine M1 and equivalent Moore machine M2 then number of output symbols by M1 and M2 are respectively...
0 votes
0 votes
0 answers
3