login
This site is supported by donations to The OEIS Foundation.

 

Logo

Thanks to everyone who made a donation during our annual appeal!
To see the list of donors, or make a donation, see the OEIS Foundation home page.

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

Table of n, a(n) for n=1..4.

MATHEMATICA

Do[p=n^n-n!+n+1; If[PrimeQ[p], Print[p]], {n, 200}]

CROSSREFS

Sequence in context: A079014 A215436 A082973 * A082815 A115893 A323338

Adjacent sequences:  A187601 A187602 A187603 * A187605 A187606 A187607

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 | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified January 16 21:37 EST 2019. Contains 319206 sequences. (Running on oeis4.)