I'm trying to learn more about modular arithmetic by practicing some problems, but I'm having some difficulty with this one.
For which primes p will there be a solution to $x^3 + 1 ≡ (\mod p)$ other than $x ≡ - 1 (\mod p)$?
I'm given a hint that there must be primitive roots mod p, and if a is a primitive root mod p we know the smallest positive integer $k$ for which $a^k ≡ -1 (\mod p)$. But I'm not sure how that helps me find a solution other than $x = -1 (\mod p)$.
Could anyone help me with this problem?
Thanks!
Hint: Try with $p = 7$ and $p = 5$ (both happen to have $3$ as primitive root, which you should check to be sure), find the order of the primitive root in each case. Use that order to see what powers of $3$ solves the equation.
Looking at your results after trying the above, what exactly is it with $p = 7$ that allows multiple solutions, while $p = 5$ fails to have them? Now generalize.