578 views
0 votes
0 votes

L={0p | p is a prime number over alphabet 0}

Is L* regular? If yes, what is DFA for it? What is cardinality for it?

1 Answer

2 votes
2 votes

L= {o^2 , o^3, o^5, o^7.....}* = {epsilon ,00,000,0000..... } {All strings except one}

cardinality =3

Related questions

0 votes
0 votes
1 answer
1
Deepak9000 asked Nov 27, 2023
215 views
Why is C is regular as it non regular as?Please help me with this confusion
0 votes
0 votes
1 answer
2
M_Umair_Khan42900 asked Dec 29, 2022
782 views
Show that the following pairs of regular expressions define the same language over the alphabet I = [a, b].s(a) p(pp)*( A + p)q + q and p*q(b) A +0(0+1)* + (0+1)* 00(0+1)...
0 votes
0 votes
2 answers
4