Evaluate $X$ in its simplest form then find the sum of all digits of $X$. Where $X$ is given as
$$X=\sqrt{2008+2007\sqrt{2008+2007\sqrt{2008+2007\sqrt{\cdots}}}}$$
I tried the following method:
\begin{align} X^2 &={2008+2007\sqrt{2008+2007\sqrt{2008+2007\sqrt{\cdots}}}} \tag1\\ X^2 &={2008+2007X} \tag2\\ X^2-2008-2007X &=0 \tag3\\ (X+1)(X-2008) &=0 \tag4\\ X &=-1, 2008 \tag5 \end{align}
But now we have two solutions for the sum of digits.
Where did I go wrong? Is the method correct?
Really appreciate the help, thank you!!