Professional Documents
Culture Documents
Tutorial VI - Solutions
Ashwin Abraham
IIT Bombay
1 Question 1
2 Question 2
3 Question 3
4 Question 4
5 Question 5
1
We take this to exclude runs that terminated early on due to lack of transitions - if
these are to be included, then we first modify the NFA to include a trap state, and then
perform the same construction.
Ashwin Abraham 2023 10 / 13
Question 4
Since there are 2n distinct elements of S, which must all end up in distinct
states, any DFA accepting S must have at least 2n states.
Note that this language is indeed regular, as it is accepted by the following
NFA with n + 1 states:
0, 1
1 0 0 ...
0 1 2 3 n