Define $x\sim y$ means 5 divides $(x - y)$ for $x$ and $y$ integers. Show that is an equivalence relation.
Equivalence relation means it satisfies reflexity, symmetry, and transitivity.
reflexive: $x\sim x$ means 5 divides $x$
symmetry: $x \sim y \rightarrow y\sim x$ means 5 divides $x - y$ and 5 divides $y - x$: $$5/(x - y) = 5/(y - x)$$ so symmetry is satisfied.
I am not sure if I am right here and I am lost on how to prove it is transitive any suggestions would be greatly appreciated