Suppose $a, b, n ∈ \Bbb{N}$. Use the Euclidean algorithm to prove that $\gcd(na, nb) = n \gcd(a, b)$.
I was going to try setting it up, by literally doing:
$nb = rna + k$ and so forth, but something tells me this is wrong.
Suppose $a, b, n ∈ \Bbb{N}$. Use the Euclidean algorithm to prove that $\gcd(na, nb) = n \gcd(a, b)$.
I was going to try setting it up, by literally doing:
$nb = rna + k$ and so forth, but something tells me this is wrong.
Hint: If you are to use the Euclidean Algorithm, perhaps you should start by writing $a = qb + r$, and continuing until you compute the $\gcd$ of $a$ and $b$. Once you have that list of equations in front of you, how would you turn that into a computation of the $\gcd$ of $na$ and $nb$?
My guess is, it's up to me to decide if a or b is bigger. so let's say a > b, then:
na = q(nb) + r na = nq(b) + r
or something lol, I'm not sure. Is this right?
– Test Oct 17 '14 at 02:10