Way to show divisibility without using Euclid's lemma.

128 Views Asked by At

The generalized version of Euclid's lemma states that if $k|mn$ and that $\gcd(k, m) = 1$ then $k|n$. However, I noticed an alternative way of proving questions such as: if $2|n$ and $3|n$ show $6|n$ by getting $n = 3p = 2q$ for some integers $p, q$ and considering $3n - 2n = n = 3(2q) - 2(3p) = 6(p - q)$ and as $p - q$ is an integer we are done. This works for larger problems such as getting $42|n$ from $2|n$, $3|n$ and $7|n$ by considering $21n - 14n - 6n = n = 21(2p) - 14(3q) - 6(7r) = 42(p - q - r)$.

What is this technique called? Does it always work? Can you point me in the right direction?

1

There are 1 best solutions below

0
On BEST ANSWER

Of course. The way you might prove Euclid's Lemma - or your related fact - is by showing the equation $ax+by=1$ has integer solutions when $\gcd(a,b)=1$ (try it!), and you are essentially following that proof.