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.

A045378 Primes congruent to {2, 4} mod 5.

Original entry on oeis.org

2, 7, 17, 19, 29, 37, 47, 59, 67, 79, 89, 97, 107, 109, 127, 137, 139, 149, 157, 167, 179, 197, 199, 227, 229, 239, 257, 269, 277, 307, 317, 337, 347, 349, 359, 367, 379, 389, 397, 409, 419, 439, 449, 457, 467
Offset: 1

Views

Author

Keywords

Crossrefs

Cf. A000040.

Programs

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