Show that the language
$L =$$\left \{ a^{n!} : n\geq 1 \right \}$ is not regular using pumping lemma
My solution is :
Suppose L is regular
There exist some pumping length for L, let it be "m"
We don't know the value of m but whatever it is we can always choose n = m.
Then from the pumping lemma there exists $x, y, z \in Σ^{∗}$ such that w = xyz , |xy| ≤ m and |y| ≥ 1.
$w_{i} = xy^{i}z$
y must contain entirely of a's
suppose $|y|=k$
the string obtained by i = 1 is,
w = $a^{m!+k}$
Now after this i'm stuck because how can i prove $m!+k$ cannot be accepted by the language
also if i chose i = 0 then also i'm stuck