How to find cubic residues $\bmod p$ using WolframAlpha?
Just type in "quadratic residues modulo p" and you're done, but typing in "cubic residues modulo p" does nothing.
Logically, "x^3 modulo p" should work, but it doesn't. Neither does "x^3 modulo p, x=0..42".
Replace $p$ and $p-1$ in this query by the appropriate values:
This will give a multiset (couting how many elements a particular element is a cube of), but it will list all and work within the computation time limit.
Breakdown:
The Mathematica function
DeleteDuplicatescan be applied if desired.For $p=1009$ we get
Deleting the duplicates gives the list