[go: up one dir, main page]

login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A364698 Numbers k such that k! + k^2 + k - 1 is prime. 0
1, 2, 3, 4, 5, 6, 9, 11, 13, 1045 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,2
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
LINKS
EXAMPLE
For k = 2, 2! + 2^2 + 2 - 1 = 7 is a prime.
MATHEMATICA
Select[Range[1100], PrimeQ[#! + #^2 + # - 1] &] (* Amiram Eldar, Aug 03 2023 *)
PROG
(PARI) for (k=1, 10^3, if(ispseudoprime(k! + k^2 + k - 1), print1(k, ", ")))
CROSSREFS
Sequence in context: A252484 A036023 A119952 * A102571 A251241 A064278
KEYWORD
nonn,more
AUTHOR
Saish S. Kambali, Aug 03 2023
EXTENSIONS
a(10) from Amiram Eldar, Aug 03 2023
STATUS
approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified August 30 00:57 EDT 2024. Contains 375520 sequences. (Running on oeis4.)