login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Primes p with Kronecker symbol (p|38) = 1.
14

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

%S 3,7,13,17,23,29,37,47,53,59,67,73,107,109,137,173,179,181,191,199,

%T 211,227,233,239,263,269,271,293,307,311,313,317,331,353,359,367,373,

%U 379,421,457,463,479,503,509,523,547,563,577,593,617,631,647,659,661

%N Primes p with Kronecker symbol (p|38) = 1.

%C Originally incorrectly named "primes which are squares (mod 38)", which is sequence A106863. - _M. F. Hasler_, Jan 15 2016

%H Vincenzo Librandi, <a href="/A191028/b191028.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(661) | KroneckerSymbol(p, 38) eq 1]; // _Vincenzo Librandi_, Sep 11 2012

%o (PARI) is(p)=kronecker(p, 38)==1&&isprime(p) \\ _M. F. Hasler_, Jan 15 2016

%Y Cf. A191017, A191018, A191020, A191023, A191025, A191026.

%K nonn,easy

%O 1,1

%A _T. D. Noe_, May 24 2011

%E Definition corrected (following an observation by _David Broadhurst_) by _M. F. Hasler_, Jan 15 2016