%I #7 Sep 08 2022 08:44:53
%S 5,7,11,37,47,53,61,67,73,97,103,131,139,149,151,157,173,191,193,197,
%T 199,223,229,233,251,257,263,281,283,311,337,353,359,401,409,421,433,
%U 439,443,463,467,479,487,491,499
%N Primes p such that 87 is not a square mod p.
%H Vincenzo Librandi, <a href="/A038976/b038976.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[120]], JacobiSymbol[87, #]==-1 &] (* _Vincenzo Librandi_, Sep 10 2012 *)
%o (Magma) [ p: p in PrimesUpTo(499) | not IsSquare(R! 87) where R:= ResidueClassRing(p) ]; // _Vincenzo Librandi_, Sep 10 2012
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_.
%E Offset changed from 0 to 1 by _Vincenzo Librandi_, Sep 10 2012