@nguyenngoclananhpt
Để B ∈ Z thì :3n+4 chia hết cho n-1
$3n+4 $$\vdots$ $n-1$
⇔ $3n+4 $$\vdots$ $n-1$
⇔ $3n+4 - [3(n-1)]$$\vdots$ $n-1$
⇔ $3n+4 - (3n-3)$$\vdots$ $n-1$
⇔ $3n+4 - 3n+3$$\vdots$ $n-1$
⇔ $7$$\vdots$ $n-1$
⇔ $ n-1 ∈ 7$
⇔ $ n-1 ∈ { 7; -1;1;-7}$
⇔ $ n ∈ { 8; 0;2;-6}$