Prove that if $$a \mid b$$ and $$a \mid c$$ then $$a \mid bx+cy$$ for any integers $x$ and $y$.
Here's my proof: $$b = ak$$ $$c = am$$
$$bx+cy = akx+amy = a(kx+my)$$
Notice that $kx+my$ is an integer.
Therefore by the fundamental Theorem of Arithmetic/Theorem of divisibility,
$$ a \mid bx+cy $$
Is there another way to prove this? How would you do this another way?