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

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

%S 11,17,19,23,29,31,37,41,53,61,67,83,109,113,131,137,149,151,157,163,

%T 167,173,179,193,197,223,229,233,239,263,283,293,347,349,353,367,373,

%U 383,401,409,431,439,449,461,467

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

%C Also, only entries p=1 (mod 4) of the sequence are not squares mod 79 (from the quadratic reciprocity law). - _Lekraj Beedassy_, Jul 21 2004

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

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

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

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_.