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.

A089623 Numbers n such that n^2 + 2n - 1 is prime.

Original entry on oeis.org

1, 2, 4, 6, 8, 12, 14, 18, 20, 26, 28, 32, 34, 36, 42, 46, 48, 54, 60, 62, 68, 70, 74, 76, 88, 92, 102, 106, 116, 118, 120, 126, 130, 134, 138, 144, 154, 160, 168, 172, 176, 182, 190, 204, 210, 216, 222, 230, 232, 236, 238, 246, 252, 256, 258, 264, 266, 272
Offset: 1

Views

Author

Giovanni Teofilatto, Dec 31 2003

Keywords

Comments

Equivalently, numbers n such that (n+1)^2 - 2 is prime.

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. A088572. See A028871 for the actual primes.

Programs

Formula

a(n) = 2*A088572(n).

Extensions

Corrected (1 prepended and 96 replaced with 92) by Vincenzo Librandi, Dec 17 2010