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!)
A045414 Primes congruent to {0, 3} mod 5. 4
3, 5, 13, 23, 43, 53, 73, 83, 103, 113, 163, 173, 193, 223, 233, 263, 283, 293, 313, 353, 373, 383, 433, 443, 463, 503, 523, 563, 593, 613, 643, 653, 673, 683, 733, 743, 773, 823, 853, 863, 883, 953, 983, 1013, 1033, 1063, 1093, 1103, 1123, 1153, 1163, 1193 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
Because 5 is the only prime congruent to zero mod 5, it is far more efficient to insert 5 and search only for primes congruent to 3 mod 5. - Harvey P. Dale, Jun 24 2017
LINKS
MATHEMATICA
Select[Prime@Range[200], MemberQ[{0, 3}, Mod[ #, 5]] &] (* Ray Chandler, Nov 07 2006 *)
Insert[Select[Prime[Range[200]], Mod[#, 5]==3&], 5, 2] (* See comment above *) (* Harvey P. Dale, Jun 24 2017 *)
PROG
(Magma) [ p: p in PrimesUpTo(1200) | p mod 5 in {0, 3} ]; // Vincenzo Librandi, Aug 12 2012
CROSSREFS
Same as A030431 with addition of primes congruent to 0 mod 5, i.e., 5.
Cf. A000040.
Sequence in context: A104222 A309703 A240070 * A089067 A339888 A026733
KEYWORD
nonn,easy
AUTHOR
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 April 23 10:13 EDT 2024. Contains 371905 sequences. (Running on oeis4.)