login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A045405 Primes congruent to {0, 1, 3, 4} mod 5. 2
3, 5, 11, 13, 19, 23, 29, 31, 41, 43, 53, 59, 61, 71, 73, 79, 83, 89, 101, 103, 109, 113, 131, 139, 149, 151, 163, 173, 179, 181, 191, 193, 199, 211, 223, 229, 233, 239, 241, 251, 263, 269, 271, 281, 283, 293, 311 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Union of A045428 and 5. - Michel Marcus, Sep 14 2015

LINKS

Vincenzo Librandi, Table of n, a(n) for n = 1..1000

MATHEMATICA

Select[Prime[Range[300]], MemberQ[{0, 1, 3, 4}, Mod[#, 5]]&] (* Vincenzo Librandi, Aug 12 2012 *)

PROG

(MAGMA) [ p: p in PrimesUpTo(400) | p mod 5 in {0, 1, 3, 4} ]; // Vincenzo Librandi, Aug 12 2012

(PARI) list(lim)=forprime(p=2, lim, if(p%5!=2, print1(p", "))) \\ Anders Hellström, Sep 14 2015

CROSSREFS

Cf. A000040, A045428.

Sequence in context: A147992 A166089 A136208 * A059311 A023209 A020609

Adjacent sequences:  A045402 A045403 A045404 * A045406 A045407 A045408

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 20 14:01 EDT 2019. Contains 325181 sequences. (Running on oeis4.)