Ta có: \(n^2+3n-3⋮n-2\)
\(\Leftrightarrow n^2-4n+4+7n-7⋮n-2\)
\(\Leftrightarrow7n-7⋮n-2\)
\(\Leftrightarrow7n-14+7⋮n-2\)
\(\Leftrightarrow7⋮n-2\)
\(\Leftrightarrow n-2\inƯ\left(7\right)\)
\(\Leftrightarrow n-2\in\left\{1;-1;7;-7\right\}\)
\(\Leftrightarrow n\in\left\{3;1;9;-5\right\}\)(tm)
Vậy: \(n\in\left\{3;1;9;-5\right\}\)