login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045369 Primes congruent to {0, 1, 2, 4, 6} mod 7. 1

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

%S 2,7,11,13,23,29,37,41,43,53,67,71,79,83,97,107,109,113,127,137,139,

%T 149,151,163,167,179,181,191,193,197,211,223,233,239,251,263,277,281,

%U 293,307,317,331,337,347,349,359

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

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

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

%o (Magma) [p: p in PrimesUpTo(800) | p mod 7 in [0, 1, 2, 4, 6]]; // _Vincenzo Librandi_, Aug 10 2012

%Y Cf. A045416 (complement).

%K nonn,easy

%O 1,1

%A _N. J. A. Sloane_

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 24 20:08 EDT 2024. Contains 371963 sequences. (Running on oeis4.)