-2

Prove for all positive integers d, m, n. If d=gcd(m, n) then gcd(m, nk)=gcd(m, dk).

So I messed around with it, and I started from the conclusion. I made gcd(m, nk)=x, gcd(m, dk)=y. Then by Bezout's Lemma ms+nkt=x, ms+dkt=y, s and t are integers. I think I can make these 2 equations and change it to the form of d=gcd(m, n). Maybe by dividing? But If I divide it by d, then ms/d+nkt/d=x/d, then this equation might not be integers anymore. I don't know that the next step is. Thank you for looking this over for me.

Trai
  • 7

1 Answers1

0

Hint: Use the GCD in prime factorization form.
If $m = \prod p_i ^ {m_i}, n = \prod p_i^{n_i}$, then $ d = \prod p_i^{\min(m_i, n_i)}$.

The result follows by showing that

$$ \min (m_i, n_i + k_i) = \min (m_i, \min (m_i, n_i) + k_i)$$

A direct way of showing this is to condition on $ m_i \geq n_i$ (so $\min(m_i, n_i) = n_i$) and $ m_i < n_i$ (so both sides equal $m_i$).

Calvin Lin
  • 68,864