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.

A045355 Primes congruent to {2, 5, 7} mod 8.

Original entry on oeis.org

2, 5, 7, 13, 23, 29, 31, 37, 47, 53, 61, 71, 79, 101, 103, 109, 127, 149, 151, 157, 167, 173, 181, 191, 197, 199, 223, 229, 239, 263, 269, 271, 277, 293, 311, 317, 349, 359, 367, 373, 383, 389, 397, 421, 431, 439
Offset: 1

Views

Author

Keywords

Comments

Inert rational primes in the field Q(sqrt(-2)). - Eyal Gruss, Nov 30 2022

Crossrefs

Cf. A000040.

Programs

  • Magma
    [ p: p in PrimesUpTo(1000) | p mod 8 in {2, 5, 7} ]; // Vincenzo Librandi, Aug 07 2012
  • Mathematica
    Select[Prime[Range[800]],MemberQ[{2,5, 7},Mod[#,8]]&] (* Vincenzo Librandi, Aug 07 2012 *)

Formula

{2} UNION A003628. - R. J. Mathar, Sep 19 2012