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

%I #19 Jun 26 2022 23:16:47

%S 2,3,5,7,13,17,19,23,31,37,41,47,59,61,73,79,83,89,97,101,103,107,131,

%T 139,149,157,163,167,173,181,191,199,223,227,229,233,241,251,257,269,

%U 271,283,293,307,311,313,317,331,349,353,359,367,373,383,397,401

%N Primes congruent to {0, 2, 3, 5, 6} (mod 7).

%H Vincenzo Librandi, <a href="/A042992/b042992.txt">Table of n, a(n) for n = 1..6000</a>

%t Select[Prime[Range[120]], MemberQ[{0, 2, 3, 5, 6}, Mod[#, 7]] &] (* _Vladimir Joseph Stephan Orlovsky_, Feb 18 2012 *)

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

%Y Cf. A000040, A045469 (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 19 10:38 EDT 2024. Contains 371791 sequences. (Running on oeis4.)