\(x+4⋮2x+1\)
=>\(2x+8⋮2x+1\)
=>\(2x+1+7⋮2x+1\)
=>\(7⋮2x+1\)
=>\(2x+1\in\left\{1;-1;7;-7\right\}\)
=>\(2x\in\left\{0;-2;6;-8\right\}\)
=>\(x\in\left\{0;-1;3;-4\right\}\)
Ta có:
(x + 4) ⋮ (2x + 1)
⇒ 2(x + 4) ⋮ (2x + 1)
⇒ (2x + 8) ⋮ (2x + 1)
⇒ (2x + 1 + 7) ⋮ (2x +1)
⇒ 7 ⋮ (2x + 1)
⇒ 2x + 1 ∈ Ư(7) = {-7; -1; 1; 7}
⇒ 2x ∈ {-8; -2; 0; 6}
⇒ x ∈ {-4; -1; 0; 3}