a, Ta có: \(\frac{3n+9}{n-4}\in Z\Leftrightarrow\frac{3n-12+21}{n-4}\in Z\Leftrightarrow\frac{3\left(n-4\right)}{n-4}+\frac{21}{n-4}\in Z\Leftrightarrow3+\frac{21}{n-4}\in Z\)
\(\Leftrightarrow\frac{21}{n-4}\in Z\Leftrightarrow n-4\inƯ21\Leftrightarrow n-4\in\left\{\pm1;\pm3;\pm7;\pm21;\right\}\)
\(\Leftrightarrow n\in\left\{-17;-3;1;3;4;7;11;25\right\}\)
b, Ta có: \(\frac{6n+5}{2n-1}\in Z\Leftrightarrow\frac{6n-3+8}{2n-1}\in Z\Leftrightarrow\frac{3\left(2n-1\right)}{2n-1}+\frac{8}{2n-1}\in Z\Leftrightarrow3+\frac{8}{2n-1}\in Z\Leftrightarrow\frac{8}{2n-1}\in Z\)
\(\Leftrightarrow2n-1\inƯ8\Leftrightarrow2n-1\in\left\{\pm1;\pm2;\pm4;\pm8\right\}\)
\(\Leftrightarrow n\in\left\{1;0\right\}\) Vì \(n\in Z\)
Đặt tính ra ta có: \(\left(3n+9\right):\left(n-4\right)=3\) dư 21
\(\Rightarrow A=Q+\frac{R}{B}=3+\frac{21}{n-4}\)
\(\Rightarrow n-4\in U\left(21\right)=\left\{\pm1;\pm3;\pm7;\pm21\right\}\)
Ta có bảng sau:
n-4 | 1 | -1 | 3 | -3 | 7 | -7 | 21 | -21 |
n | 5 | 3 | 7 | 1 | 11 | -3 | 25 | -17 |
Vậy......
b) Ta tính được: \(\left(6n+5\right):\left(2n-1\right)=3\) dư 8
\(\Rightarrow A=Q+\frac{R}{B}=3+\frac{8}{2n-1}\)
\(\Rightarrow2n-1\in U\left(8\right)=\left\{\pm1;\pm2;\pm4;\pm8\right\}\)
Ta có bảng sau:
2n-1 | 1 | -1 | 2 | -2 | 4 | -4 | 8 | -8 |
n | 1 | 0 | 1.5 (loại) | -0.5 (loại) | 2.5 (loại) | -1.5 (loại) | 4.5 (loại) | -3.5 (loại) |
Vậy \(x\in\left\{0;1\right\}\)