a) ta có: n+3 \(⋮\) n-1
n-1+4 \(⋮\) n-1
Vì n-1 \(⋮\) n-1 nên 4 \(⋮\) n-1.
\(\Rightarrow\) n-1 \(\inƯ\left(4\right)=\left\{1;2;4\right\}\)
\(\Rightarrow n\in\left\{2;3;5\right\}\)
b:=>4n+2+1 chia hết cho 2n+1
=>\(2n+1\in\left\{1;-1\right\}\)
=>\(n\in\left\{0;-1\right\}\)