a,
\(\left(n+3\right)⋮\left(n-2\right)\\ \Rightarrow\left(n-2\right)+5⋮\left(n-2\right)\\ \Rightarrow5⋮\left(n-2\right)\\ \Rightarrow\left(n-2\right)\in\left\{{}\begin{matrix}5\\-5\\1\\-1\end{matrix}\right.\\ \Rightarrow n\in\left\{{}\begin{matrix}7\\-3\\4\\2\end{matrix}\right.\)
vì là số tự nhiên nên
\(n\in\left\{{}\begin{matrix}7\\4\\2\end{matrix}\right.\)
b,
\(\text{ ( 2n + 9 ) ⋮ ( n - 3 )}\\ \Rightarrow2\left(n-3\right)+15⋮\left(n-3\right)\\ \Rightarrow15⋮\left(n-3\right)\\ \Rightarrow\left(n-3\right)\inƯ\left(15\right)=\left\{15;5;3;1;-1;-3;-5;-15\right\}\\ \Rightarrow n\in\left\{18;8;6;4;2;0;-2;-13\right\}\)
vì n là số tự nhiên nên:
\(n\in\left\{18;8;6;4;2;0\right\}\)