Ta có: \(x+5⋮x+3\)
\(\Leftrightarrow x+3+2⋮x+3\)
Vì \(x+3⋮x+3\)
nên \(2⋮x+3\)
\(\Leftrightarrow x+3\inƯ\left(2\right)\)
\(\Leftrightarrow x+3\in\left\{1;-1;2;-2\right\}\)
hay \(x\in\left\{-2;-4;-1;-5\right\}\)(tm)
Vậy: \(x\in\left\{-2;-4;-1;-5\right\}\)
x+5=(x+3)+2 ⋮ (x+3)
Mà (x+3) ⋮ (x+3)
⇒ 2 ⋮ (x+3)
Ta có :
x+3 | 1 | 2 | -1 | -2 |
x | -2 | -1 | -4 | -5 |
Vậy x = -2;-1;-4;-5