yeah I also simplified that and ended up getting (m-1)(n-1) = 2...that means m and n can only have 2 or 3 values respectively.
I was just making it too complicated..I thought it would be a little bit harder that it seems!

yeah I also simplified that and ended up getting (m-1)(n-1) = 2...that means m and n can only have 2 or 3 values respectively.
I was just making it too complicated..I thought it would be a little bit harder that it seems!

Hence, m =2 or 3 and n = 3 or 2...right?

Thanks a lot!

Yep. Since the equation (m-1)(n-1) = 2 is symmetric wrt m, n there's only one solution in the naturals: m = 3, n = 2.
If you allow integers in general there's another solution: m = 0, n = -1