Show that the following conditions are equivalent:
i) There exist positive integers $a, b$ such that $\gcd(a,b)=d$ and $\operatorname{lcm}(a,b)=m$.
ii) $d\mid m$
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It only takes a minute to sign up.
Sign up to join this communityShow that the following conditions are equivalent:
i) There exist positive integers $a, b$ such that $\gcd(a,b)=d$ and $\operatorname{lcm}(a,b)=m$.
ii) $d\mid m$
The one direction is easy since $\gcd(a,b)\mid a$ and $a\mid \operatorname{lcm}(a,b)$.
For the other direction here is a hint.
Assume that $a\mid b$. What are the $\gcd(a,b)$ and $\operatorname{lcm}(a,b)$?
You could also use gcd and lcm in regards to prime decomposition.
Let $a=\prod_{k=1}^{m}p_k^{i_k}, b=\prod_{k=1}^{m}p_k^{j_k}$ where $p_k$ is the $k$'th prime number. Then $$d=\gcd(a,b)=\prod_{k=1}^{m}p_k^{\min\{i_k,j_k\}}$$ $$m=\text{lcm}(a,b)=\prod_{k=1}^{m}p_k^{\max\{i_k,j_k\}}$$ Can you see it from here?
$d|m \Rightarrow m=dx, x \in \mathbb{Z} \Rightarrow \prod_{k=1}^{m}p_k^{\max\{i_k,j_k\}}=\left(\prod_{k=1}^{m}p_k^{\min\{i_k,j_k\}}\right)x.$ Therefore $$x=\frac{\prod_{k=1}^{m}p_k^{\max\{i_k,j_k\}}}{\prod_{k=1}^{m}p_k^{\min\{i_k,j_k\}}}=\prod_{k=1}^{m}p_k^{\max\{i_k,j_k\}-\min\{i_k,j_k\}} \in \mathbb{Z}$$