1,262 views
2 votes
2 votes
no of state in minimal finite automata that accept the string from alphabet {a,b,c} where no of a is divisible by 2 or 3 and no of c is divisible by 6?? plzz explain!!!

3 Answers

0 votes
0 votes
It should be 6. Becz remainder of 2 will be 2 and remainder of 3 will be 3. So total no of combination will be 2*3=6. And c divisible by 6 means it should be divisible by both 2 and 3. So this can be incorporated in above 6 states
0 votes
0 votes
In any automata no of states for minimal is given by the modulus on it For ex  |a| mod n will have n states .
In This question there will be combination of |a| mod 2 and |a| mod 3 so therefore a common dead state.

Total states in a= 4.

Total states in c =6 (given).

Total states =4*6 =24.
0 votes
0 votes

if X is the set of States which count na(No of as) then possible states for counting a will be X={ (naMod20, naMod30),(naMod20,naMod31),(naMod20,naMod32), (naMod21,naMod30)} Here (Mod20,Mod30) means the state where naMod2=0 and naMod3=0, Similarly interpret  the others. Now Y is the set of states which count nc(No ofcs) then possible states will be. Y={ncMod60, ncMod61, .........,ncMod65} : ncMod60 means the state where ncMod6=0 similarly interpret the others.

Now the possible states for the machine will be : Z={X*Y} ={(namod20,namod30,ncMod60), ......(naMod21,naMod30,ncMod65).  so no of State will be |Z|=24.You can get some idea from the below image how the state could be look like. for X Set,

Related questions

2 votes
2 votes
1 answer
1
Purple asked Jan 28, 2016
13,902 views
Number of final state require to accept Φ in minimal finite automata.a) 1b) 2c) 3d) None of the mentioned
2 votes
2 votes
2 answers
3
worst_engineer asked Jan 14, 2016
562 views
Which of the following represent the minimum no. of states in DFA which accept all string of length atmost 5 ‘a’?6457Answer given in 5 , how possible ?atmost ...
0 votes
0 votes
2 answers
4
rohankrishan asked Jun 29, 2022
248 views
Example: 11110100000111 should be accepted. There are 6 zeros. 6 is divisble by 2 and 3. This machine required at least six states.