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

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

%S 5,7,17,37,43,47,59,61,71,79,83,89,97,107,131,137,139,151,163,167,173,

%T 191,193,197,199,233,239,251,257,263,269,277,281,283,307,311,313,349,

%U 373,379,383,389,419,439,443,457

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

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

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

%o (Magma) [ p: p in PrimesUpTo(457) | not IsSquare(R! 82) 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 09 2012