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.

A045372 Primes congruent to {1, 2} mod 5.

Original entry on oeis.org

2, 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

Crossrefs

Cf. A045413 (complement), A045344, A045391.

Programs

  • Magma
    [p: p in PrimesUpTo(600) | p mod 5 in [1, 2]]; // Vincenzo Librandi, Aug 10 2012
  • Mathematica
    Select[Prime[Range[100]],MemberQ[{1,2},Mod[#,5]]&] (* Harvey P. Dale, Jul 27 2012 *)

Extensions

Edited by Charles R Greathouse IV, Mar 25 2010