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

%I #15 Mar 03 2014 15:35:25

%S 2,5,3011,45943

%N Primes of the form n^n-n!+n+1.

%C The next terms are too large to be displayed:

%C a(5)= 1158^1158-1158!+1158+1 (n=1158), which has 3548 digits.

%C a(6)= 14115^14115-14115!+14115+1 (n=14115), which has 58573 digits.

%C No other term has been found for n<30000.

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

%K hard,nonn

%O 1,1

%A _Marco RipĂ _, Mar 11 2011

%E a(5) and a(6) found by _Matevz Markovic_, Mar 03 2014

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 April 19 10:56 EDT 2024. Contains 371791 sequences. (Running on oeis4.)