If $a | c$ and $b | c$ and $a$ and $b$ are relatively prime prove that $ab|c$.
What I did was since $(a,b)=1$ then we can find integers $m,n$ such that $ma + nb=1$. Now since $a|c$ then $a = mc$. Similary, since $b|c$ then $b=nc$. Then I got that:
$$ma+nb=1$$ $$c(m+n)=1$$ $$m +n = 1/c$$ $$abm +abn=\frac{ab}{c}.$$
Is this correct?
This is a special case of the Chinese Remainder Theorem. We know $$c \equiv 0 \pmod a$$ and $$c \equiv 0 \pmod b$$ and $\gcd(a,b)=1$. Hence the Chinese Remainder Theorem implies $$c \equiv 0 \pmod {ab}.$$
This is the relevant line from the Wikipedia link:
Where $\{n_i\}_{i=1}^k$ are a set of coprime positive integers and $N=\prod_{i=1}^k n_i$.