ta có a+5=a+5+3
=> 3 chia hết cho a+5
a nguyên => a+5 nguyên
=> a+5\(\in\)Ư(3)={-3;-1;1;3}
ta có bảng
a+5 | -3 | -1 | 1 | 3 |
a | -8 | -6 | -4 | -2 |
vậy a={-8;-6;-4;-2}
Ta có: \(a+8⋮a+5\)
\(\Leftrightarrow a+5+3⋮a+5\)
\(\Leftrightarrow3⋮a+5\)
\(\Rightarrow a+5\inƯ\left(3\right)=\left\{\pm1;\pm3\right\}\)
Nếu a + 5 = -1 => a = -6
a + 5 = 1 => a = -4
a + 5 = 3 => a = -2
a + 5 = -3 => a = -8
Vậy \(a=\left\{-6;-4;-2;-8\right\}\)thì \(a+8⋮a+5\)