0

I know this is a proof by cases, and it should be proved directly first, then conversely we find the converse, and then find the contrapositive of the converse and prove that. Would our cases be $7$ divides $z$, and $7$ does not divide $z$? I also know we can re-write $7\mid z$ as $z = 7m$ for some integer $z$

gkc52
  • 1

2 Answers2

2

($\Rightarrow$) Let $7|z$. Then for some integer $n$, $7n=z$. Then $z^2=(7n)^2=7(7n^2)$ where $7n^2$ is an integer. So $7|z^2$.

($\Leftarrow$). Let $7|z^2$. By Euclid's Lemma, $7|z$.

healynr
  • 825
0

You are right, there are two cases to prove:

  1. If $7\mid z$ then $7\mid z^2$
  2. If $7\not\mid z$ then $7\not\mid z^2$

Proving these two cases are equivalent to proving:

  1. If $7\mid z$ then $7\mid z^2$
  2. If $7\mid z^2$ then $7\mid z$
cansomeonehelpmeout
  • 12,782
  • 3
  • 22
  • 49