Problem

Source:

Tags: LaTeX, modular arithmetic, number theory unsolved, number theory, legendre s theorem



$a_{1}=5$ and $a_{n+1}=a_{n}^{3}-2a_{n}^{2}+2$ for all $n\geq1$. $p$ is a prime such that $p=3(mod 4)$ and $p|a_{2011}+1$. Show that $p=3$.