What is the language {a^m b^(m+n) | m,n >= 1} ? Explain.
(A) regular
(B) context-free but not regular
(C) context sensitive but not context free
(D) type-0 but not context sensitive
Expert's answer
Answer on Question#38165 – Math - Other
Language {ambm+n∣m,n≤1} is a context-free language since it can be represented by pushdown automata, but it is not regular since ΔFA can't count the no. of a′s and b′s.