The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A187604 Primes of the form n^n-n!+n+1. 0
2, 5, 3011, 45943 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
The next terms are too large to be displayed:
a(5)= 1158^1158-1158!+1158+1 (n=1158), which has 3548 digits.
a(6)= 14115^14115-14115!+14115+1 (n=14115), which has 58573 digits.
No other term has been found for n<30000.
LINKS
MATHEMATICA
Do[p=n^n-n!+n+1; If[PrimeQ[p], Print[p]], {n, 200}]
CROSSREFS
Sequence in context: A215436 A082973 A306747 * A082815 A115893 A323338
KEYWORD
hard,nonn
AUTHOR
Marco Ripà, Mar 11 2011
EXTENSIONS
a(5) and a(6) found by Matevz Markovic, Mar 03 2014
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 May 29 00:29 EDT 2024. Contains 372921 sequences. (Running on oeis4.)