login
Primes congruent to {0, 2, 5} mod 7.
1

%I #10 Sep 08 2022 08:44:55

%S 2,5,7,19,23,37,47,61,79,89,103,107,131,149,163,173,191,229,233,257,

%T 271,313,317,331,359,373,383,397,401,439,443,457,467,499,509,523,541,

%U 569,593,607,653,677,691,709,719

%N Primes congruent to {0, 2, 5} mod 7.

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

%t Select[Prime[Range[600]],MemberQ[{0, 2, 5},Mod[#,7]]&] (* _Vincenzo Librandi_, Aug 07 2012 *)

%o (Magma) [ p: p in PrimesUpTo(1000) | p mod 7 in {0, 2, 5} ]; // _Vincenzo Librandi_ Aug 07 2012

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_