login
Primes congruent to 42 mod 59.
1

%I #9 Sep 08 2022 08:45:37

%S 101,337,691,809,1163,1399,1753,1871,2579,3169,3877,4231,4349,4703,

%T 5647,6473,6709,6827,7417,8243,8597,8951,9187,10957,11311,11783,12373,

%U 12491,13553,13789,13907,14143,14851,14969,15559,15913,16267,17093,17683,19571

%N Primes congruent to 42 mod 59.

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

%t Select[Prime[Range[2400]], MemberQ[{42}, Mod[#, 59]] &] (* _Vincenzo Librandi_, Sep 04 2012 *)

%t Select[Range[42,20000,59],PrimeQ] (* _Harvey P. Dale_, Nov 06 2014 *)

%o (Magma) [p: p in PrimesUpTo(20000) | p mod 59 eq 42 ]; // _Vincenzo Librandi_, Sep 04 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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