We have a language $$ L = \{a^n b^m \mid 2n + 3m \le 1000 \} $$
Is this language regular?
I'm trying to disprove this using the Pumping Lemma, but it didn't work.
assume I say x = $x=a^{h}$ and $y=a^{t}$ and $z =a^{n-t-h}b^m$
if I say i = 0
everything is okay because $L =a^{n-t}b^m$ and 2(n-t) + 3m <= 1000
if I say i = 2
$L =a^{n+t}b^m$ and 2(n+t) + 3m <= 1000
because I'm not sure about t
value.
I think it didn't work. Is this language regular? How can I prove that?