2 votes 2 votes $ L\ =\ \{\ a^mb^{2n}c^{3n}d^p\ |\ m,n\ >=1\ ,\ p\ >\ m\} \\Find\ the\ number\ of\ strings\ of\ length\ <=\ 13$ Theory of Computation theory-of-computation finite-automata number-of-states + – Tuhin Dutta asked Dec 31, 2017 Tuhin Dutta 476 views answer comment Share Follow See all 5 Comments See all 5 5 Comments reply Show 2 previous comments Anu007 commented Dec 31, 2017 reply Follow Share i also getting 13. a bbbb cccccc dd = 1 with 13 length a bb ccc {dd, ddd,dddd,ddddd,dddddd,,dddddd} = 6 strings till length 13 aa bbccc {ddd,dddd,ddddd,dddddd} = 4 till length 13 aaa bbccc { dddd,ddddd} = 2 till length 13 total = 1+6+4+2= 13 1 votes 1 votes joshi_nitish commented Dec 31, 2017 reply Follow Share minimum is 8 length string, we will start from 8 length string. |w|=8: {(m=1,n=1,p=2)} -> 1 string |w|=9: {(m=1,n=1,p=3)} -> 1 string |w|=10 {(m=1,n=1,p=4), (m=2,n=1,p=3)} -> 2 strings |w|=11: {(m=1,n=1,p=5), (m=2,n=1,p=4)} -> 2 strings |w|=12: {(m=1,n=1,p=6), (m=2,n=1,p=5), (m=3,n=1,p=4)} ->3 strings |w|=13 {(m=1,n=1,p=7), (m=2,n=1,p=6), (m=3,n=1,p=5), (m=1,n=2,p=2)} ->4 strings total-> 1+1+2+2+3+4= 13 strings 1 votes 1 votes Tuhin Dutta commented Dec 31, 2017 reply Follow Share Thanks. 13 is correct. 0 votes 0 votes Please log in or register to add a comment.
0 votes 0 votes 13 corerect answer Chandrabhan Vishwa 1 answered Dec 31, 2017 Chandrabhan Vishwa 1 comment Share Follow See all 0 reply Please log in or register to add a comment.
0 votes 0 votes 13 correct answer Chandrabhan Vishwa 1 answered Dec 31, 2017 Chandrabhan Vishwa 1 comment Share Follow See all 0 reply Please log in or register to add a comment.