Prove that if $\mathop{\mathrm{lcm}}( a, b) + \gcd(a, b) = a+b$, $a$ divides $b$ or $b$ divides $a$.
This problem seemed simple at first, however I cannot figure out a way to prove this. If I assume both parts of the statement, I can show it is true, but that is not a valid proof method.
$\gcd(a,b)\operatorname{lcm}(a,b)=ab$which typesets as $\gcd(a,b)\operatorname{lcm}(a,b)=ab$. Oh, and this example could be understood as a hint. – ccorn Jul 27 '15 at 03:08