[tex]\text{Notam cele doua numere cu a si b:}\\
\{a,b\}d.p.\{5,2\}\Rightarrow \dfrac{a}{5}=\dfrac{b}{2}=k\Rightarrow a=5k,b=2k\\
a+b=147\\
5k+2k=147\\
7k=147\\
\boxed{k=21}\\
a=5k\Rightarrow \boxed{a=105}\\
b=2k\Rightarrow \boxed{b=42}\\
R:\text{Numerele cautate sunt 42 si 105.}[/tex]