if $p$ is prime and $a\in \mathbb Z$ such that $p\nmid a$, Show that the set $$ R=\{0,a,2a,3a,...,(p-1)a\}$$
Is a complete residue system modulo $p$.
This problem is from my textbook.
My attempt:
I think that the best way to prove it it's by contradiction, so let $x,y \in R$ such that : $$x\ne y, x\equiv y \pmod p$$
and we gonna prove that it's impossible that $x,y\in R$ and $x\equiv y \pmod p$... But I don't know how to do it.