login

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

Primes congruent to 8 mod 57.
2

%I #9 Nov 23 2023 14:08:11

%S 179,293,521,863,977,1091,1319,1433,1889,2003,2459,2687,2801,3257,

%T 3371,4283,4397,4967,5081,5309,5651,5879,6221,6449,6563,6791,7019,

%U 7247,7589,7703,7817,8273,8387,8501,9413,10211,10667,10781,11351,11579,11807,12149

%N Primes congruent to 8 mod 57.

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

%t Select[Prime[Range[2300]], MemberQ[{8}, Mod[#, 57]] &] (* _Vincenzo Librandi_, Sep 01 2012 *)

%t Select[Range[8,12500,57],PrimeQ] (* _Harvey P. Dale_, Nov 23 2023 *)

%o (Magma) [p: p in PrimesUpTo(13000) | p mod 57 eq 8 ]; // _Vincenzo Librandi_, Sep 01 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

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