A038893 Odd primes p such that 21 is a square mod p.
3, 5, 7, 17, 37, 41, 43, 47, 59, 67, 79, 83, 89, 101, 109, 127, 131, 151, 163, 167, 173, 193, 211, 227, 251, 257, 269, 277, 293, 311, 331, 337, 353, 373, 379, 383, 419, 421, 457, 461, 463, 467, 479, 487, 499, 503
Offset: 1
Keywords
Links
- Vincenzo Librandi, Table of n, a(n) for n = 1..1000
Programs
-
Mathematica
Select[Prime[Range[100]], JacobiSymbol[21, #] != -1 &] (* Vincenzo Librandi, Sep 07 2012 *)
-
PARI
isok(p) = (p>2) && isprime(p) && issquare(Mod(21, p)); \\ Michel Marcus, Jun 19 2019
Extensions
Name clarified by Michel Marcus, Jun 22 2019
Comments