Lowest common multiple problem

Question

Hints

Answer