login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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

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

%S 3,7,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 {0, 1, 3, 6} mod 7.

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

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_