\(Ư\left(5\right)=\left\{1;5\right\}\)
x+1 | 1 | 5 |
x | 0 | 4 |
\(5⋮\left(x+1\right)\\ =>x+1\inƯ\left(5\right)\\ Ư\left(5\right)=\left\{-1;1;5;-5\right\}\\ TH1:x+1=-1\\ x=-2\\ TH2:x+1=1\\ x=0\\ TH3:x+1=5\\ x=4\\ TH4:x+1=-5\\ x=-6\\ =>x\in\left\{0;4;-6;-2\right\}\)
@Nguyễn Ngọc Ánh \(x\in\mathbb{N}\) chứ không phải \(x\in\mathbb{Z}\) đâu nhé!