Recently I have come across a statement saying that if $x$ and $y$ are divisible by $a$, then $x - y$ is also divisible by $a$.
How can I prove this? Does it also apply to sum of $x$ and $y$ ?
Recently I have come across a statement saying that if $x$ and $y$ are divisible by $a$, then $x - y$ is also divisible by $a$.
How can I prove this? Does it also apply to sum of $x$ and $y$ ?
So, we have integers $X,Y$ such that $$\frac xX=\frac yY=a$$
$$\implies x-y=a(X-Y)\iff\frac{x-y}a=X-Y$$ which is an integer
In fact we can prove $$cx-dy$$ is also divisible by $a$ for integers $c,d$
Here $c=d=1$