\(\Leftrightarrow n+1\in\left\{1;-1;7;-7\right\}\)
hay \(n\in\left\{0;-2;6;-8\right\}\)
\(\Rightarrow n+1\inƯ\left(7\right)=\left\{1;-1;7;-7\right\}\)
\(\Rightarrow x\in\left\{0;-2;6;-8\right\}\)
để :\(7⋮n+1\) thì
\(n+1\in U\left(7\right)=\left\{\pm1;\pm7\right\}\)
do đó:\(n+1=-1\Rightarrow n=-2\)
\(n+1=1\Rightarrow n=0\)
\(n+1=-7\Rightarrow n=-8\)
\(n+1=7\Rightarrow n=6\)