login
Primes that are not squares mod 31.
1

%I #8 Sep 08 2022 08:45:57

%S 3,11,13,17,23,29,37,43,53,61,73,79,83,89,127,137,139,151,167,179,181,

%T 197,199,223,229,239,241,251,263,269,271,277,313,331,337,347,353,367,

%U 383,389,401,409,433,449,457,461,463,487,491,499,509,523,557,569,571

%N Primes that are not squares mod 31.

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

%t Select[Prime[Range[200]], JacobiSymbol[#,31]==-1&]

%o (Magma) [p: p in PrimesUpTo(571) | JacobiSymbol(p, 31) eq -1]; // _Vincenzo Librandi_, Sep 11 2012

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 25 2011