login
Primes p such that 39 is a square mod p.
2

%I #9 Sep 08 2012 01:45:22

%S 2,3,5,7,13,19,23,31,41,61,67,89,107,131,137,149,151,157,163,179,181,

%T 191,197,223,251,263,271,277,281,293,307,311,313,317,331,337,347,353,

%U 373,379,401,419,433,443,449,461

%N Primes p such that 39 is a square mod p.

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

%t Select[Prime[Range[100]], JacobiSymbol[39, #] != -1 &] (* _Vincenzo Librandi_, Sep 07 2012 *)

%K nonn

%O 1,1

%A _N. J. A. Sloane_.