\(\text{Ta có: }(n+1)\ \vdots\ (n-2)\)
\(\Rightarrow (n-2+3)\ \vdots\ (n-2)\)
\((n-2)\ \vdots\ (n-2)\Rightarrow 3\ \vdots\ (n-2)\)
\(\Rightarrow (n-2)\in Ư(3)\)
\(Ư(3)=\{\pm1;\pm3\}\)
\(\Rightarrow (n-2)\in\{\pm1;\pm3\}\)
\(\text{Lập bảng:}\)
\(n-2\) |
\(-3\) |
\(-1\) |
\(1\) |
\(3 \) |
\(n\) |
\(-1\) |
\(1\) |
\(3\) |
\(5\) |
\(\text{Vậy }n=\{-1;1;3;5\}\)
Tick mình nha