A and B are natural numbers.
Prove that there are prime numbers such as $p_{i}$ such that $A = p_{1}^{a_{1}}*p_{2}^{a_{2}} * ... * p_{k}^{a_{k}} , a_{i}> 0 $
Then we consider $ B = p_{1}^{b_{1}}*p_{2}^{b_{2}}*...*p_{k}^{b_{k}}$ , prove that $ (a,b) = p_{1}^{c_{1}}*...*p_{k}^{c_{k}} --- c_{i} = min (a_{i} , b_{i})$ , and $[a,b]=p_{1}^{d_{1}}*...*p_{k}^{d_{k}}--- d_{i}= max(a_{i},b_{i})$ . for all : 1<= i <= k
notice: The first part of the proof originates directly from the Fundamental Theorem of Arithmetic, but I have no idea for the second part of the prove, thanks for your help