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.

A182047 Smallest prime > n*(n+1).

Original entry on oeis.org

2, 3, 7, 13, 23, 31, 43, 59, 73, 97, 113, 137, 157, 191, 211, 241, 277, 307, 347, 383, 421, 463, 509, 557, 601, 653, 709, 757, 821, 877, 937, 997, 1061, 1123, 1193, 1277, 1361, 1409, 1483, 1567, 1657, 1723, 1811, 1901, 1987, 2081, 2179, 2267, 2357, 2459, 2551
Offset: 0

Views

Author

Gerasimov Sergey, Apr 08 2012

Keywords

Crossrefs

Programs

  • Mathematica
    NextPrime[Table[n(n+1), {n, 0, 60}]]
  • PARI
    a(n)=nextprime(n^2+n+1) \\ Charles R Greathouse IV, Aug 03 2012

Formula

a(n) = A151800(A002378(n)). - Amiram Eldar, Sep 06 2020

Extensions

Offset corrected by Zak Seidov, May 05 2014