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.

A364698 Numbers k such that k! + k^2 + k - 1 is prime.

Original entry on oeis.org

1, 2, 3, 4, 5, 6, 9, 11, 13, 1045
Offset: 1

Views

Author

Saish S. Kambali, Aug 03 2023

Keywords

Comments

a(11) > 10^4, if it exists. - Amiram Eldar, Aug 05 2023
a(11) > 2*10^4, if it exists. - Michael S. Branicky, Jul 05 2024

Examples

			For k = 2, 2! + 2^2 + 2 - 1 = 7 is a prime.
		

Crossrefs

Programs

  • Mathematica
    Select[Range[1100], PrimeQ[#! + #^2 + # - 1] &] (* Amiram Eldar, Aug 03 2023 *)
  • PARI
    for (k=1,10^3,if(ispseudoprime(k! + k^2 + k - 1),print1(k,", ")))

Extensions

a(10) from Amiram Eldar, Aug 03 2023