LCM is "Least Common Multiple". It is defined for the sets of INTEGER numbers only. It is NOT DEFINED for rational numbers. Probably, you meant LCD, which is Least Common Denominator. Then the solution by Edwin works.