For example, .
Define .
The number of states in a minimum state DFA for is __________ . (Answer in integer)
View worked solution
Answer: 6:6
To find the number of states in the minimum state DFA for , we analyze the possible values of .
Since the alphabet is , none of the symbols are divisible by . Since is a prime number, the product of any sequence of symbols from can never be . Thus, the possible values of belong to the multiplicative group .
Let us define the states of our DFA by the value of the current product modulo 7:
- Reachability: The start state corresponds to the product (since ). The symbol is a generator of the cyclic group because: Since we can generate all elements of using just the symbol , all states are reachable from the start state.
- Distinguishability: For any two distinct states , we can find a string such that . Since , it must be that . Thus, every pair of states is distinguishable.
Since all states are reachable and pairwise distinguishable, the minimum state DFA must have exactly 6 states.
Free practice · Your answers on this page are not saved.
