login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A038976
Primes p such that 87 is not a square mod p.
1
5, 7, 11, 37, 47, 53, 61, 67, 73, 97, 103, 131, 139, 149, 151, 157, 173, 191, 193, 197, 199, 223, 229, 233, 251, 257, 263, 281, 283, 311, 337, 353, 359, 401, 409, 421, 433, 439, 443, 463, 467, 479, 487, 491, 499
OFFSET
1,1
LINKS
MATHEMATICA
Select[Prime[Range[120]], JacobiSymbol[87, #]==-1 &] (* Vincenzo Librandi, Sep 10 2012 *)
PROG
(Magma) [ p: p in PrimesUpTo(499) | not IsSquare(R! 87) where R:= ResidueClassRing(p) ]; // Vincenzo Librandi, Sep 10 2012
CROSSREFS
Sequence in context: A288609 A156559 A018426 * A363673 A106714 A106819
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
Offset changed from 0 to 1 by Vincenzo Librandi, Sep 10 2012
STATUS
approved