523 views
0 votes
0 votes

check whether given language is regular or not

 

1)   (ann where n ≥1

2)   ( an where n ≥ 1

3)  w= { (( a n) *  (( a)2 )*  } where n ≥ 1

1 Answer

1 votes
1 votes

L1 is not regular we will not have the string in A.P only a,a^4,a^9,......

L2 is regular i.e if m=2 a^2,a^4,a^8,.....

L3 is also regular only i.e p1= (( a n) * is regular 

p2=(( a)2 )*  is also regular only

concatenation of two regular is regular only.

Related questions

0 votes
0 votes
2 answers
2
4 votes
4 votes
1 answer
3
Garrett McClure asked Oct 9, 2017
1,252 views
The tail of a language is the set of all suffixes of its strings, that is tail(L) = {y : xy ∈ L for some x ∈ Σ ∗ }.How do I show that the family of regular languag...
2 votes
2 votes
1 answer
4
Garrett McClure asked Oct 3, 2017
515 views
Let L be any regular language on Σ = {a, b}. Show that an algorithm exists for determining if L contains any strings of even length.