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!)
A045371 Primes congruent to {1, 2, 4} mod 5. 4

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

%S 2,7,11,17,19,29,31,37,41,47,59,61,67,71,79,89,97,101,107,109,127,131,

%T 137,139,149,151,157,167,179,181,191,197,199,211,227,229,239,241,251,

%U 257,269,271,277,281,307,311,317

%N Primes congruent to {1, 2, 4} mod 5.

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

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

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

%Y Cf. A045414 (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 March 29 05:16 EDT 2024. Contains 371264 sequences. (Running on oeis4.)