Every root of $−1$ quadratic residue modulo $p$ prime, $p=1(\mod4)$ is distinct.
Running tests it appears that some values are never root of $−1$ quadratic residue modulo $p$.
For exemple : $7, 18, 21, 38, 41$ etc.
Is there a way to "predict" which number will never be a root ?
Best regards.
The question seems to be:
This is the same as
The sequence of such $n$ is listed at OEIS as A256011. Nothing much seems to be known about it.