Design DFA accepting binary strings divisible by a number ‘n’
Below, I have written an answer for n equals to 5, but you can apply same approach to draw DFAs for any value of n and ‘any positional number system’ e.g binary, ternary… First lean the term ‘Complete DFA’, A DFA defined on complete domain in δ:Q × Σ→Q is called ‘Complete DFA’. In other … Read more