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.

Showing 1-1 of 1 results.

A089678 Numbers n such that n^n + n! + n^2 + 1 is prime.

Original entry on oeis.org

2, 3, 5, 1608
Offset: 1

Views

Author

Farideh Firoozbakht, Jan 06 2004

Keywords

Comments

The prime corresponding to a(4) is a 5156-digit prime.

Crossrefs

Programs

  • Mathematica
    v={};Do[If[PrimeQ[n^n + n! + n*n + n/n], v=Append[v, n];Print[v]], {n, 3250}]
  • PARI
    is(n)=ispseudoprime(n^n+n!+n^2+1) \\ Charles R Greathouse IV, Jun 13 2017
Showing 1-1 of 1 results.