$\{a^{n^2}b^n|n\ge 0\}$
Is there any way to solve it beyond Pumping lemma ?
2026-03-27 03:59:46.1774583986
Prove that language is non-context free $L=\{a^{n^2}b^n|n\ge 0\}$
40 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
1
The pumping lemma will work. Show that if $r,s\ge 0$, and at least one of $r$ and $s$ is positive, then there is always a $k\ge 0$ such that
$$p^2+(k-1)r\ne\big(p+(k-1)s\big)^2\;.$$