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

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

%S 5,11,31,41,43,61,71,79,83,89,97,101,103,113,127,131,139,149,151,157,

%T 163,167,193,197,223,229,241,251,257,277,281,283,337,347,349,383,389,

%U 397,401,409,419,431,433,439,443,449,461,467,487,491,499,521,541,557

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

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

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

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

%o (Magma) [p: p in PrimesUpTo(557) | KroneckerSymbol(p, 38) 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