%I #9 Jun 26 2022 23:10:23
%S 2,5,7,11,19,23,37,47,53,61,67,79,89,103,107,109,131,137,149,151,163,
%T 173,179,191,193,229,233,257,263,271,277,313,317,331,347,359,373,383,
%U 389,397,401,431,439,443,457,467
%N Primes congruent to {0, 2, 4, 5} mod 7.
%H Vincenzo Librandi, <a href="/A045351/b045351.txt">Table of n, a(n) for n = 1..1000</a>
%t Select[Prime[Range[500]],MemberQ[{0, 2, 4, 5},Mod[#,7]]&] (* _Vincenzo Librandi_, Aug 07 2012 *)
%o (Magma) [ p: p in PrimesUpTo(1000) | p mod 7 in {0, 2, 4, 5} ]; // _Vincenzo Librandi_, Aug 07 2012
%K nonn,easy
%O 1,1
%A _N. J. A. Sloane_