It is given that, m = a2b3 and n = a3b2, where a, b are prime numbers.
HCF (m, n) = HCF (a2b3, a3b2)
= The lowest of indices of a and b
= a2b2
Hence, HCF (m, n) is a2b2.
LCM (m, n) = LCM (a2 b3, a3b2)
= The lowest of indices of a and b
= a3b3
Hence, LCM (m, n) is a3b3.
Hence, HCF (m, n) = a2b2 and LCM (m, n) = a3b3.
Disclaimer: In the question, we need to find LCM (m, n) instead of LCM (a, b).