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.

A045399 Primes congruent to {0, 3, 5, 6} mod 7.

Original entry on oeis.org

3, 5, 7, 13, 17, 19, 31, 41, 47, 59, 61, 73, 83, 89, 97, 101, 103, 131, 139, 157, 167, 173, 181, 199, 223, 227, 229, 241, 251, 257, 269, 271, 283, 293, 307, 311, 313, 349, 353, 367, 383, 397, 409, 419, 433, 439
Offset: 1

Views

Author

Keywords

Comments

Primes p such that A140686(p) = 0. - Michael Somos, Feb 12 2011
Primes (along with 2) which cannot be written in the form a^2 + 7*b^2, where a > 0, b > 0. - V. Raman, Sep 08 2012

Crossrefs

Cf. A000040.

Programs

  • Magma
    [ p: p in PrimesUpTo(600) | p mod 7 in {0, 3, 5, 6} ]; // Vincenzo Librandi, Aug 12 2012
  • Mathematica
    Select[Prime[Range[300]],MemberQ[{0,3,5,6},Mod[#,7]]&] (* Vincenzo Librandi, Aug 12 2012 *)