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