$\textbf{Problem:}$Let $p$ be a prime number of the form $9k + 1$. Show that there exists an integer n such that $p | n^3 - 3n + 1$.
$\textbf{Source:}$Here
My only idea was that $n^3-3n+1$ might form a complete residue modulo such primes. So, I tried it out for $19$ and it turned out to be wrong. After that I could not find anything useful so I read the solution. But I don't understand it. Any elaboration on the solution given in the provided link or any new solution both are appreciated. Thanks in advance