If $a_1,\dots,a_n$ are non zero integers, prove that if $d$ divides $a_i$, for $i=1,\dots,n$, then $d$ divides $a_1+\dots+a_n$.
I can see that if it divides each term individually it will divide the sum, but I don't know how to prove it.
If $a_1,\dots,a_n$ are non zero integers, prove that if $d$ divides $a_i$, for $i=1,\dots,n$, then $d$ divides $a_1+\dots+a_n$.
I can see that if it divides each term individually it will divide the sum, but I don't know how to prove it.
Here is a fundamental and generalization rule of your thoughts:
The proof of this statement goes as follows:
Now you can use this fact to prove your statement with $x,y = 1$, can't you?