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.

A187605 Primes of the form k^k + k - 1.

Original entry on oeis.org

5, 29, 1978419655660313589123997, 205891132094649000000000000000000000000000029
Offset: 1

Views

Author

Marco RipĂ , Mar 11 2011

Keywords

Comments

See A058912 for numbers k such that k^k + k - 1 is prime. Subsequence of A231712 (numbers n^n + n - 1). - Jaroslav Krizek, Nov 13 2013
The next prime has 1460 digits. - Jinyuan Wang, Mar 01 2020

Crossrefs

Programs

  • Mathematica
    Do[p=n^n+n-1; If[PrimeQ[p], Print[p]], {n, 100}]
  • PARI
    lista(nn) = for(k=1, nn, if(ispseudoprime(q=k^k+k-1), print1(q, ", "))); \\ Jinyuan Wang, Mar 01 2020