Đáp án + Giải thích các bước giải:
a)
Để `\frac{-8}{2n-1}` nguyên
`\Rightarrow -8 \vdots 2n - 1`
`\Rightarrow 2n - 1 ∈ Ư(8)`
`\Rightarrow n ∈ {1; 0; 1,5; -0,5; 2,5; -1,5; 4,5; -3,5}`
b)
Để `\frac{2n + 7}{n - 5}` nguyên
`\Rightarrow 2n + 7 \vdots n - 5 (1)`
vì `n -5 \vdots n -5`
`\Rightarrow 2n - 10 \vdots n -5 (2)`
Từ (1) và (2) suy ra `(2n + 7) - (2n -10) = 17 \vdots n - 5`
`\Rightarrow n ∈ {6, 4, 22, -12}`