\(\frac{n^2+3n+1}{n+2}\inℤ\)
\(\Rightarrow n^2+3n+1⋮n+2\)
\(\Rightarrow n^2+4n+4-n-3⋮n+2\)
\(\Rightarrow\left(n+2\right)^2-\left(n+3\right)⋮n+2\)
\(\Rightarrow n+3⋮n+2\)
\(\Rightarrow n+2+1⋮n+2\)
\(\Rightarrow1⋮n+2\)
\(\Rightarrow n+2\inƯ\left(1\right)\)
\(\Rightarrow n+2\in\left\{-1;1\right\}\)
\(\Rightarrow n\in\left\{-3;-1\right\}\) mà n thuộc N
\(\Rightarrow n\in\varnothing\)