Let $(p,q) \in (\mathbb{C}^{*})^2$ and consider the Riccati's polynomial $R \in \mathbb{C}[X]$ by $$ R(X)=X^3+pX+q $$ Let $z_1$, $z_2$ and $z_3$ be the three complex roots of $R$.
Finally, consider for $n \in \mathbb{Z}$ the sequence $(S_n)_{n \in \mathbb{Z}}$ given by $$ S_n=z_1^n+z_2^n+z_3^n $$ I guess it is possible to calculate $S_0(=3)$, $S_1$ and maybe $S_2$ with polynomial's roots theorem.
But how can I show easily that for $n \in \mathbb{Z}$ $$ S_{n+3}+pS_{n+1}+qS_n=0 $$ Is there way to find a simple expression of $(S_n)$? Wolfram gives me a not sympathetical one ...
There's also a question I've seen that is to calculate (precising for which $(p,q)$ it exists) $$ \frac{1}{1+z_1^2}+\frac{1}{1+z_2^2}+\frac{1}{1+z_3^2} $$ How is that possible?
We have \begin{eqnarray*} z_1+z_2+z_3=0 \\ z_1z_2+z_2z_3+z_3z_1=p \\ z_1z_2z_3=-q. \\ \end{eqnarray*} So \begin{eqnarray*} -p S_{n+1}-qS_n &=&-(p(z_1^{n+1}+z_2^{n+1}+z_3^{n+1})+q(z_1^{n}+z_2^{n}+z_3^{n})) \\ &=& z_1z_2z_3(z_1^{n}+z_2^{n}+z_3^{n})-(z_1z_2+z_2z_3+z_3z_1)(z_1^{n+1}+z_2^{n+1}+z_3^{n+1}) \\ &=& -((z_2+z_3)z_1^{n+2}+(z_3+z_1)z_2^{n+2}+(z_1+z_2)z_3^{n+2})=S_{n+3}. \\ \end{eqnarray*}
For the second part square $X^3+pX=-q$ \begin{eqnarray*} X^6+2pX^4+p^2X^2-q^2=0 \\ (1+X^2)^3+(2p-3)(1+X^2)^2+(p^2-4p+3)(1+X^2)+(-q^2-p^2+2p-1)=0 \\ (-q^2-p^2+2p-1)\left(\frac{1}{1+X^2}\right)^3+(p^2-4p+3)\left(\frac{1}{1+X^2}\right)^2 \\+(-q^2-p^2+2p-1)\left(\frac{1}{1+X^2}\right)+1=0 \\ \end{eqnarray*} So \begin{eqnarray*} \frac{1}{1+x_1^2} +\frac{1}{1+x_2^2} +\frac{1}{1+x_3^2}= \frac{p^2-4p+3}{q^2+(p-1)^2}. \end{eqnarray*}