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.

A084852 Numbers k such that k^(k+1) + (k+1)^k - k(k+1) is prime.

Original entry on oeis.org

2, 5, 6, 7, 8, 9, 14, 37, 81, 143, 302
Offset: 1

Views

Author

Farideh Firoozbakht, Jul 13 2003

Keywords

Comments

a(12) > 15000. - Michael S. Branicky, Aug 09 2024

Crossrefs

Programs

  • Mathematica
    Do[If[PrimeQ[n^(n+1)+(n+1)^n-n(n+1)], Print[n]], {n, 1000}]
  • PARI
    is(n)=ispseudoprime(n^(n+1)+(n+1)^n-n*(n+1)) \\ Charles R Greathouse IV, Jun 12 2017