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.

A086877 Primes of the form (k+1)^k - k^k.

Original entry on oeis.org

5, 37, 4651, 1273609
Offset: 1

Views

Author

Cino Hilliard, Aug 21 2003

Keywords

Crossrefs

The values of k are in A098463.
Primes in A055869.
Cf. A085682.

Programs

  • PARI
    f(n) = for(x=1,n,y=(x+1)^x-x^x; if(isprime(y),print1(y, ", ")))

Formula

a(n) = A055869(A098463(n)). - Elmo R. Oliveira, Feb 19 2025