[tex]\it n=\overline{52ab}\\ \\ \overline{52ab}\ \vdots\ 45 \Rightarrow \begin{cases}\it \overline{52ab}\ \vdots\ 5 \Rightarrow b\in\{0,\ 5\}\\ \\ \it \overline{52ab}\ \vdots\ 9 \Rightarrow (5+2+a+b)\ \vdots\ 9 \Rightarrow (7+a+b)\ \vdots\ 9\end{cases}\\ \\ b=0 \Rightarrow (7+a+0)\ \vdots\ 9 \Rightarrow a=2 \Rightarrow n=5220\\ \\ b=5 \Rightarrow (7+a+5) \ \vdots\ 9 \Rightarrow (12+a)\ \vdots\ 9 \Rightarrow a=6 \Rightarrow n=5265[/tex]
Numerele cerute sunt: 5220 și 5265