login
Primes congruent to {2, 3, 5} (mod 8).
6

%I #16 Jun 26 2022 23:16:26

%S 2,3,5,11,13,19,29,37,43,53,59,61,67,83,101,107,109,131,139,149,157,

%T 163,173,179,181,197,211,227,229,251,269,277,283,293,307,317,331,347,

%U 349,373,379,389,397,419,421,443

%N Primes congruent to {2, 3, 5} (mod 8).

%C Apart from the initial term the same as A003629. - _R. J. Mathar_, May 23 2008

%H Ray Chandler, <a href="/A042999/b042999.txt">Table of n, a(n) for n = 1..10000</a> (first 1000 terms Vincenzo Librandi)

%t Select[Prime[Range[300]],MemberQ[{2,3,5},Mod[#,8]]&] (* _Vincenzo Librandi_, Aug 08 2012 *)

%o (Magma) [p: p in PrimesUpTo(500) | p mod 8 in [2, 3, 5]]; // _Vincenzo Librandi_, Aug 08 2012

%Y Cf. A001132 (complement).

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_