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.

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

Original entry on oeis.org

1, 2, 3, 4, 5, 27
Offset: 1

Views

Author

Farideh Firoozbakht, Jul 13 2003

Keywords

Comments

a(7) > 10600. - Michael S. Branicky, Mar 21 2023

Crossrefs

Programs

  • Mathematica
    Do[If[PrimeQ[n^(n+1)+(n+1)^n+n(n+1)], Print[n]], {n, 0, 1000}]
    Select[Range[30],PrimeQ[#^(#+1)+(#+1)^#+#(#+1)]&] (* Harvey P. Dale, May 28 2016 *)
  • PARI
    is(n)=ispseudoprime(n^(n+1)+(n+1)^n+n*(n+1)) \\ Charles R Greathouse IV, Jun 13 2017