Theorem Let $a,n \in Z$ with $n \neq 0$. There are $q,r \in Z$ with $a = nq+r$ and $0 \leq r < |n|$, and both $q$ and $r$ are unique with these properties.
Proof The author intends to prove the existence of $q$ and $r$ using well-ordering principle. So it is required to prove that $r \geq 0$ with $r= a-qn$. Consider $S = \{a-zn|z \in Z\}$ and show that the intesection of $S$ and $N$ (set of natural numbers) is non-empty. If $z = -(|a|+1)$ then $a-zn=a+(|a|+1)n \geq a + |a| + n \geq n > 0$. Consequently intersection of $S$ and $N$ is non-empty. The proof continues further.
Question
- How was the author able to choose the value of $z$ as $-(|a|+1)$?
- How does proving $n >0 $ allow us to conclude that the intersection of $S$ and $N$ is non-empty?