Possible DFA sizes for a six-state NFA
Finite Automata

Answer & solution
Official answer: B, D
Givens and goal
An NFA has six states over a finite alphabet. Which values cannot be the number of states of its minimal equivalent DFA: A 32, B 65, C 1, D 128?
Approach
Use subset construction for an upper bound and explicit languages to verify the offered feasible values.
Step-by-step solution
1. Subset construction represents each DFA state by a subset of the six NFA states. There are at most 26 = 64 such subsets, including the empty subset. Epsilon closures, if applicable, do not increase this bound.
2. Removing unreachable states and minimizing can only reduce that number. A minimal equivalent DFA therefore cannot require 65 or 128 states, establishing B and D.
3. One state is possible: a six-state NFA can accept every string. For an example with all six states reachable, use a cycle of six accepting states over a one-letter alphabet. Its language is universal and its minimal DFA has one accepting state.
4. To check that 32 is genuinely possible, use the binary language whose fifth symbol from the end is 1. A six-state NFA has one start state that loops on 0 and 1, can nondeterministically guess a 1 as that fifth-from-last symbol, and then traverses four more symbol transitions to an accepting state. A 32-state DFA stores the last five symbols, initially padded with zeros. Any distinct five-bit histories differ in some position j; appending j−1 zeros makes that position the fifth symbol from the end. The two resulting strings have different acceptance outcomes. Thus all 32 histories are distinguishable and the minimal DFA has exactly 32 states.
Common error: An upper bound alone rules out the oversized choices; an explicit witness is useful to verify that the smaller offered values really are possible.
Subset-construction interpretation: after reading a prefix, an NFA may be in several states at once. A deterministic simulator records exactly that reachable subset. With six possible states, each independently present or absent, there are 64 possible records; different prefixes need not reach all of them. This is why 64 is an upper bound, not a claim that every six-state NFA requires 64 DFA states.


