login
Primes congruent to {1, 3, 6} mod 7.
3

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

%S 3,13,17,29,31,41,43,59,71,73,83,97,101,113,127,139,157,167,181,197,

%T 199,211,223,227,239,241,251,269,281,283,293,307,311,337,349,353,367,

%U 379,409,419,421,433,449,461,463

%N Primes congruent to {1, 3, 6} mod 7.

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

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

%o (Magma) [ p: p in PrimesUpTo(600) | p mod 7 in {1,3,6} ]; // _Vincenzo Librandi_, Aug 13 2012

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_