The roots of polynomial $ p(n) $ are:
$$ \begin{aligned}n_1 &= 26.8552\\[1 em]n_2 &= -55.8552 \end{aligned} $$The solutions of $ n^2+29n-1500 = 0 $ are: $ n = -\dfrac{ 29 }{ 2 }-\dfrac{\sqrt{ 6841 }}{ 2 } ~ \text{and} ~ n = -\dfrac{ 29 }{ 2 }+\dfrac{\sqrt{ 6841 }}{ 2 }$.
You can use step-by-step quadratic equation solver to see a detailed explanation on how to solve this quadratic equation.