Để\(2n+7⋮n+1\Leftrightarrow\frac{2n+7}{n+1}\in\)\(Z\)
Mà:\(\frac{2n+7}{n+1}=\frac{2n+2+5}{n+1}=\frac{2n+2}{n+1}+\frac{5}{n+1}=2+\frac{5}{n+1}\)
\(\Rightarrow\text{Đ}\text{ể}\frac{2n+7}{n+1}\in Z\rightarrow\frac{5}{n+1}\in Z\Rightarrow n+1\in U\left(5\right)\)
Ta có bảng sau:
n + 1 | 5 | -5 | 1 | -1 |
n | 4 | -6 | 0 | -2 |
Mà: n là số tự nhiên => n = {4 ; 0}