Input set is given. So, we have 3 parts of DFA which we can change:
-
Start state
-
Transition Function
-
Final state
Start state can be chosen as any one among N in N ways.
Transition function is from Q ⨯ Z to Q, where Q is the set of states and Z is the alphabet state. |Q| = n, |Z| = m. So, number of possible transition functions = Q(Q * Z) = nnm
Final state can be any subset of the set of states including empty set. With n states, we can have 2n possible sub states.
we can have the formula n × (n^(nm)) × 2n=(n^(mn+1)) × 2n