login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A042991 Primes congruent to {0, 2, 3, 4} mod 5. 7
2, 3, 5, 7, 13, 17, 19, 23, 29, 37, 43, 47, 53, 59, 67, 73, 79, 83, 89, 97, 103, 107, 109, 113, 127, 137, 139, 149, 157, 163, 167, 173, 179, 193, 197, 199, 223, 227, 229, 233, 239, 257, 263, 269, 277, 283, 293, 307 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Complement of A030430 relative to A000040. [Bruno Berselli, Jan 26 2016]

LINKS

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

MATHEMATICA

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

PROG

(MAGMA) [p: p in PrimesUpTo(500) | p mod 5 in [0, 2, 3, 4]]; // Vincenzo Librandi, Aug 09 2012

CROSSREFS

Cf. A000040, A030430.

Has same beginning as A040159 but is strictly different.

Sequence in context: A040171 A040974 A049557 * A162338 A052015 A042992

Adjacent sequences:  A042988 A042989 A042990 * A042992 A042993 A042994

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 September 25 00:02 EDT 2020. Contains 337333 sequences. (Running on oeis4.)