a: -5 là bội của n+1
=>\(-5⋮n+1\)
=>\(n+1\inƯ\left(-5\right)\)
=>\(n+1\in\left\{1;-1;5;-5\right\}\)
=>\(n\in\left\{0;-2;4;-6\right\}\)
b: \(n\inƯ\left(3n+6\right)\)
=>\(3n+6⋮n\)
=>\(6⋮n\)
=>\(n\inƯ\left(6\right)\)
=>\(n\in\left\{1;-1;2;-2;3;-3;6;-6\right\}\)