1,709 views
3 votes
3 votes
How many number of FA are possible with N states (Q1,Q1,........Qn) for input alphabet {1,2,3,........m} ,where Q1 is always initial state ?

2 Answers

4 votes
4 votes

entries in the table represent choices for a particular state and input

0 votes
0 votes

Input set is given. So, we have 3 parts of DFA which we can change: 

  1. Start state

  2. Transition Function

  3. 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

Related questions

2 votes
2 votes
2 answers
2
Tuhin Dutta asked Nov 30, 2017
1,071 views
What is the min no. of states required in DFA which accepts all strings starting with 1 and whose decimal value is divisible by 7?
1 votes
1 votes
1 answer
3
Prajwal Bhat asked Jan 17, 2017
1,359 views
No. of states in the DFA accepting the following set of strings are:( ( aa* + φ* )* (aa* + φ* ) + bb* + φ* φ + φ* )*Quite confusing to me. Share your approach!