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!)
A042989 Primes congruent to {0, 2, 3, 4, 5} mod 7. 6

%I #9 Jun 26 2022 23:13:19

%S 2,3,5,7,11,17,19,23,31,37,47,53,59,61,67,73,79,89,101,103,107,109,

%T 131,137,149,151,157,163,173,179,191,193,199,227,229,233,241,257,263,

%U 269,271,277,283,311,313,317,331

%N Primes congruent to {0, 2, 3, 4, 5} mod 7.

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

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

%o (Magma) [p: p in PrimesUpTo(500) | p mod 7 in [0, 2, 3, 4, 5]]; // _Vincenzo Librandi_, Aug 09 2012

%Y Cf. A000040.

%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 10:00 EDT 2024. Contains 371935 sequences. (Running on oeis4.)