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.

A045391 Primes congruent to {1, 2} mod 7.

Original entry on oeis.org

2, 23, 29, 37, 43, 71, 79, 107, 113, 127, 149, 163, 191, 197, 211, 233, 239, 281, 317, 331, 337, 359, 373, 379, 401, 421, 443, 449, 457, 463, 491, 499, 541, 547, 569, 617, 631, 653, 659, 673, 701, 709, 743, 751
Offset: 1

Views

Author

Keywords

Crossrefs

Programs

  • Magma
    [p: p in PrimesUpTo(1000) | p mod 7 in [1, 2]]; // Vincenzo Librandi, Aug 10 2012
  • Mathematica
    Select[Prime[Range[300]],MemberQ[{1,2},Mod[#,7]]&] (* Vincenzo Librandi, Aug 10 2012 *)
    Select[Flatten[#+{1,2}&/@(7*Range[0,120])],PrimeQ] (* Harvey P. Dale, Sep 15 2019 *)