1 1 vote If L= { a^p | where p is any prime number }, then what is:- i) L+ ii) L* iii)L^3 Theory of Computation theory-of-computation regular-language context-free-language + – Swarnava Bose 669 views answer comment Share Follow Print 0 reply Please log in or register to add a comment.
1 1 vote L+ = {a^2 , a^3 , a^4 ……….} L* = {e , a^2 , a^3 , a^4 ,……..} MohitN answered Aug 29, 2023 MohitN comment Share Follow See all 2 Comments 2 2 Comments reply ENTJ007 commented Aug 29, 2023 reply Follow flag L=a^p then how a^4 can belongs to a+? Please explain 0 0 replyShare MohitN commented Aug 30, 2023 reply Follow flag Given L = {a^2 , a^3 ,a^5 ,a^7 …….} = Set of all string where a power prime numbers . Now for L+ = {a^2 , a^3 ,a^5, a^7 …..}^+ To form a^4 just do L^2 and take a^2 2 times you will get, i.e. L^2 = {a^4} . just like that you can form any string except a and Epsilon in L^+. 1 1 replyShare Please log in or register to add a comment.