login
Primes congruent to 19 mod 32.
3

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

%S 19,83,179,211,307,467,499,563,659,691,787,883,947,1171,1427,1459,

%T 1523,1619,1747,1811,1907,2003,2099,2131,2579,2707,2803,2963,3187,

%U 3251,3347,3539,3571,3923,4019,4051,4211,4243,4339,4691,4723,4787,5011,5107,5171

%N Primes congruent to 19 mod 32.

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

%F a(n) ~ 16n log n. - _Charles R Greathouse IV_, Jul 02 2016

%t Select[Range[19,20000,32],PrimeQ] (* _Vladimir Joseph Stephan Orlovsky_, May 02 2011 *)

%t Select[Prime[Range[700]], MemberQ[{19}, Mod[#, 32]] &] (* _Vincenzo Librandi_, Aug 18 2012 *)

%o (Magma) [p: p in PrimesUpTo(6000) | p mod 32 eq 19 ]; // _Vincenzo Librandi_, Aug 18 2012

%o (PARI) is(n)=isprime(n) && n%32==19 \\ _Charles R Greathouse IV_, Jul 02 2016

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_, Jul 11 2008