edited by
571 views
1 votes
1 votes
Check for Regular,CFL,CSL?

1. L={a^n b^m | LCM(n,m)=600) }

2.L={a^n b^m | LCM(n,m)=k) }

3. L={a^n b^m | GCD(n,m)=600) }

4.L={a^n b^m | GCD(n,m)=k) }
 

I think first is CFL as we will have limited cases where LCM is 600 but for second one it should be CSL.

For GCD whether it is constant 600 or k,we will have infinite cases.So it must be CSL.

Please verify answer and approach
edited by

1 Answer

0 votes
0 votes
can someone explain these all four options i am not getting it

Related questions

0 votes
0 votes
1 answer
1
VS asked Nov 26, 2017
841 views
6 votes
6 votes
3 answers
2
1 votes
1 votes
1 answer
4