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 {1, 4, 6} mod 7.
1

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

%S 11,13,29,41,43,53,67,71,83,97,109,113,127,137,139,151,167,179,181,

%T 193,197,211,223,239,251,263,277,281,293,307,337,347,349,379,389,419,

%U 421,431,433,449,461,463,487,491

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

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

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

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

%Y Cf. A000040.

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_