OFFSET
1,1
COMMENTS
For any prime modulus, there must be exactly 0, 1 or 5 solutions to the equation with x between 0 and p - 1.
Primes == 1 (mod 5) such that 2 is a quintic residue, that is, primes p such that 2^((p-1)/5) == 1 (mod p). - Jianing Song, Jan 27 2019
PROG
(PARI) forstep(p=11, 5000, 10, if(isprime(p)&&Mod(2, p)^((p-1)/5)==1, print1(p, ", "))) \\ Jianing Song, Jan 27 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
Don Reble, Sep 20 2001
STATUS
approved