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.

A079779 a(n) = smallest prime > n*prime(n).

Original entry on oeis.org

3, 7, 17, 29, 59, 79, 127, 157, 211, 293, 347, 449, 541, 607, 709, 853, 1009, 1103, 1277, 1423, 1543, 1741, 1913, 2137, 2437, 2633, 2789, 2999, 3163, 3391, 3943, 4201, 4523, 4729, 5227, 5437, 5813, 6197, 6521, 6947, 7349, 7603, 8219, 8501, 8867, 9157, 9923
Offset: 1

Views

Author

Amarnath Murthy, Feb 03 2003

Keywords

Comments

a(n) is the smallest prime > A079780(n).

Crossrefs

Programs

  • Maple
    seq(nextprime(n*ithprime(n)),n=1..40);
  • PARI
    for(n=1, 47, print1(nextprime(n*prime(n)+1), ", "))

Formula

a(n) = A151800(A033286(n)). - Michel Marcus, Aug 31 2019

Extensions

More terms from Mark Hudson (mrmarkhudson(AT)hotmail.com) and Klaus Brockhaus, Feb 04 2003