Problem 6. Find all prime numbers \(\displaystyle p\) for which there exists a unique \(\displaystyle a\in \{1,2,\ldots,p\}\) such that \(\displaystyle a^3-3a+1\) is divisible by \(\displaystyle p\).
Géza Kós, Loránd Eötvös University, Budapest
Hint Solution