For an integer $n\in \mathbb{N}$ define $P(n) = \{p : p \mid n \text{, where $p$ is a prime} \}$. For example $P(12)=\{2,3\} $ and $P(1)=\emptyset$.
Question: Consider the relation $R$ on $\mathbb{Z}$ defined by $n R m$ $\iff$ $P(n) = P(m)$. Show that $R$ is an equivalence relation.
My answer: Let $a=b \pmod m$ and $b=c \pmod m$ Thus, $a-b=0 \pmod m$ and $b-c=0\pmod m$ Combining, $a-c=0 \pmod m$ Thus, $a=c \pmod m$
$\rightarrow$ How do I begin to describe the equivalence class [2] for the relation $R$? I don't quite understand... Any help or advice is appreciated.
Recall that being an equivalence relation by definition means to be reflexive, symmetric and transitive.
So you need to show for $m,n,k\in \mathbb{N}$ arbitrary:
These properties are just inherited from the $=$ in the definition of $R$ like this:
So later u would not write this down but just say that $R$ being equivalence relation is inherited from equivalence relation $=$ used in its definition.