Question 131Determine the second smallest positive integer $n$ such that $n^{3}+n^{2}+n+1$ is a perfect square.