exercise

7.2 Properties of GCD and LCM

1)

Let and . We first show that

  • Assume there is a common divisor of and with , then and
  • By definition of , we get and and
  • This contradicts to the statement that , so must hold.

We then show that

  • Since and , we can conclude that
  • We also know that and , and
    • set where a positive integer (since )
    • so gives
    • Because , Euclid’s lemma implies . Let’s then write where is also a positive integer
    • Therefore
    • Hence,
  • According to the definition of , we have
  • Let (since satisfies and ). Then we must have

We then show that

  • Let with and
  • we write as . Because , each prime of divides exactly or . we then split into with (containing primes that divides ) and (containing primes that divides )
  • Since , we get and . Thus and
  • Therefore, we get , meaning Conclusion By showing and , we proved that , which means The claim is proved.
2)

We write as followings:

We now write the left part of the equation as

We now write the right part of the equation as

We now only need to prove that We show that

  • case 1:
    • At least one of and is smaller or equal to . Therefore one of and must be and the other one must be greater or equal to . Hence, must be . Thus,
  • case 2:
    • and , so we have
    • Hence, the statement always holds Therefore,

The claim is proved.