Prove that if $c$ is a common multiple of $a$ and $b$, then $c$ is a multiple of $\operatorname{lcm}(a,b)$
Nobody in my class has found a way to do it. Whatever I try, I always come to the conclusion that I need the exact same thing I'm trying to prove...to finish my proof.
Our instructor gave a hint though, saying 'if $c$ is a counterexample, then $c-\operatorname{lcm}(a,b)$ is a counterexample'. Unfortunately, I don't understand the hint. I tried to execute induction and proof by contradiction, but nothing leads anywhere.
To prove is that every common multiple of $a,b$ is a multiple of the lcm.
Suppose $d=lcm(a,b)$ and $d \nmid c$ then we have $c=dx+y$ with $0\lt y \lt d$
So $y=c-dx$ and $a,b|(c-dx)$ which is a contradiction with the assumption that $d$ is the lcm.