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.

This page as a plain text file.
%I A364698 #87 Jul 06 2024 01:30:59
%S A364698 1,2,3,4,5,6,9,11,13,1045
%N A364698 Numbers k such that k! + k^2 + k - 1 is prime.
%C A364698 a(11) > 10^4, if it exists. - _Amiram Eldar_, Aug 05 2023
%C A364698 a(11) > 2*10^4, if it exists. - _Michael S. Branicky_, Jul 05 2024
%e A364698 For k = 2, 2! + 2^2 + 2 - 1 = 7 is a prime.
%t A364698 Select[Range[1100], PrimeQ[#! + #^2 + # - 1] &] (* _Amiram Eldar_, Aug 03 2023 *)
%o A364698 (PARI) for (k=1,10^3,if(ispseudoprime(k! + k^2 + k - 1),print1(k,", ")))
%Y A364698 Cf. A066143, A079649.
%K A364698 nonn,more
%O A364698 1,2
%A A364698 _Saish S. Kambali_, Aug 03 2023
%E A364698 a(10) from _Amiram Eldar_, Aug 03 2023