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

%I #20 Jun 26 2022 23:16:50

%S 2,3,5,7,13,17,19,23,29,37,43,47,53,59,67,73,79,83,89,97,103,107,109,

%T 113,127,137,139,149,157,163,167,173,179,193,197,199,223,227,229,233,

%U 239,257,263,269,277,283,293,307

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

%C Complement of A030430 relative to A000040. [_Bruno Berselli_, Jan 26 2016]

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

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

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

%Y Cf. A000040, A030430.

%Y Has same beginning as A040159 but is strictly different.

%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 18:03 EDT 2024. Contains 371962 sequences. (Running on oeis4.)