%I #13 Sep 08 2022 08:44:56
%S 3,5,11,17,19,29,31,43,47,53,59,61,67,71,73,89,101,103,109,113,127,
%T 131,137,151,157,173,179,193,197,199,211,227,229,239,241,257,263,269,
%U 271,277,281,283,311,313,337,347
%N Primes congruent to {1, 3, 4, 5} mod 7.
%H Vincenzo Librandi, <a href="/A045408/b045408.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[70]],MemberQ[{1,3,4,5},Mod[#,7]]&] (* _Harvey P. Dale_, Feb 18 2011 *)
%o (Magma)[ p: p in PrimesUpTo(500) | p mod 7 in {1, 3, 4, 5} ]; // _Vincenzo Librandi_, Aug 12 2012
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_