edited by
594 views

2 Answers

Best answer
2 votes
2 votes
L1={aa,aaa,aaaaa,.....}

L2={a,aaa,aaaaa,......}

$L1\cup L2$={a,aa,aaa,aaaaa,..........}

1)it is REGULAR,SO IT IS DECIDABLE.

2)REGULAR EXPRESSION IS =aa+a$(aa)^{*}$.
selected by
0 votes
0 votes

L1 : Not regular .. as prime numbers in power

L2 : It's Regular language and regular expression : a(aa)*

So for L1 U L2 = Recursive U Regular = Recursive U Recursive = Recursive Language [Recursive language closed under Union]

But L1 U L2 is nothing but set of prime powers or odd enumerations [but except 2 a prime no. is odd always] --> so L1 U L2 = {aa} U {a(aa)*}..Hence Regular.

But how can be " regular expression of   LU L is a(aa)" --> asked for decidability, it should be true/false statement

As L1UL2 = {aa} U {a(aa)*}  [ Hence statement is false ].

edited by

Related questions

1 votes
1 votes
2 answers
1
jugnu1337 asked Nov 7, 2022
666 views
M is a Turing Machine and M is the only Turing Machine that accepts L(M) is decidable. TRUE/FALSE
0 votes
0 votes
0 answers
3