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!)
A045457 Primes congruent to {0, 4} mod 5. 2
5, 19, 29, 59, 79, 89, 109, 139, 149, 179, 199, 229, 239, 269, 349, 359, 379, 389, 409, 419, 439, 449, 479, 499, 509, 569, 599, 619, 659, 709, 719, 739, 769, 809, 829, 839, 859, 919, 929, 1009, 1019, 1039, 1049, 1069, 1109, 1129, 1229, 1249, 1259, 1279 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,1

COMMENTS

Being a subset of A141158, this is also a subset of the primes of form x^2 - 5*y^2. - Tito Piezas III, Dec 28 2008

Apparently primes p such that 5 | tau(p), where Ramanujan's tau is A000594. - Charles R Greathouse IV, Jul 08 2013

LINKS

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

MATHEMATICA

Select[Prime@Range[210], MemberQ[{0, 4}, Mod[ #, 5]] &] (* Ray Chandler, Nov 07 2006 *)

PROG

(Magma) [ p: p in PrimesUpTo(1300) | p mod 5 in {0, 4} ]; // Vincenzo Librandi, Aug 13 2012

(PARI) is(n)=n==5 || (n%5==4 && isprime(n)) \\ Charles R Greathouse IV, Jul 08 2013

CROSSREFS

Same as A030433 prefixed with 5.

Cf. A000040.

Sequence in context: A115167 A115103 A241043 * A165557 A138242 A163076

Adjacent sequences:  A045454 A045455 A045456 * A045458 A045459 A045460

KEYWORD

nonn,easy

AUTHOR

N. J. A. Sloane

EXTENSIONS

Extended by Ray Chandler, Nov 07 2006

STATUS

approved

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 September 24 16:41 EDT 2022. Contains 356943 sequences. (Running on oeis4.)