login
Primes congruent to {0, 1, 2, 3, 6} (mod 7).
1

%I #10 Jun 26 2022 23:53:30

%S 2,3,7,13,17,23,29,31,37,41,43,59,71,73,79,83,97,101,107,113,127,139,

%T 149,157,163,167,181,191,197,199,211,223,227,233,239,241,251,269,281,

%U 283,293,307,311,317,331,337,349

%N Primes congruent to {0, 1, 2, 3, 6} (mod 7).

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

%t Select[Prime[Range[200]],MemberQ[{0,1,2,3,6},Mod[#,7]]&] (* _Vincenzo Librandi_, Aug 08 2012 *)

%o (Magma) [p: p in PrimesUpTo(600) | p mod 7 in [0, 1, 2, 3, 6]]; // _Vincenzo Librandi, Aug 08 2012

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_