Ta có:
\(a.b=BCNN\left(a,b\right).UCLN\left(a,b\right)=336.12=4032\)
Vì \(UCLN\left(a,b\right)=12\)
\(=>a=12m\) \(\left(UCLN\left(m,n\right)=1\right)\)
\(b=12n\)
\(=>a.b=12m.12n=4032\)
\(=>\)\(m.n=4032:12:12=28\)
Ta có bảng sau:
m | 1 | 2 | 4 | 7 | 14 | 28 |
n | 28 | 14 | 7 | 4 | 2 | 1 |
Vì \(a>b=>m>n\)
Mà\(UCLN\left(m,n\right)=1\)
\(=>m=7;n=4\)
\(=>a=12.7=84\)
\(b=12.4=48\)