I am trying to prove $\gcd(8,20) = 4$.
I am not quite sure how to go about it, but I think I need to prove that $\gcd(8,20)$ is not equal to $1$. I have also set up $S = \{k \in \mathbb{N} : k = 8x + 10y \text{ for some } x, y \in \mathbb{Z}\}$. I am trying to somehow show that $4 \in S$.
Any suggestions on how I can prove my approaches? This was a personal challenge exercise, so I am just trying to further my learning. I did take a look at other relevant posts on here, but they are too complex or advanced in comparison to where I am at. I just learnt how to do basic proofs with axioms and proofs for natural numbers. This exercise is given near the end of practice exercises after introduction on the Well Ordering Principle and [GCD].
Thanks for any help or solutions posted!
If $d$ divides both $a$ and $b$, then $d=\gcd(a.b)$ iff $\gcd ({a\over d}, {b\over d})=1.$ Therefore, you only need to find integers $x$ and $y$ so that $2x+5y=1.$