login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Primes congruent to 31 mod 59.
1

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

%S 31,149,503,739,857,1093,1447,1801,2273,3217,3571,4397,4751,4987,5813,

%T 6521,7229,7583,7937,8291,8527,8999,10061,10651,11831,12421,12539,

%U 12893,15017,15607,16433,16787,17377,18439,18793,18911,19501,19973,20327,20563,20681

%N Primes congruent to 31 mod 59.

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

%t Select[Prime[Range[2500]], MemberQ[{31}, Mod[#, 59]] &] (* _Vincenzo Librandi_, Sep 03 2012 *)

%t Select[Range[31,21000,59],PrimeQ] (* _Harvey P. Dale_, May 23 2018 *)

%o (Magma) [p: p in PrimesUpTo(21000) | p mod 59 eq 31 ]; // _Vincenzo Librandi_, Sep 03 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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