Giải:
\(\frac{a}{b}=\frac{15}{35}=\frac{3}{7}\)
\(\Rightarrow a\div3=b\div7\)
\(\Rightarrow a=\frac{3}{7}b\)
Mà \(ƯCLN\left(a;b\right)=BCNN\left(a;b\right)=ab\)
\(\Rightarrow\frac{3}{7}b.b=3549\)
\(\Rightarrow b.b=3549\div\frac{3}{7}\)
\(\Rightarrow b^2=8281\)
\(\Rightarrow b=\sqrt{8281}\)
\(\Rightarrow b=91\)
\(\Rightarrow a=\frac{3}{7}b\)
\(\Rightarrow a=\frac{3}{7}.91=39\)
Vậy \(a=39;b=91\)