cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A042991 Primes congruent to {0, 2, 3, 4} (mod 5).

Original entry on oeis.org

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
Offset: 1

Views

Author

Keywords

Comments

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

Crossrefs

Has same beginning as A040159 but is strictly different.

Programs

  • Magma
    [p: p in PrimesUpTo(500) | p mod 5 in [0,2,3,4]]; // Vincenzo Librandi, Aug 09 2012
  • Mathematica
    Select[Prime[Range[200]],MemberQ[{0,2,3,4},Mod[#,5]]&] (* Vincenzo Librandi, Aug 09 2012 *)