Let $a,b,p\in\mathbb Z$ and $n\in\mathbb N$
(a) Show that the relation defined by $a\sim b$ if $a\equiv b\pmod n$ is an equivalence relation. For the purposes of this exercise use Definition 2.1.3 of $a\equiv b\pmod n$.
(b) Suppose $p$ is prime, and suppose $a\in\mathbb Z_p\setminus\{0\}$. Show that $a^{-1}$ exists. Then show $|\mathbb Z_p^\times|=p-1$.
(c) Find $\mathbb Z^\times_{105}$
I was just wondering if anyone could help me with part a on this question as i seem to be stuck, would the relation be reflexive, and how would one go about showing this as i haven't yet came across an example like this before.
For part b to show that $a^{-1}$ would you need to show that $gcd(a,p)=1$ (or is there an easier way) and how would you then show that the magnitude of the set is p-1.
I think I have done part c correctly it is just calculating the gcd of the individual elements up to 105 with 105 for example if $gcd(y,105)=1$ then $y$ is an element in the set we are trying to construct thanks for taking time to read this looking forward to the responses.
(from duplicate question):
for showing that the magnitude of the set is p-1 is this just to do with the definition of a prime number as the only number in that set that is not coprime with p is p itself
for part C i got 48 elements in the set but it would take to long to list them here.