I know that obviously if the GCD of two numbers is 1 and $p$ is the larger number, then it has to be prime. I'm just unsure where to even begin trying to explain this in a proof.
2026-04-01 14:59:52.1775055592
On
Prove: If $(a, p) = 1$ , $0 < a < p$ , then $p$ is prime
44 Views Asked by Bumbble Comm https://math.techqa.club/user/bumbble-comm/detail At
2
There are 2 best solutions below
0
On
I recommend contradiction: Suppose that $p$ has a nontrivial factorization $p = rs$, where $1 < r, s < p.$ What can you say about the gcd of $p$ and $r$?
But even more than that, I recommend writing down the problem statement really clearly:
Suppose that for all $a$ with $0 < a < p$, we have $(a, p) = 1.$ Then show $p$ must be prime.
Suppose the GCD is not 1. Then, something other than 1 divides both $a$ and $p$. Since $a < p$, this means $p$ is composite.