-1

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.

metamorphy
  • 39,111
PNT
  • 4,164

1 Answers1

1

Yes, $a$ is missing. Let $x=k_1a,y=k_2a$ where $k_i\in\{0,1,2,...,p-1\}$. Then $k_1-k_2\in\{-(p-1),...,-1,0,1,2,...,p-1\}$.

$p|(x-y)\implies p|(k_1-k_2)a$ and since $p\nmid a$, it must be that $p|(k_1-k_2)$. So $k_1-k_2=0$. Thus $x=y$.

Shubham Johri
  • 17,659