edited by
1,064 views
0 votes
0 votes
Show that the language

                    $L =$$\left \{ a^{n!} : n\geq 1 \right \}$ is not regular using pumping lemma
edited by

2 Answers

0 votes
0 votes
Suppose L is regular

Then there is a constant n, if z is any word in L and |z|>n, we may write z=uvw in such a way that $|uv|\leq n$ and $|v|\geq 1$ and for all $i\geq 0$ $uv^{i}w$ is in L

Now,$ a^{n!}$=$a^{n}$$^{\left ( n-1 \right )}$$^{\left ( n-2 \right )}$$^{....1}$

Here u=0

v=$ a^{n!}$=$a^{n}$$^{\left ( n-1 \right )}$$^{\left ( n-2 \right )}$$^{....1}$ which is forming more than one loop

w again will be 0

So, it cannot satisfy $v^{i}$ for more than one loop in $z=uv^{i}w$

Hence L is not regular
0 votes
0 votes

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 = 2 is,

w = $a^{m!+2k}$
we know that k $\geq$1 

so  if 1 $\leq$ k $\leq$ m

$m!$ $<$ $(m! + k)$ $<$ $(m+1)!$ 

hence we can say that $a^{m!+k}$ $\notin L$

Hence our assumption of L being regular was wrong and L is not regular.

edited by

Related questions

0 votes
0 votes
1 answer
4