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.

A045349 Primes congruent to {0, 1, 2} mod 5.

Original entry on oeis.org

2, 5, 7, 11, 17, 31, 37, 41, 47, 61, 67, 71, 97, 101, 107, 127, 131, 137, 151, 157, 167, 181, 191, 197, 211, 227, 241, 251, 257, 271, 277, 281, 307, 311, 317, 331, 337, 347, 367, 397, 401, 421, 431, 457, 461, 467
Offset: 1

Views

Author

Keywords

Comments

Beyond the second entry, sequence corresponds to primes ending in 1 or 7. - Lekraj Beedassy, Jan 14 2007

Crossrefs

Cf. A000040.

Programs

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