retagged by
619 views
3 votes
3 votes

Choose the regular set

  1. $\left\{ww^{R}ww^{R}ww \mid w \in \{a,b \}^+ \right\}$
  2. $\left\{ a^{2^n} a^{n!}a^{pq}  \mid p \text{ prime}, q\text{ not prime}, n \geq1\right\}$
  3. $\left\{ wXw^{R} \mid w, X \in \{a,b \}^+ \right\}$
  4. $\left\{a^{i}b^{j}a^{i}b^{j}a^{i}b^{j} \mid i,j \geq 1 \right\}$

2 Answers

Best answer
3 votes
3 votes

for any string in the language represented by option C

we can have a $X$ such that first and last symbol of the string are same.

so, due to the presence of that $X$ language is reduced to the language definition where the first and the last symbol are same

Hence, that can be accepted by a DFA. Therefore, the option C is Regular

Related questions

4 votes
4 votes
3 answers
1
2 votes
2 votes
2 answers
2
Na462 asked Sep 13, 2018
709 views
Is the given Grammer represent a regular language ?S->AaBA->aC | epsilonB->aB | bB | epsilonC->aCb | epsilon
1 votes
1 votes
1 answer
3
Na462 asked Sep 11, 2018
1,614 views
Is Language L = {0(n+m) 1(k+l) | m = l, and m,n,k,l ≥ 1 } a regular language ? explain
0 votes
0 votes
1 answer
4
srestha asked May 24, 2018
800 views
Is it regular?$\left \{ \left ( 0^{n} \right )^{m}|n<m,n,m\geq 1 \right \}$