login
Primes p such that 94 is not a square mod p.
1

%I #9 Sep 08 2022 08:44:53

%S 7,11,19,37,41,43,53,61,67,71,73,79,101,103,107,113,137,139,149,157,

%T 163,173,179,191,193,197,211,227,233,239,257,263,269,271,277,281,313,

%U 383,397,409,419,431,433,439,443

%N Primes p such that 94 is not a square mod p.

%H Vincenzo Librandi, <a href="/A038984/b038984.txt">Table of n, a(n) for n = 1..1000</a>

%t Select[Prime[Range[120]], JacobiSymbol[94, #]==-1 &] (* _Vincenzo Librandi_, Sep 10 2012 *)

%o (Magma) [p: p in PrimesUpTo(443) | not IsSquare(R! 94) where R:= ResidueClassRing(p)]; // _Vincenzo Librandi_, Sep 10 2012

%o (Magma) [p: p in PrimesInInterval(3,443) | JacobiSymbol(94,p) eq -1]; // _Bruno Berselli_, 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