A nguyên <=> 3 ⋮ n - 2
=> n - 2 thuộc Ư(3)
=> n - 2 thuộc {-1;1;-3;3}
=> n thuộc {1;3;-1;5}
B nguyên <=> n ⋮ n + 1
=> n + 1 - 1 ⋮ n + 1
=> 1 ⋮ n + 1
=> như a
ĐK : \(n\ne2\)
\(A=\frac{3}{n-2}\Rightarrow n-2\inƯ\left(3\right)=\left\{\pm1;\pm3\right\}\)
n - 2 | 1 | -1 | 3 | -3 |
n | 3 | 1 | 5 | -1 |
ĐK : \(n\ne-1\)
\(B=\frac{n}{n+1}=\frac{n+1-1}{n+1}=1-\frac{1}{n+1}\)
\(\Rightarrow n+1\inƯ\left(1\right)=\left\{\pm1\right\}\)
n + 1 | 1 | -1 |
n | 0 | -2 |