0

Prove that:

let n $\in \mathbb{N} $ and $ z \leq n \in \mathbb{Z}$

$\exists p,q \in \mathbb{Z}: p * z - q * n = 1 \implies \gcd{(z,n)} = 1$

2 Answers2

3

Note that $\gcd(n,z)|n$ and $\gcd(n,z)|z$ so $\gcd(n,z)| pz - qn$ for all $p,q\in \mathbb Z$.

SO if there is any $p,q \in \mathbb Z$ so that $pn-qz = 1$ then $\gcd(n,z)|1$.

fleablood
  • 124,253
2

Let $ c$ be a common divisor of $ z $ and $ n $.

$$c|z \wedge c|n \implies $$

$$c|pz \wedge c|qn \implies$$

$$c|(pz-qn) \implies $$ $$c|1 \implies $$ $$|c|=1 \implies$$ $$gcd(z,n)=1$$