a) \(3x+24⋮x-4\)
\(\Rightarrow3x+24-3\left(x-4\right)⋮x-4\)
\(\Rightarrow3x+24-3x+12⋮x-4\)
\(\Rightarrow36⋮x-4\)
\(\Rightarrow x-4\in\left\{-1;1;-2;2;-3;3;-4;4;-9;9;-12;12;-18;18;-36;36\right\}\)
\(\Rightarrow x\in\left\{3;5;2;6;1;7;0;8;-5;13;-8;16;-14;22;-32;40\right\}\left(x\in Z\right)\)
b) \(x^2+5⋮x+1\)
\(\Rightarrow x^2+5-x\left(x+1\right)⋮x+1\)
\(\Rightarrow x^2+5-x^2-x⋮x+1\)
\(\Rightarrow5-x⋮x+1\)
\(\Rightarrow5-x+\left(x+1\right)⋮x+1\)
\(\Rightarrow5-x+x+1⋮x+1\)
\(\Rightarrow6⋮x+1\)
\(\Rightarrow x+1\in\left\{-1;1;-2;2;-3;3;-6;6\right\}\)
\(\Rightarrow x\in\left\{-2;0;-3;1;-4;2;-7;5\right\}\left(x\in Z\right)\)
Bài cuối tương tự bạn tự làm nhé, thanks!