%I #20 Jun 26 2022 23:53:39
%S 2,3,7,11,17,23,31,37,53,59,67,73,79,101,107,109,137,149,151,157,163,
%T 179,191,193,199,227,233,241,263,269,277,283,311,317,331,347,353,359,
%U 367,373,389,401,409,431,443,457,479,487,499,521,541,557,563,569,571
%N Primes congruent to {0, 2, 3, 4} (mod 7).
%H Vincenzo Librandi, <a href="/A045325/b045325.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[120]],MemberQ[{0,2,3,4},Mod[#,7]]&] (* _Harvey P. Dale_, Mar 15 2011 *)
%o (Magma) [ p: p in PrimesUpTo(600) | p mod 7 in {0, 2, 3, 4} ]; // _Vincenzo Librandi_, Aug 07 2012
%Y Cf. A000040.
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_
%E More terms from _Alvin Hoover Belt_, Apr 27 2009
|