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.

A089747 Numbers n such that n^2 - 2n + 5 is prime.

Original entry on oeis.org

0, 2, 4, 6, 8, 14, 16, 18, 28, 34, 36, 38, 46, 48, 58, 66, 68, 74, 86, 88, 96, 98, 104, 116, 118, 126, 136, 138, 148, 156, 164, 168, 178, 184, 194, 204, 208, 216, 218, 234, 236, 244, 246, 254, 256, 266, 268, 276, 278, 288, 294, 304, 308, 314, 318, 348, 358, 374
Offset: 1

Views

Author

Giovanni Teofilatto, Jan 08 2004

Keywords

References

  • M. Cerasoli, F. Eugeni and M. Protasi, Elementi di Matematica Discreta, Bologna, 1988.
  • Emanuele Munarini and Norma Zagaglia Salvi, Matematica Discreta, UTET, CittaStudiEdizioni, Milano, 1997.

Crossrefs

Cf. A005473 gives primes, A007591.

Programs

Formula

a(n) = A007591(n-1) + 1 for n > 1. [corrected by Georg Fischer, Jun 20 2020]