Congruence and modular arithmetics

49 Views Asked by At

I started to study number theory and got stuck in the following exercise:

Let $a,b\in \mathbb{Z}$. Show that $ab\equiv lcm(a,b)(\mbox{mod gcd}(a,b))$.

I have no idea how to show that. Any help?

Thanks!

2

There are 2 best solutions below

0
On

Hint.

$a,b$ are both divisible by $gcd(a,b)$ so $ab\equiv0 \pmod {gcd(a,b)}$.
the $lcm$ is $kab$ where $k$ is a real number for witch $kab \geq a$ if $a<b$ and $gcd \leq a$.

0
On

Hint: Let $d=gcd(a,b)$ and $m=lcm(a,b)$. Write $a=a'd$ and $b=b'd$. Write $m$ in terms of $a',b',d$.