436 views

2 Answers

1 votes
1 votes
L= 0 => 0(No string possible)

L=1 => 1 {a}

L=2 => 3 {aa, ba, ab}

L=3 => 7 {aaa, aba, baa, bba, bab, aab, abb}

Therefore total =0+1+3+7=11
0 votes
0 votes
0 length 0

1 length =1 a

2 length = 3 aa,ba,ab

3 length = 7 aaa,aba,baa,aab,aba,bab

total 11
edited by

Related questions

564
views
2 answers
1 votes
Shaina Singh asked Jul 30, 2023
564 views
Convert DFA to regular expression
720
views
2 answers
1 votes
anupamsworld asked Aug 22, 2022
720 views
1] ∅^* = ?2] ∅^+ = ?3] ∅ . ∈ = ?please describe your answers.
449
views
1 answers
0 votes
akash_chauhan asked Jul 20, 2022
449 views
what is the difference between, r* and r^(*) can anyone please elaborate !
613
views
1 answers
1 votes
samarpita asked Nov 21, 2021
613 views
What will be the answer