Question 165If the number $K = \frac{9n^2 + 31}{n^2 + 7}$ is an integer, find the possible values of $n \in \mathbb{Z}$.