%I #10 Sep 08 2022 08:44:53
%S 5,7,13,17,19,23,29,37,41,59,67,71,83,107,127,131,137,139,149,157,173,
%T 179,181,199,211,223,233,239,251,257,263,271,277,281,311,317,331,337,
%U 347,349,359,367,373,383,401,409
%N Primes p such that 97 is not a square mod p.
%C Also, primes p that are not squares mod 97 (from the quadratic reciprocity law). - _Lekraj Beedassy_, Jul 13 2004
%H Vincenzo Librandi, <a href="/A038988/b038988.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[120]], JacobiSymbol[97, #]==-1 &] (* _Vincenzo Librandi_, Sep 10 2012 *)
%o (Magma) [p: p in PrimesUpTo(409) | not IsSquare(R! 97) 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