in Theory of Computation
532 views
0 votes
0 votes
5. For n ≥ 0, Ln = {a^i b^k  |  i ≥ n, 0 < k < i}  
(a) Ln is regular, independent of value of n

(b) Ln is not regular, independent of value of n

(c) Ln is regular only for small value of n

(d) None of above
in Theory of Computation
by
532 views

2 Comments

is the answer b?
0
0
Yes, but how can it be independent of n? As number of a must be greater than equal to number of n..!
0
0

1 Answer

2 votes
2 votes
Here, the question is not about if the language is dependent on $n$ or not.

It is asking if it is regular or not.
The answer to that is: no it is not regular.

The next question it asks is,

Does being regular or non-regular depend on $n$?
The answer is: no, it is independent ie let $n$ be whatever, the language remains to be non-regular.

1 comment

Thanks man.. :)

Now please help me in that merge sort  question :)
0
0

Related questions