we are given that $a = p_1^{\alpha 1} .... p_k^{\alpha k}$ and $b = p_1^{\beta 1} .... p_k^{\beta k}$. Where $p_1 ... p_k$ are pairwise distinct primes and $\alpha_i$ and $\beta_i$ are non negative integers.
I tried expanding out on the left hand side using the formula for the LCM but i couldn't see where to go from there.