login
Primes p that have Kronecker symbol (p|39) = -1.
2

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

%S 7,17,19,23,29,31,37,53,67,73,97,101,107,109,113,131,151,163,173,179,

%T 191,193,223,229,233,241,251,257,263,269,271,307,311,331,347,349,379,

%U 389,397,409,419,421,443,457,463,467,487,491,499,503,521,541,563,569

%N Primes p that have Kronecker symbol (p|39) = -1.

%C Originally erroneously named "Primes that are not squares mod 39", which contains this as a subsequence. - _M. F. Hasler_, Jan 18 2016

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

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

%o (Magma) [p: p in PrimesUpTo(569) | KroneckerSymbol(p, 39) eq -1]; // _Bruno Berselli_, Sep 11 2012

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 25 2011

%E Definition corrected, following a suggestion from _David Broadhurst_, by _M. F. Hasler_, Jan 18 2016