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.

A058697 P(p(n)), P = primes (A000040), p = partition numbers (A000041).

Original entry on oeis.org

2, 2, 3, 5, 11, 17, 31, 47, 79, 113, 181, 263, 389, 547, 761, 1049, 1453, 1951, 2659, 3511, 4643, 6073, 7933, 10243, 13249, 16981, 21713, 27551, 34841, 43853, 55147, 68863, 85819, 106397, 131779, 162473, 199889, 245039, 300233, 365513
Offset: 0

Views

Author

N. J. A. Sloane, Dec 31 2000

Keywords

Comments

Prime number whose index is the n-th partition number. - Omar E. Pol, Aug 05 2011

Crossrefs

Cf. A058698.

Programs

  • Mathematica
    Prime[PartitionsP[Range[0,40]]] (* Harvey P. Dale, Sep 21 2014 *)
  • PARI
    a(n)={prime(numbpart(n))} \\ Andrew Howroyd, Dec 28 2017

Formula

a(n) = A000040(A000041(n)). - Omar E. Pol, Aug 05 2011