I want to find the largest $n \in \mathbb{N}$ for which $n-7$ divides $n^3-7$. In other words, I am looking for the largest $n$ such that $\frac{n^3-7}{n-7}$ is an integer. Can anyone provide me with a hint? Please do not post a full solution.